Crash after installing backup

Hello, i tried to install a backup of my nextcloud server, cause the update to 23 crashed. Now im getting the following internal server error. First one was:

{“reqId”:“r3YOKRduwrcja7YjLzGm”,“level”:3,“time”:“2021-12-31T12:37:14+00:00”,“remoteAddr”:“192.168.178.212”,“user”:“tim”,“app”:“index”,“method”:“GET”,“url”:"/index.php/apps/dashboard/",“message”:{“Exception”:“OCP\Files\NotPermittedException”,“Message”:“Could not create folder”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/lib/private/Files/AppData/AppData.php",“line”:157,“function”:“newFolder”,“class”:“OC\Files\Node\Folder”,“type”:"->",“args”:[“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php",“line”:164,“function”:“newFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->",“args”:[“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php",“line”:111,“function”:“process”,“class”:“OC\Template\SCSSCacher”,“type”:"->",“args”:["/var/www/html/nextcloud/apps/activity",“css/style.scss”,“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php",“line”:86,“function”:“cacheAndAppendScssIfExist”,“class”:“OC\Template\CSSResourceLocator”,“type”:"->",“args”:["/var/www/html/nextcloud/apps/activity",“css/style.scss”,“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php",“line”:79,“function”:“doFind”,“class”:“OC\Template\CSSResourceLocator”,“type”:"->",“args”:[“css/style”]},{“file”:"/var/www/html/nextcloud/lib/private/TemplateLayout.php",“line”:329,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:"->",“args”:[[“css/server”,“css/css-variables”,“notifications/css/styles”,“dashboard/css/dashboard”,“activity/css/style”,“And 4 more entries, set log level to debug to see all entries”]]},{“file”:"/var/www/html/nextcloud/lib/private/TemplateLayout.php",“line”:237,“function”:“findStylesheetFiles”,“class”:“OC\TemplateLayout”,“type”:"::",“args”:[[“css/server”,“css/css-variables”,“notifications/css/styles”,“dashboard/css/dashboard”,“activity/css/style”,“And 4 more entries, set log level to debug to see all entries”]]},{“file”:"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php",“line”:183,“function”:"__construct",“class”:“OC\TemplateLayout”,“type”:"->",“args”:[“user”,“dashboard”]},{“file”:"/var/www/html/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php",“line”:210,“function”:“fetchPage”,“class”:“OC_Template”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:123,“function”:“render”,“class”:“OCP\AppFramework\Http\TemplateResponse”,“type”:"->",“args”:},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:152,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Dashboard\Controller\DashboardController”},“index”]},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:309,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Dashboard\Controller\DashboardController”,“index”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“dashboard.dashboard.index”}]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/dashboard/"]},{“file”:"/var/www/html/nextcloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:}],“File”:"/var/www/html/nextcloud/lib/private/Files/Node/Folder.php",“Line”:167,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0”,“version”:“20.0.6.1”}

Checking on google i found a thread on this board https://help.nextcloud.com/t/app-php-is-deprecated/93222, so i made the change on the config.php
After that i got:

“reqId”:“r3YOKRduwrcja7YjLzGm”,“level”:3,“time”:“2021-12-31T12:37:14+00:00”,“remoteAddr”:“192.168.178.212”,“user”:“tim”,“app”:“index”,“method”:“GET”,“url”:"/index.php/apps/dashboard/",“message”:{“Exception”:“OCP\Files\NotPermittedException”,“Message”:“Could not create folder”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/lib/private/Files/AppData/AppData.php",“line”:157,“function”:“newFolder”,“class”:“OC\Files\Node\Folder”,“type”:"->",“args”:[“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php",“line”:164,“function”:“newFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->",“args”:[“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php",“line”:111,“function”:“process”,“class”:“OC\Template\SCSSCacher”,“type”:"->",“args”:["/var/www/html/nextcloud/apps/activity",“css/style.scss”,“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php",“line”:86,“function”:“cacheAndAppendScssIfExist”,“class”:“OC\Template\CSSResourceLocator”,“type”:"->",“args”:["/var/www/html/nextcloud/apps/activity",“css/style.scss”,“activity”]},{“file”:"/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php",“line”:79,“function”:“doFind”,“class”:“OC\Template\CSSResourceLocator”,“type”:"->",“args”:[“css/style”]},{“file”:"/var/www/html/nextcloud/lib/private/TemplateLayout.php",“line”:329,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:"->",“args”:[[“css/server”,“css/css-variables”,“notifications/css/styles”,“dashboard/css/dashboard”,“activity/css/style”,“And 4 more entries, set log level to debug to see all entries”]]},{“file”:"/var/www/html/nextcloud/lib/private/TemplateLayout.php",“line”:237,“function”:“findStylesheetFiles”,“class”:“OC\TemplateLayout”,“type”:"::",“args”:[[“css/server”,“css/css-variables”,“notifications/css/styles”,“dashboard/css/dashboard”,“activity/css/style”,“And 4 more entries, set log level to debug to see all entries”]]},{“file”:"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php",“line”:183,“function”:"__construct",“class”:“OC\TemplateLayout”,“type”:"->",“args”:[“user”,“dashboard”]},{“file”:"/var/www/html/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php",“line”:210,“function”:“fetchPage”,“class”:“OC_Template”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:123,“function”:“render”,“class”:“OCP\AppFramework\Http\TemplateResponse”,“type”:"->",“args”:},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:152,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Dashboard\Controller\DashboardController”},“index”]},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:309,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Dashboard\Controller\DashboardController”,“index”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“dashboard.dashboard.index”}]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/apps/dashboard/"]},{“file”:"/var/www/html/nextcloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:}],“File”:"/var/www/html/nextcloud/lib/private/Files/Node/Folder.php",“Line”:167,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0”,“version”:“20.0.6.1”}

No changes on settings or permissions were made. i managed to log in one time, was on the dashboard and the calendars. when switching to the files, it crashed.

anyone got an idea? thanks a lot.

How did you upgrade? Manually, then check the permissions. Seems to be the dashboard app, if not try to disable and enable (via occ CLI)