I didn’t mention the logs so I will describe them.
When I tried to upgrade from NC23.0.5 to NC24.0.2, only the start of that upgrade was recorded. After that, I only have a record of what happened after I reverted back to NC23. And I got a lot of errors like the following.
{"reqId":"t2cYXuUUMWG9BGb7QgMf","level":4,"time":"June 23, 2022 00:54:54","remoteAddr":"REMOTE-IP","user":"--","app":"files_trashbin","method":"PUT","url":"/index.php/apps/user_status/heartbeat","message":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0","version":"23.0.5.1","exception":{"Exception":"Error","Message":"Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","Code":0,"Trace":[{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":129,"function":"register","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->"},{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":85,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":640,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":1089,"function":"init","class":"OC","type":"::"},{"file":"/NEXTCLOUD/index.php","line":34,"args":["/NEXTCLOUD/lib/base.php"],"function":"require_once"}],"File":"/NEXTCLOUD/apps/files_trashbin/lib/AppInfo/Application.php","Line":57,"CustomMessage":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()"}}
{"reqId":"ad9uqWSfnbexw7Xwvd5X","level":4,"time":"June 23, 2022 01:00:27","remoteAddr":"REMOTE-IP","user":"--","app":"dav","method":"LOCK","url":"/remote.php/webdav/FILENAME).odt","message":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","userAgent":"Microsoft-WebDAV-MiniRedir/10.0.19044","version":"23.0.5.1","exception":{"Exception":"Error","Message":"Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","Code":0,"Trace":[{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":129,"function":"register","class":"OCA\\DAV\\AppInfo\\Application","type":"->"},{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":85,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":640,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":1089,"function":"init","class":"OC","type":"::"},{"file":"/NEXTCLOUD/remote.php","line":114,"args":["/NEXTCLOUD/lib/base.php"],"function":"require_once"}],"File":"/NEXTCLOUD/apps/dav/lib/AppInfo/Application.php","Line":171,"CustomMessage":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()"}}
{"reqId":"bh6umlx1wEZQgjVKML46","level":4,"time":"June 23, 2022 01:10:25","remoteAddr":"REMOTE-IP","user":"--","app":"settings","method":"PROPFIND","url":"/remote.php/webdav","message":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","userAgent":"Microsoft-WebDAV-MiniRedir/10.0.19044","version":"23.0.5.1","exception":{"Exception":"Error","Message":"Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","Code":0,"Trace":[{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":129,"function":"register","class":"OCA\\Settings\\AppInfo\\Application","type":"->"},{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":85,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":640,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":1089,"function":"init","class":"OC","type":"::"},{"file":"/NEXTCLOUD/remote.php","line":114,"args":["/NEXTCLOUD/lib/base.php"],"function":"require_once"}],"File":"/NEXTCLOUD/apps/settings/lib/AppInfo/Application.php","Line":136,"CustomMessage":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()"}}
{"reqId":"orno0ULK3xYzXjsFpyUN","level":4,"time":"June 23, 2022 01:10:26","remoteAddr":"118.236.210.241","user":"--","app":"files_trashbin","method":"PROPFIND","url":"/remote.php/webdav/NC-USERNAME/desktop.ini","message":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","userAgent":"Microsoft-WebDAV-MiniRedir/10.0.19044","version":"23.0.5.1","exception":{"Exception":"Error","Message":"Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()","Code":0,"Trace":[{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":129,"function":"register","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->"},{"file":"/NEXTCLOUD/lib/private/AppFramework/Bootstrap/Coordinator.php","line":85,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":640,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/NEXTCLOUD/lib/base.php","line":1089,"function":"init","class":"OC","type":"::"},{"file":"/NEXTCLOUD/remote.php","line":114,"args":["/NEXTCLOUD/lib/base.php"],"function":"require_once"}],"File":"/NEXTCLOUD/apps/files_trashbin/lib/AppInfo/Application.php","Line":57,"CustomMessage":"Error during app service registration: Call to undefined method OCP\\AppFramework\\Bootstrap\\IRegistrationContext@anonymous::registerUserMigrator()"}}
{"reqId":"RAuKyrvUvMH95leA76p3","level":3,"time":"2022-06-22T17:59:30+00:00","remoteAddr":"REMOTE-IP2","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"file_put_contents(/NEXTCLOUD/data/appdata_ABCDEFG/js/core/merged-template-prepend.js): Failed to open stream: No such file or directory at /NEXTCLOUD/lib/private/Files/Storage/Local.php#282","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.125 Safari/537.36","version":"23.0.6.1","exception":{"Exception":"Error","Message":"file_put_contents(/NEXTCLOUD/data/appdata_ABCDEFG/js/core/merged-template-prepend.js): Failed to open stream: No such file or directory at /NEXTCLOUD/lib/private/Files/Storage/Local.php#282","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/NEXTCLOUD/lib/private/Files/Storage/Local.php","line":282,"function":"file_put_contents"},{"file":"/NEXTCLOUD/lib/private/Files/Storage/Wrapper/Wrapper.php","line":258,"function":"file_put_contents","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/NEXTCLOUD/lib/private/Files/Storage/Wrapper/Wrapper.php","line":258,"function":"file_put_contents","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/NEXTCLOUD/apps/files_accesscontrol/lib/StorageWrapper.php","line":183,"function":"file_put_contents","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/NEXTCLOUD/lib/private/Files/View.php","line":1169,"function":"file_put_contents","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->"},{"file":"/NEXTCLOUD/lib/private/Files/View.php","line":706,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/NEXTCLOUD/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->"},{"file":"/NEXTCLOUD/lib/private/Files/SimpleFS/SimpleFile.php","line":108,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/NEXTCLOUD/lib/private/Template/JSCombiner.php","line":202,"function":"putContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/NEXTCLOUD/lib/private/Template/JSCombiner.php","line":105,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->"},{"file":"/NEXTCLOUD/lib/private/Template/JSResourceLocator.php","line":115,"function":"process","class":"OC\\Template\\JSCombiner","type":"->"},{"file":"/NEXTCLOUD/lib/private/Template/JSResourceLocator.php","line":71,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->"},{"file":"/NEXTCLOUD/lib/private/Template/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->"},{"file":"/NEXTCLOUD/lib/private/TemplateLayout.php","line":388,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->"},{"file":"/NEXTCLOUD/lib/private/TemplateLayout.php","line":216,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::"},{"file":"/NEXTCLOUD/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/NEXTCLOUD/lib/public/AppFramework/Http/TemplateResponse.php","line":204,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/NEXTCLOUD/lib/private/AppFramework/Http/Dispatcher.php","line":171,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/NEXTCLOUD/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/NEXTCLOUD/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/NEXTCLOUD/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/NEXTCLOUD/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/NEXTCLOUD/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
Could it be an error related to WebDAV? When I reverted back to NC23 I could not get it to show external storage in the settings. *I was then able to resolve the issue by adjusting the MySQL tables.