Index error: user can not log in

possible_bug
9.1.x
help

#1

I creates an other topic as asked by RealRancor. The solution to the PHP issue was solved by a chmod +x.

Steps to reproduce
1.login to the server as a user

Expected behaviour
The user shoud log in successfully.

Actual behaviour
The user met an internal server error. I still can log as admin.

Server configuration
Operating system: debian 8.0
Web server: apache 2.4.10-10+deb8u7
Database: Mariadb 10.0.27+maria-1~jessie
PHP version: 5.6.27+dfsg-0+deb8u1
ownCloud version (see ownCloud admin page): 9.1.1-1.2
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
external storage, external authentifcation and server-side-encryption enable

ownCloud log (data/owncloud.log)

I got the following error in the log file when the user connects

Exception: 
{"Exception":"OCP\\Files\\NotFoundException","Message":"","Code":0,"Trace":"#0 \/var\/www\/cloud.debian-economist.eu\/lib\/private\/Files\/Node\/Node.php(222):  OC\\Files\\Node\\Node->getFileInfo()\n#1 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/Files\/Node\/Node.php(105):  OC\\Files\\Node\\Node->getPermissions()\n#2
  \/var\/www\/cloud.debian-economist.eu\/lib\/private\/Files\/Node\/Folder.php(139):
 OC\\Files\\Node\\Node->checkPermissions(4)\n#3 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/Files\/Node\/Root.php(351):
 OC\\Files\\Node\\Folder->newFolder('\/files')\n#4 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/Server.php(809): 
OC\\Files\\Node\\Root->getUserFolder('prefpol')\n#5 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/User\/Session.php(384):
 OC\\Server->getUserFolder('prefpol')\n#6 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/User\/Session.php(438):
 OC\\User\\Session->prepareUserLogin()\n#7 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/User\/Session.php(287):
 OC\\User\\Session->loginWithPassword(*** sensitive parameters 
replaced ***)\n#8 
\/var\/www\/cloud.debian-economist.eu\/core\/Controller\/LoginController.php(196):
 OC\\User\\Session->login(*** sensitive parameters replaced ***)\n#9 
[internal function]: 
OC\\Core\\Controller\\LoginController->tryLogin(*** sensitive 
parameters replaced ***)\n#10 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/AppFramework\/Http\/Dispatcher.php(159):
 call_user_func_array(Array, Array)\n#11 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/AppFramework\/Http\/Dispatcher.php(89):
OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Core\\Controller\\LoginController),
 'tryLogin')\n#12 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/AppFramework\/App.php(110):
OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Core\\Controller\\LoginController),
 'tryLogin')\n#13 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(46):
 OC\\AppFramework\\App::main('LoginController', 'tryLogin', 
Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#14 
[internal function]: 
OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#15 
\/var\/www\/cloud.debian-economist.eu\/lib\/private\/Route\/Router.php(280):
 call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), 
Array)\n#16 \/var\/www\/cloud.debian-economist.eu\/lib\/base.php(891): 
OC\\Route\\Router->match('\/login')\n#17 
\/var\/www\/cloud.debian-economist.eu\/index.php(39): 
OC::handleRequest()\n#18 
{main}","File":"\/var\/www\/cloud.debian-economist.eu\/lib\/private\/Files\/Node\/Node.php","Line":85}

Integrity status for oC9+

No errors have been found.

#2

Looks like the same as in https://github.com/owncloud/core/issues/25179. If that is still happening i'm suggesting to create a new bugreport at https://github.com/owncloud/core/issues


#3

I tried sudo apt-get install --reinstall owncloud-files. It did not work.


#4

Then follow the advise here: