Internal Server Error in Menu "Files" after Upgrade to NC22

Nextcloud version: 22`
Operating system and version: Ubuntu 18.04.5 LTS
Apache or nginx version: 1.18.0
PHP version: 7.4.20

After updating from NC21 to NC22, the Files menu can no longer be accessed.

The following error message appears:
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.
Technical details
Remote Address: xxx.xxx.xxx.xxx
Request ID: jxYxGlM0YhfrZ9el9XCS

Is this the first time you’ve seen this error? : Yes

NC Logging:

Exception: Class 'OCP\User' not found

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/private/Route/Router.php - line 301:
OC\AppFramework\App::main()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/base.php - line 1000:
OC\Route\Router->match()

/var/www/vhosts/domain.tld/cloud.domain.tld/index.php - line 36:
OC::handleRequest()

Verursacht durch Error: Class 'OCP\User' not found

/var/www/vhosts/domain.tld/cloud.domain.tld/apps/files/lib/Controller/ViewController.php - line 136:
include()

/var/www/vhosts/domain.tld/cloud.domain.tld/apps/files/lib/Controller/ViewController.php - line 276:
OCA\Files\Controller\ViewController->renderScript()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\Files\Controller\ViewController->index()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\AppFramework\Http\Dispatcher->executeController()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/private/AppFramework/App.php - line 156:
OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/private/Route/Router.php - line 301:
OC\AppFramework\App::main()

/var/www/vhosts/domain.tld/cloud.domain.tld/lib/base.php - line 1000:
OC\Route\Router->match()

/var/www/vhosts/domain.tld/cloud.domain.tld/index.php - line 36:
OC::handleRequest()```

Sincerely

Disabling the DropIt app solved the problem for me.

1 Like

Great!
That was it!
Nextcloud is running again!

Thankyou! This fixed mine too!