Shared links (files and folder) does not work after upgrade to 11.0.3

Hi Guys,

we have a huge problem with our nextcloud server after upgrading it to 11.0.3. So we decided to upgrade to 12.0.0 but the error is still there.

Nextcloud version: 12.0.0
Operating system and version: SLES SP2
Apache or nginx version: apache 2.4.23
PHP version: 7.0.7
Is this the first time you’ve seen this error?: yes

We have a lot of shared links with files and folders. If a user open a shared link, a password form appears and he is advised to enter it. After that, a download link should appear. That would be the expected behavior.

Unfortunately, an Internal Server Error appears and the user is not able to download the file.

Internal Server Error
The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.
Technical details:
Remote adress:
Request ID:

And the Nextcloud Logfile get spammed with “Backends provided no user object”.


{“reqId”:“xiGidbgdyLycYHy9evh4”,“level”:3,“time”:“2017-05-30T13:41:17+00:00”,“remoteAddr”:“ip.add.ress”,“user”:"–",“app”:“index”,“method”:“GET”,“url”:"/index.php/s/Epuq6MOf2R5j8P4",“message”:“Exception: {“Exception”:“OC\\User\\NoUserException”,“Message”:“Backends provided no user object”,“Code”:0,“Trace”:”#0 [internal function]: OC\\Files\\Node\\Root->getUserFolder(‘username’)\n#1 \/srv\/www\/owncloud\/lib\/private\/Files\/Node\/LazyRoot.php(63): call_user_func_array(Array, Array)\n#2 \/srv\/www\/owncloud\/lib\/private\/Files\/Node\/LazyRoot.php(280): OC\\Files\\Node\\LazyRoot->__call(‘getUserFolder’, Array)\n#3 \/srv\/www\/owncloud\/lib\/private\/Share20\/Share.php(162): OC\\Files\\Node\\LazyRoot->getUserFolder(‘dejanspe’)\n#4 \/srv\/www\/owncloud\/apps\/files_sharing\/lib\/Controller\/ShareController.php(264): OC\\Share20\\Share->getNode()\n#5 \/srv\/www\/owncloud\/apps\/files_sharing\/lib\/Controller\/ShareController.php(294): OCA\\Files_Sharing\\Controller\\ShareController->validateShare(Object(OC\\Share20\\Share))\n#6 [internal function]: OCA\\Files_Sharing\\Controller\\ShareController->showShare(‘Epuq6MOf2R5j8P4’, ‘’)\n#7 \/srv\/www\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160): call_user_func_array(Array, Array)\n#8 \/srv\/www\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Files_Sharing\\Controller\\ShareController), ‘showShare’)\n#9 \/srv\/www\/owncloud\/lib\/private\/AppFramework\/App.php(114): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files_Sharing\\Controller\\ShareController), ‘showShare’)\n#10 \/srv\/www\/owncloud\/lib\/public\/AppFramework\/App.php(136): OC\\AppFramework\\App::main(‘ShareController’, ‘showShare’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer))\n#11 \/srv\/www\/owncloud\/core\/routes.php(105): OCP\\AppFramework\\App->dispatch(‘ShareController’, ‘showShare’)\n#12 [internal function]: OC\\Route\\Router->{closure}(Array)\n#13 \/srv\/www\/owncloud\/lib\/private\/Route\/Router.php(299): call_user_func(Object(Closure), Array)\n#14 \/srv\/www\/owncloud\/lib\/base.php(1001): OC\\Route\\Router->match(’\/s\/Epuq6MOf2R5j…’)\n#15 \/srv\/www\/owncloud\/index.php(40): OC::handleRequest()\n#16 {main}",“File”:"\/srv\/www\/owncloud\/lib\/private\/Files\/Node\/Root.php",“Line”:366}",“userAgent”:“Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36”,“version”:“12.0.0.29”}


I have no idea, what i should do. I checked the config file, the php.ini, everything…

Thank you!

Anna