Open GogoFC opened 7 months ago
Hello @marius-wieschollek ! Migrating from Nextcloud 28 to Nextcloud 29 triggered what appears to be kind of the same issue. Now, I cannot access the https://server/settings/admin/overview page anymore as it throws an error with the following log:
{"reqId":"XXXX","level":3,"time":"2024-07-01T15:21:28+00:00","remoteAddr":"XXXX","user":"XXXX","app":"index","method":"GET","url":"/settings/admin/logging","message":"Unable to verify user XXXX","userAgent":"XXXX","version":"29.0.3.4","exception":{"Exception":"Exception","Message":"Unable to verify user XXXX","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/apps/passwords/lib/Services/EnvironmentService.php","line":361,"function":"loadUserInformation","class":"OCA\\Passwords\\Services\\EnvironmentService","type":"->","args":["XXXX",["OC\\AppFramework\\Http\\Request"]]},{"file":"/usr/local/www/nextcloud/apps/passwords/lib/Services/EnvironmentService.php","line":185,"function":"determineAppMode","class":"OCA\\Passwords\\Services\\EnvironmentService","type":"->","args":["XXXX",["OC\\AppFramework\\Http\\Request"]]},{"function":"__construct","class":"OCA\\Passwords\\Services\\EnvironmentService","type":"->","args":["XXXX",["OC\\AllConfig"],["OC\\AppFramework\\Http\\Request"],["OC\\Session\\CryptoSessionData"],["OCA\\Passwords\\Services\\LoggingService"],["OC\\Authentication\\Token\\Manager"],["OC\\User\\Session"],["OC\\User\\Manager"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":83,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[["XXXX",["OC\\AllConfig"],["OC\\AppFramework\\Http\\Request"],["OC\\Session\\CryptoSessionData"],["OCA\\Passwords\\Services\\LoggingService"],"And 3 more entries, set log level to debug to see all entries"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":128,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[["ReflectionClass","OCA\\Passwords\\Services\\EnvironmentService"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":146,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Services\\EnvironmentService"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":471,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Services\\EnvironmentService"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":443,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Passwords\\Services\\EnvironmentService"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":96,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Passwords\\Services\\EnvironmentService",true]},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":83,"function":"array_map","args":[["Closure"],["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":128,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[["ReflectionClass","OCA\\Passwords\\Services\\ConfigurationService"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":146,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Services\\ConfigurationService"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":471,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Services\\ConfigurationService"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":443,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Passwords\\Services\\ConfigurationService"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":96,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Passwords\\Services\\ConfigurationService",true]},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":83,"function":"array_map","args":[["Closure"],[["ReflectionParameter","request"],["ReflectionParameter","urlGenerator"],"*** sensitive parameters replaced ***",["ReflectionParameter","helperService"],["ReflectionParameter","fileCacheService"]]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":128,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[["ReflectionClass","OCA\\Passwords\\Settings\\AdminSettings"]]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":146,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Settings\\AdminSettings"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":471,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Settings\\AdminSettings"]},{"file":"/usr/local/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Passwords\\Settings\\AdminSettings"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":64,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Passwords\\Settings\\AdminSettings"]},{"file":"/usr/local/www/nextcloud/lib/private/Settings/Manager.php","line":202,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Passwords\\Settings\\AdminSettings"]},{"file":"/usr/local/www/nextcloud/lib/private/Settings/Manager.php","line":350,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","overview"]},{"file":"/usr/local/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":93,"function":"getAllowedAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["overview",["OC\\User\\User"]]},{"file":"/usr/local/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":128,"function":"formatSections","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":[[[["OCA\\Settings\\Sections\\Admin\\Overview"]],[["OCA\\Settings\\Sections\\Admin\\Server"]],[["OCA\\Settings\\Sections\\Admin\\Sharing"]],[["OCA\\Settings\\Sections\\Admin\\Security"]],[["OCA\\Theming\\Settings\\AdminSection"]],"And 10 more entries, set log level to debug to see all entries"],"logging","admin","admin"]},{"file":"/usr/local/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":78,"function":"formatAdminSections","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","logging"]},{"file":"/usr/local/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":164,"function":"getNavigationParameters","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","logging"]},{"file":"/usr/local/www/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":77,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","logging"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["logging"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/usr/local/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/usr/local/www/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["logging","settings.adminsettings.index"]]},{"file":"/usr/local/www/nextcloud/lib/base.php","line":1050,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/logging"]},{"file":"/usr/local/www/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/usr/local/www/nextcloud/apps/passwords/lib/Services/EnvironmentService.php","Line":398,"message":"Unable to verify user XXXX","exception":{},"CustomMessage":"Unable to verify user XXXX"}}
⚠️ This issue respects the following points: ⚠️
Server Information
Bug description
I ran into an exeption by 'index' app, then the trace mentioned 'passwords' app saying 'unable to verify user'. Should 'passwords' app be doing such thing or did I misread the logs? So the question is does this error have anything to do with the 'passwords' app since it is mentioned in the trace. Part of trace pasted below:
Configuration (config/config.php)
``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "psg.tools" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "28.0.2.5", "overwrite.cli.url": "https:\/\/domain.com", "htaccess.RewriteBase": "\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "default_phone_region": "US", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0 }, "enabledPreviewProviders": { "1": "OC\\Preview\\Movie", "0": "OC\\Preview\\Image", "2": "OC\\Preview\\HEIC" }, "maintenance": false, "theme": "", "loglevel": 2, "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "maintenance_window_start": 1 } ```Cron Configuration: Array ( [backgroundjobs_mode] => cron [lastcron] => 1712189702 )
External storages: files_external is disabled
Encryption: no
User-backends:
Talk configuration:
STUN servers
TURN servers
Signaling servers (mode: default):
Recording servers:
Browser: unknown
Browser Logs