Liebe Community,
leider habe ich ein Problem nach einem Nextcloudupdate von 18.0.7 auf 18.0.8.
Ich bin bei contabo und habe dort einen virtuellen Server mit ubuntu 16.04 unter apache laufen mit php 7.3. Leider weiĂ ich mir keinen Rat. Wenn ich den Server zurĂŒcksetze via Snapshot, erhalte ich andere Fehlermeldungen, die ich im Anschluss poste.
Fehlermeldung nach update:
{âreqIdâ:âK7H2OKzXxqEviMbSDZRAâ,âlevelâ:3,âtimeâ:â2020-09-01T07:15:25+00:00â,âremoteAddrâ:â88.130.49.217â,âuserâ:âadminâ,âappâ:âindexâ,âmethodâ:âGETâ,âurlâ:"/index.php/apps/files/",âmessageâ:{âExceptionâ:âExceptionâ,âMessageâ:âArgument 1 passed to âSymfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()â must be an object, string given.â,âCodeâ:0,âTraceâ:[{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/App.php",âlineâ:125,âfunctionâ:âdispatchâ,âclassâ:âOC\AppFramework\Http\Dispatcherâ,âtypeâ:"->",âargsâ:[{âclassâ:âOCA\Files\Controller\ViewControllerâ},âindexâ]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",âlineâ:47,âfunctionâ:âmainâ,âclassâ:âOC\AppFramework\Appâ,âtypeâ:"::",âargsâ:[âOCA\Files\Controller\ViewControllerâ,âindexâ,{âclassâ:âOC\AppFramework\DependencyInjection\DIContainerâ},{"_route":âfiles.view.indexâ}]},{âfunctionâ:"__invoke",âclassâ:âOC\AppFramework\Routing\RouteActionHandlerâ,âtypeâ:"->",âargsâ:[{"_route":âfiles.view.indexâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/Route/Router.php",âlineâ:299,âfunctionâ:âcall_user_funcâ,âargsâ:[{âclassâ:âOC\AppFramework\Routing\RouteActionHandlerâ},{"_route":âfiles.view.indexâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/base.php",âlineâ:1013,âfunctionâ:âmatchâ,âclassâ:âOC\Route\Routerâ,âtypeâ:"->",âargsâ:["/apps/files/"]},{âfileâ:"/home/oszbox/public_html/nextcloud/index.php",âlineâ:38,âfunctionâ:âhandleRequestâ,âclassâ:âOCâ,âtypeâ:"::",âargsâ:[]}],âFileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",âLineâ:109,âPreviousâ:{âExceptionâ:âTypeErrorâ,âMessageâ:âArgument 1 passed to âSymfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()â must be an object, string given.â,âCodeâ:0,âTraceâ:[{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php",âlineâ:70,âfunctionâ:âdispatchâ,âclassâ:âSymfony\Component\EventDispatcher\EventDispatcherâ,âtypeâ:"->",âargsâ:[âOCA\Files::loadAdditionalScriptsâ,{âclassâ:âSymfony\Component\EventDispatcher\GenericEventâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php",âlineâ:51,âfunctionâ:âdispatchâ,âclassâ:âOC\EventDispatcher\SymfonyAdapterâ,âtypeâ:"->",âargsâ:[âOCA\Files::loadAdditionalScriptsâ,{âclassâ:âSymfony\Component\EventDispatcher\GenericEventâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",âlineâ:76,âfunctionâ:âhandleâ,âclassâ:âOCA\Files\Listener\LegacyLoadAdditionalScriptsAdapterâ,âtypeâ:"->",âargsâ:[{âclassâ:âOCA\Files\Event\LoadAdditionalScriptsEventâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",âlineâ:247,âfunctionâ:"__invoke",âclassâ:âOC\EventDispatcher\ServiceEventListenerâ,âtypeâ:"->",âargsâ:[{âclassâ:âOCA\Files\Event\LoadAdditionalScriptsEventâ},âOCA\Files\Event\LoadAdditionalScriptsEventâ,{âclassâ:âSymfony\Component\EventDispatcher\EventDispatcherâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",âlineâ:73,âfunctionâ:âcallListenersâ,âclassâ:âSymfony\Component\EventDispatcher\EventDispatcherâ,âtypeâ:"->",âargsâ:[[{âclassâ:âClosureâ},{âclassâ:âClosureâ},{âclassâ:âClosureâ},{âclassâ:âClosureâ},{âclassâ:âClosureâ}],âOCA\Files\Event\LoadAdditionalScriptsEventâ,{âclassâ:âOCA\Files\Event\LoadAdditionalScriptsEventâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",âlineâ:80,âfunctionâ:âdispatchâ,âclassâ:âSymfony\Component\EventDispatcher\EventDispatcherâ,âtypeâ:"->",âargsâ:[{âclassâ:âOCA\Files\Event\LoadAdditionalScriptsEventâ},âOCA\Files\Event\LoadAdditionalScriptsEventâ]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/EventDispatcher/SymfonyAdapter.php",âlineâ:63,âfunctionâ:âdispatchâ,âclassâ:âOC\EventDispatcher\EventDispatcherâ,âtypeâ:"->",âargsâ:[âOCA\Files\Event\LoadAdditionalScriptsEventâ,{âclassâ:âOCA\Files\Event\LoadAdditionalScriptsEventâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/apps/files_sharing/list.php",âlineâ:45,âfunctionâ:âdispatchâ,âclassâ:âOC\EventDispatcher\SymfonyAdapterâ,âtypeâ:"->",âargsâ:[âOCA\Files\Event\LoadAdditionalScriptsEventâ,{âclassâ:âOCA\Files\Event\LoadAdditionalScriptsEventâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/apps/files/lib/Controller/ViewController.php",âlineâ:122,âargsâ:["/home/oszbox/public_html/nextcloud/apps/files_sharing/list.php"],âfunctionâ:âincludeâ},{âfileâ:"/home/oszbox/public_html/nextcloud/apps/files/lib/Controller/ViewController.php",âlineâ:260,âfunctionâ:ârenderScriptâ,âclassâ:âOCA\Files\Controller\ViewControllerâ,âtypeâ:"->",âargsâ:[âfiles_sharingâ,âlist.phpâ]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",âlineâ:170,âfunctionâ:âindexâ,âclassâ:âOCA\Files\Controller\ViewControllerâ,âtypeâ:"->",âargsâ:["","",null,false]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",âlineâ:99,âfunctionâ:âexecuteControllerâ,âclassâ:âOC\AppFramework\Http\Dispatcherâ,âtypeâ:"->",âargsâ:[{âclassâ:âOCA\Files\Controller\ViewControllerâ},âindexâ]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/App.php",âlineâ:125,âfunctionâ:âdispatchâ,âclassâ:âOC\AppFramework\Http\Dispatcherâ,âtypeâ:"->",âargsâ:[{âclassâ:âOCA\Files\Controller\ViewControllerâ},âindexâ]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",âlineâ:47,âfunctionâ:âmainâ,âclassâ:âOC\AppFramework\Appâ,âtypeâ:"::",âargsâ:[âOCA\Files\Controller\ViewControllerâ,âindexâ,{âclassâ:âOC\AppFramework\DependencyInjection\DIContainerâ},{"_route":âfiles.view.indexâ}]},{âfunctionâ:"__invoke",âclassâ:âOC\AppFramework\Routing\RouteActionHandlerâ,âtypeâ:"->",âargsâ:[{"_route":âfiles.view.indexâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/private/Route/Router.php",âlineâ:299,âfunctionâ:âcall_user_funcâ,âargsâ:[{âclassâ:âOC\AppFramework\Routing\RouteActionHandlerâ},{"_route":âfiles.view.indexâ}]},{âfileâ:"/home/oszbox/public_html/nextcloud/lib/base.php",âlineâ:1013,âfunctionâ:âmatchâ,âclassâ:âOC\Route\Routerâ,âtypeâ:"->",âargsâ:["/apps/files/"]},{âfileâ:"/home/oszbox/public_html/nextcloud/index.php",âlineâ:38,âfunctionâ:âhandleRequestâ,âclassâ:âOCâ,âtypeâ:"::",âargsâ:[]}],âFileâ:"/home/oszbox/public_html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",âLineâ:63},âCustomMessageâ:"â"},âuserAgentâ:âMozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0â,âversionâ:â18.0.8.2â}
{âreqIdâ:âK7H2OKzXxqEviMbSDZRAâ,âlevelâ:3,âtimeâ:â2020-09-01T07:15:25+00:00â,âremoteAddrâ:â88.130.49.217â,âuserâ:âadminâ,âappâ:âPHPâ,âmethodâ:âGETâ,âurlâ:"/index.php/apps/files/",âmessageâ:âTypeError: Argument 1 passed to âSymfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()â must be an object, string given. at /home/oszbox/public_html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php#63â,âuserAgentâ:âMozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:78.0) Gecko/20100101 Firefox/78.0â,âversionâ:â18.0.8.2â}
Zudem erhalte ich nach dem ZurĂŒckspielen des Snapshots sofort folgende Fehlermeldungen:
[mail] Warning: not enough messages to train a classifier
at 2020-09-01T07:27:18+00:00
und:
[mail] Error: OCA\Mail\Exception\ServiceException: Could not deserialize persisted classifier 20: File /tmp/oc_tmp_bE4ZwA does not contain any data. at <>
- /home/oszbox/public_html/nextcloud/apps/mail/lib/Service/Classification/PersistenceService.php line 162
OCA\Mail\Service\Classification\PersistenceService->load(20) - /home/oszbox/public_html/nextcloud/apps/mail/lib/Service/Classification/ImportanceClassifier.php line 296
OCA\Mail\Service\Classification\PersistenceService->loadLatest(OCA\Mail\Account {}) - /home/oszbox/public_html/nextcloud/apps/mail/lib/Listener/NewMessageClassificationListener.php line 73
OCA\Mail\Service\Classification\ImportanceClassifier->classifyImportance(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 94}, [OCA\Mail\Db\Mes ⊠}]) - /home/oszbox/public_html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php line 76
OCA\Mail\Listener\NewMessageClassificationListener->handle(OCA\Mail\Events\ ⊠{}) - /home/oszbox/public_html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 247
OC\EventDispatcher\ServiceEventListener->__invoke(OCA\Mail\Events\ ⊠{}, âOCA\Mail\Even ⊠dâ, Symfony\Componen ⊠{}) - /home/oszbox/public_html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
Symfony\Component\EventDispatcher\EventDispatcher->callListeners([Closure {}], âOCA\Mail\Even ⊠dâ, OCA\Mail\Events\ ⊠{}) - /home/oszbox/public_html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 80
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(OCA\Mail\Events\ ⊠{}, âOCA\Mail\Even ⊠dâ) - /home/oszbox/public_html/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php line 308
OC\EventDispatcher\EventDispatcher->dispatch(âOCA\Mail\Even ⊠dâ, OCA\Mail\Events\ ⊠{}) - /home/oszbox/public_html/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php line 202
OCA\Mail\Service\Sync\ImapToDbSynchronizer->runPartialSync(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 94}, 42, null) - /home/oszbox/public_html/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php line 114
OCA\Mail\Service\Sync\ImapToDbSynchronizer->sync(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 94}, 42, null, false) - /home/oszbox/public_html/nextcloud/apps/mail/lib/BackgroundJob/SyncJob.php line 92
OCA\Mail\Service\Sync\ImapToDbSynchronizer->syncAccount(OCA\Mail\Account {}) - /home/oszbox/public_html/nextcloud/lib/public/BackgroundJob/Job.php line 79
OCA\Mail\BackgroundJob\SyncJob->run({accountId: 3}) - /home/oszbox/public_html/nextcloud/lib/public/BackgroundJob/TimedJob.php line 61
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {}) - /home/oszbox/public_html/nextcloud/cron.php line 125
OCP\BackgroundJob\TimedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})
at 2020-09-01T07:25:54+00:00