nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.47k stars 4.08k forks source link

Additional Settings missing after upgrade #20108

Closed Razican closed 3 years ago

Razican commented 4 years ago

It seems that after an upgrade, the "Additional Settings" page is empty, and only shows the number "1" at the top left of the page. This has been reported in the forum, but with no response.

It has been reproduced when upgrading from NC 16 to NC17 and from NC17 to NC18. I have also noted that when adding a new app that shows settings in this "Additional Settings" section, these settings for the new app appears, but not the rest of the settings, and the number "1" still appears. No errors appear in the log.

Steps to reproduce

  1. Install some apps that add settings to the "Additional Settings" page, such as the maps app.
  2. Upgrade from NC17 to NC18 (for example).

Expected behaviour

The "Additional Settings" page should show the settings for the various apps that need it, as before the upgrade.

Actual behaviour

The "Additional Settings" page is blank, and the number "1" appears at the top left. No errors appear in the log.

Server configuration

Operating system:

DietPi v6.28.0 (raspbian GNU/Linux 10)
Linux 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux

Web server:

lighttpd/1.4.53 (ssl)

Database:

mariadb  Ver 15.1 Distrib 10.3.22-MariaDB, for debian-linux-gnueabihf (armv8l) using readline 5.2

PHP version:

PHP 7.3.14-1~deb10u1 (cli) (built: Feb 16 2020 15:07:23) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.14-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies

Nextcloud version:

18.0.3

Updated from an older Nextcloud/ownCloud or fresh install: Updated from Nextcloud 17, it doesn't happen on new installs or on apps installed after the upgrade.

Where did you install Nextcloud from:

Installed from the official DietPi repositories, upgraded via web updater.

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list ``` - accessibility: 1.4.0 - activity: 2.11.0 - admin_audit: 1.8.0 - calendar: 2.0.2 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - contacts: 3.2.0 - dav: 1.14.0 - drawio: 0.9.5 - external: 3.5.0 - federatedfilesharing: 1.8.0 - federation: 1.8.0 - files: 1.13.1 - files_pdfviewer: 1.7.0 - files_rightclick: 0.15.2 - files_sharing: 1.10.1 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - groupfolders: 6.0.3 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - mail: 1.1.3 - maps: 0.1.6 - nextcloud_announcements: 1.7.0 - notes: 3.2.0 - notifications: 2.6.0 - oauth2: 1.6.0 - passman: 2.3.5 - password_policy: 1.8.0 - photos: 1.0.0 - previewgenerator: 2.2.0 - privacy: 1.2.0 - provisioning_api: 1.8.0 - ransomware_protection: 1.6.0 - recommendations: 0.6.0 - serverinfo: 1.8.0 - settings: 1.0.0 - sharebymail: 1.8.0 - spreed: 8.0.5 - support: 1.1.0 - survey_client: 1.6.0 - systemtags: 1.8.0 - tasks: 0.12.1 - text: 2.0.0 - theming: 1.9.0 - twofactor_backupcodes: 1.7.0 - updatenotification: 1.8.0 - viewer: 1.2.0 - workflowengine: 2.0.0 Disabled: - encryption - files_external - user_ldap ```

Nextcloud configuration:

Config report ``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "*" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "18.0.3.0", "memcache.local": "\\OC\\Memcache\\APCu", "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0 }, "overwrite.cli.url": "http:\/\/localhost\/nextcloud", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_smtpsecure": "tls", "mail_smtpauthtype": "PLAIN", "mail_sendmailmode": "smtp", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "theme": "", "loglevel": 2, "updater.release.channel": "stable", "updater.secret": "***REMOVED SENSITIVE VALUE***" } } ```

Are you using external storage, if yes which one: No (external SSD drive for data mounted with fstab).

Are you using encryption: No (full disk encryption on the external drive with LUKS).

Are you using an external user-backend, if yes which one: No

Client configuration

Browser:

74.0 (64-bit)
Mozilla Firefox for Fedora - 1.0

Operating system:

Fedora 31 (Workstation Edition)
Linux 5.5.9-200.fc31.x86_64 #1 SMP Thu Mar 12 13:55:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Logs

Web server error log

Web server error log ``` (empty) ```

Nextcloud log (data/nextcloud.log)

Nextcloud log Could not find `data/nextcloud.log`. But I have no warnings/errors besides this one (repeated for multiple pages): ``` [no app in context] Error: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "tasks.page.index" as such route does not exist. at <> 0. lib/private/Route/Router.php line 339 Symfony\Component\Routing\Generator\UrlGenerator->generate("tasks.page.index", [], 1) 1. lib/private/Route/CachingRouter.php line 59 OC\Route\Router->generate("tasks.page.index", [], false) 2. lib/private/URLGenerator.php line 82 OC\Route\CachingRouter->generate("tasks.page.index", []) 3. lib/private/NavigationManager.php line 293 OC\URLGenerator->linkToRoute("tasks.page.index") 4. lib/private/NavigationManager.php line 114 OC\NavigationManager->init() 5. apps/theming/lib/ThemingDefaults.php line 182 OC\NavigationManager->getAll("guest") 6. lib/public/Defaults.php line 160 OCA\Theming\ThemingDefaults->getShortFooter() 7. lib/private/Template/JSConfigHelper.php line 284 OCP\Defaults->getShortFooter() 8. lib/private/TemplateLayout.php line 190 OC\Template\JSConfigHelper->getConfig() 9. lib/private/legacy/template.php line 184 OC\TemplateLayout->__construct("guest", "") 10. lib/private/Template/Base.php line 132 OC_Template->fetchPage() 11. lib/base.php line 404 OC\Template\Base->printPage() 12. lib/base.php line 963 OC::printUpgradePage(OC\SystemConfig {}) 13. index.php line 38 OC::handleRequest() GET / from [...] at 2020-03-23T11:17:49+00:00 ```

Browser log

Browser log ``` JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:551 This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. addStylesClient.js:220:17 Proxying an event bus of version 1.1.2 with 0.2.1 ProxyBus.js:65:14 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:66:15 JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:551 This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. addStylesClient.js:220:17 Proxying an event bus of version 1.1.2 with 0.2.1 ProxyBus.js:65:14 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 globals.js:66:15 ```
Exist2Resist commented 3 years ago

+1 ... I have the same issue. I've ignored it for over a year now. Running a MariaDb backend and NC is in docker on unRAID.

What do you need from me to triage? Where is the page located, is there a database entry for it?

icecko commented 3 years ago

I hawe same problem. I can't as admin impersonate at user. Additional settings missing in setting. I try upgrade fom 20.0.7 to 20.0.8 but without changes.

PHP version 7.2 Mariad 10.1 OS Centos7

szaimen commented 3 years ago

Is this Issue still valid in NC21.0.3? If not, please close this issue. Thanks! :)

ghost commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.