Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error: Cant enable app from Web Gui #45239

Closed
5 of 8 tasks
Not-Zero-Blank opened this issue May 9, 2024 · 3 comments
Closed
5 of 8 tasks

[Bug]: Error: Cant enable app from Web Gui #45239

Not-Zero-Blank opened this issue May 9, 2024 · 3 comments
Labels

Comments

@Not-Zero-Blank
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Im running Debian 12 in a LXC Container
Nextcloud 29.0.0
Php 8.2.18

I cant enable the LDAP App. I Installed the php ldap extension with:
apt install php8.2-ldap
and
apt install php-ldap

the Module is activated in FPM see screenshot below.
when trying to enable the app over occ i get the error:
Error: Could not download app ldap

I also restarted the Server and fpm

I also enabled the extension in the fpm php.ini but after running the occ command it said:
PHP Warning: Module "ldap" is already loaded in Unknown on line 0
Could not download app ldap

image
image

Steps to reproduce

1.Install Nextcloud
2.Install the ldap module
3.Activate Ldap app

Expected behavior

The App should be enabled with no issues

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "10.1.1.8"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.0.19",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "defaultapp": "dashboard,files",
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    }
}

List of activated Apps

Enabled:
  - activity: 2.21.1
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - side_menu: 3.12.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0 (installed 2.8.0)
  - encryption: 2.17.0
  - files_external: 1.21.0
  - suspicious_login: 7.0.0
  - twofactor_totp: 11.0.0-dev
  - user_ldap: 1.20.0 (installed 1.20.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Its empty?

Additional info

No response

@Not-Zero-Blank Not-Zero-Blank added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 9, 2024
@Not-Zero-Blank
Copy link
Author

I did a rollback of my server to the Version 28 I noticed that i cant enable apps from the Gui there too but i can enable apps with OCC. Seems that the upgrade from 27 to 28 destroyed the Instance :/
Im trying to test 29 again...

@Not-Zero-Blank Not-Zero-Blank changed the title [Bug]: Error: Could not download app ldap [Bug]: Error: Cant enable app from Web Gui May 9, 2024
@Not-Zero-Blank
Copy link
Author

I used the Wrong app name...
But i cant enable apps from the Gui.
Using occ app:enable works fine

@kesselb
Copy link
Contributor

kesselb commented May 10, 2024

Hi, please use your brower's developer tools (e.g. https://developer.chrome.com/docs/devtools/network) to inspect the network traffic when you enable/disable an app.

@Not-Zero-Blank Not-Zero-Blank closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants