Nextcloud version (eg, 20.0.5): 23.0.3.2
Operating system and version (eg, Ubuntu 20.04): Webhosting
Apache or nginx version (eg, Apache 2.4.25): Webhosting
PHP version (eg, 7.4): 8.0
The issue you are facing: When opening contacts, photos, settings I get an internal server error. I corrected that for contacts, with removing the app and adding it again. But removing is not possible for photos and settings.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- Update Nextcloud
- Server crashes without logged errors
- Role back version
- Photos, Contacts & Settings no longer available
The output of your Nextcloud log in Admin > Logging:
No Logging in nextcloud itself can be seen anymore after update
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '...',
'passwordsalt' => '...',
'secret' => '...',
'trusted_domains' =>
array (
0 => 'cloud.any.where',
1 => 'www.cloud.any.where',
),
'datadirectory' => '/.../cloud/data',
'dbtype' => 'mysql',
'version' => '23.0.3.2',
'overwrite.cli.url' => 'http://cloud.any.where',
'dbname' => 'db1',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'ABC123_',
'mysql.utf8mb4' => true,
'dbuser' => 'Mr. Database',
'dbpassword' => 'Secret.Password.Nobody.Knows',
'enable_previews' => false,
'installed' => true,
'tempdirectory' => '/.../cloud/tmp/',
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'pipe',
'mail_from_address' => 'info',
'mail_domain' => 'any.body',
'maintenance' => false,
'theme' => '',
'loglevel' => 0,
'app_install_overwrite' =>
array (
0 => 'files_accesscontrol',
1 => 'ownpad',
2 => 'customproperties',
3 => 'ocsms',
),
'updater.release.channel' => 'stable',
);
The output of your Apache/nginx/system log in /var/log/____
:
Can't get that
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":3,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"--","app":"PHP","method":"POST","url":"/index.php/apps/text/session/sync","message":"include(/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php): Failed to open stream: No such file or directory at /.../cloud/lib/composer/composer/ClassLoader.php#571","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2","exception":{"Exception":"Error","Message":"include(/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php): Failed to open stream: No such file or directory at /.../cloud/lib/composer/composer/ClassLoader.php#571","Code":0,"Trace":[{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"include(/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php): Failed to open stream: No such file or directory","/.../cloud/lib/composer/composer/ClassLoader.php",571]},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"include"},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\\Autoload\\includeFile","args":["/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":120,"function":"class_exists","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":85,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":[["files","accessibility","activity","admin_audit","apporder","audioplayer","backup","bookmarks","bruteforcesettings","calendar","checksum","circles","cloud_federation_api","cms_pico","comments","contacts","contactsinteraction","cookbook","customproperties","dashboard","dav","deck","drawio","extract","federatedfilesharing","federation","files_fulltextsearch","files_mindmap","files_pdfviewer","files_rightclick","files_sharing","files_snapshots","files_trashbin","files_versions","files_videoplayer","firstrunwizard","forms","groupfolders","keeweb","logreader","lookup_server_connector","mail","metadata","news","nextcloud_announcements","notes","notifications","oauth2","password_policy","photos","polls","privacy","provisioning_api","quicknotes","quota_warning","ransomware_protection","recommendations","registration","richdocuments","serverinfo","settings","sharebymail","spreed","support","survey_client","systemtags","tasks","text","theming","twofactor_backupcodes","updatenotification","user_status","viewer","weather_status","workflowengine"]]},{"file":"/.../cloud/lib/base.php","line":640,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":[]},{"file":"/.../cloud/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/.../cloud/index.php","line":34,"args":["/.../cloud/lib/base.php"],"function":"require_once"}],"File":"/.../cloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":3,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"--","app":"PHP","method":"POST","url":"/index.php/apps/text/session/sync","message":"include(): Failed opening '/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php' for inclusion (include_path='/.../cloud/apps/news/vendor/pear/net_url2:/.../cloud/3rdparty/pear/archive_tar:/.../cloud/3rdparty/pear/console_getopt:/.../cloud/3rdparty/pear/pear-core-minimal/src:/.../cloud/3rdparty/pear/pear_exception:/.../cloud/apps') at /.../cloud/lib/composer/composer/ClassLoader.php#571","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2","exception":{"Exception":"Error","Message":"include(): Failed opening '/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php' for inclusion (include_path='/.../cloud/apps/news/vendor/pear/net_url2:/.../cloud/3rdparty/pear/archive_tar:/.../cloud/3rdparty/pear/console_getopt:/.../cloud/3rdparty/pear/pear-core-minimal/src:/.../cloud/3rdparty/pear/pear_exception:/.../cloud/apps') at /.../cloud/lib/composer/composer/ClassLoader.php#571","Code":0,"Trace":[{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"include(): Failed opening '/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php' for inclusion (include_path='/.../cloud/apps/news/vendor/pear/net_url2:/.../cloud/3rdparty/pear/archive_tar:/.../cloud/3rdparty/pear/console_getopt:/.../cloud/3rdparty/pear/pear-core-minimal/src:/.../cloud/3rdparty/pear/pear_exception:/.../cloud/apps')","/.../cloud/lib/composer/composer/ClassLoader.php",571]},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"include"},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\\Autoload\\includeFile","args":["/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":120,"function":"class_exists","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":85,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":[["files","accessibility","activity","admin_audit","apporder","audioplayer","backup","bookmarks","bruteforcesettings","calendar","checksum","circles","cloud_federation_api","cms_pico","comments","contacts","contactsinteraction","cookbook","customproperties","dashboard","dav","deck","drawio","extract","federatedfilesharing","federation","files_fulltextsearch","files_mindmap","files_pdfviewer","files_rightclick","files_sharing","files_snapshots","files_trashbin","files_versions","files_videoplayer","firstrunwizard","forms","groupfolders","keeweb","logreader","lookup_server_connector","mail","metadata","news","nextcloud_announcements","notes","notifications","oauth2","password_policy","photos","polls","privacy","provisioning_api","quicknotes","quota_warning","ransomware_protection","recommendations","registration","richdocuments","serverinfo","settings","sharebymail","spreed","support","survey_client","systemtags","tasks","text","theming","twofactor_backupcodes","updatenotification","user_status","viewer","weather_status","workflowengine"]]},{"file":"/.../cloud/lib/base.php","line":640,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":[]},{"file":"/.../cloud/lib/base.php","line":1087,"function":"init","class":"OC","type":"::","args":[]},{"file":"/.../cloud/index.php","line":34,"args":["/.../cloud/lib/base.php"],"function":"require_once"}],"File":"/.../cloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":2,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"Ingo","app":"no app in context","method":"POST","url":"/index.php/apps/text/session/sync","message":"Temporary directory /.../cloud/tmp/ is not present or writable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2"}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":0,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"Ingo","app":"cms_pico","method":"POST","url":"/index.php/apps/text/session/sync","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2"}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":0,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"Ingo","app":"files_mindmap","method":"POST","url":"/index.php/apps/text/session/sync","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2"}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":0,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"Ingo","app":"metadata","method":"POST","url":"/index.php/apps/text/session/sync","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2"}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":3,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"Ingo","app":"PHP","method":"POST","url":"/index.php/apps/text/session/sync","message":"include(/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php): Failed to open stream: No such file or directory at /.../cloud/lib/composer/composer/ClassLoader.php#571","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2","exception":{"Exception":"Error","Message":"include(/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php): Failed to open stream: No such file or directory at /.../cloud/lib/composer/composer/ClassLoader.php#571","Code":0,"Trace":[{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"include(/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php): Failed to open stream: No such file or directory","/.../cloud/lib/composer/composer/ClassLoader.php",571]},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"include"},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\\Autoload\\includeFile","args":["/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":197,"function":"class_exists","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/legacy/OC_App.php","line":172,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["twofactor_backupcodes"]},{"file":"/.../cloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::","args":["twofactor_backupcodes"]},{"file":"/.../cloud/lib/base.php","line":986,"function":"loadApps","class":"OC_App","type":"::","args":[]},{"file":"/.../cloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/.../cloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"ZOjGdMgptvgzlSLs-rjU3wAAiTo","level":3,"time":"2023-08-25T15:19:16+00:00","remoteAddr":"95.223.36.255","user":"Ingo","app":"PHP","method":"POST","url":"/index.php/apps/text/session/sync","message":"include(): Failed opening '/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php' for inclusion (include_path='/.../cloud/apps/news/vendor/pear/net_url2:/.../cloud/3rdparty/pear/archive_tar:/.../cloud/3rdparty/pear/console_getopt:/.../cloud/3rdparty/pear/pear-core-minimal/src:/.../cloud/3rdparty/pear/pear_exception:/.../cloud/apps') at /.../cloud/lib/composer/composer/ClassLoader.php#571","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0","version":"23.0.3.2","exception":{"Exception":"Error","Message":"include(): Failed opening '/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php' for inclusion (include_path='/.../cloud/apps/news/vendor/pear/net_url2:/.../cloud/3rdparty/pear/archive_tar:/.../cloud/3rdparty/pear/console_getopt:/.../cloud/3rdparty/pear/pear-core-minimal/src:/.../cloud/3rdparty/pear/pear_exception:/.../cloud/apps') at /.../cloud/lib/composer/composer/ClassLoader.php#571","Code":0,"Trace":[{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"include(): Failed opening '/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php' for inclusion (include_path='/.../cloud/apps/news/vendor/pear/net_url2:/.../cloud/3rdparty/pear/archive_tar:/.../cloud/3rdparty/pear/console_getopt:/.../cloud/3rdparty/pear/pear-core-minimal/src:/.../cloud/3rdparty/pear/pear_exception:/.../cloud/apps')","/.../cloud/lib/composer/composer/ClassLoader.php",571]},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":571,"function":"include"},{"file":"/.../cloud/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\\Autoload\\includeFile","args":["/.../cloud/apps/twofactor_backupcodes/composer/composer/../../lib/AppInfo/Application.php"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":197,"function":"class_exists","args":["OCA\\TwoFactorBackupCodes\\AppInfo\\Application"]},{"file":"/.../cloud/lib/private/legacy/OC_App.php","line":172,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["twofactor_backupcodes"]},{"file":"/.../cloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::","args":["twofactor_backupcodes"]},{"file":"/.../cloud/lib/base.php","line":986,"function":"loadApps","class":"OC_App","type":"::","args":[]},{"file":"/.../cloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/.../cloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
... rest cut because the log was to long to post here