Steps to reproduce
- 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)
[code]Error index
Exception: {“Exception”:“OCP\Files\NotFoundException”,“Message”:“”,“Code”:0,“Trace”:“#0 /var/www/cloud.domain.ltd/lib/private/Files/Node/Node.php(222): OC\Files\Node\Node->getFileInfo()\n#1 /var/www/cloud.domain.ltd/lib/private/Files/Node/Node.php(105): OC\Files\Node\Node->getPermissions()\n#2 /var/www/cloud.domain.ltd/lib/private/Files/Node/Folder.php(139): OC\Files\Node\Node->checkPermissions(4)\n#3 /var/www/cloud.domain.ltd/lib/private/Files/Node/Root.php(351): OC\Files\Node\Folder->newFolder(‘/files’)\n#4 /var/www/cloud.domain.ltd/lib/private/Server.php(809): OC\Files\Node\Root->getUserFolder(‘user’)\n#5 /var/www/cloud.domain.ltd/lib/private/User/Session.php(384): OC\Server->getUserFolder(‘user’)\n#6 /var/www/cloud.domain.ltd/lib/private/User/Session.php(438): OC\User\Session->prepareUserLogin()\n#7 /var/www/cloud.domain.ltd/lib/private/User/Session.php(287): OC\User\Session->loginWithPassword(*** sensitive parameters replaced )\n#8 /var/www/cloud.domain.ltd/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.domain.ltd/lib/private/AppFramework/Http/Dispatcher.php(159): call_user_func_array(Array, Array)\n#11 /var/www/cloud.domain.ltd/lib/private/AppFramework/Http/Dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OC\Core\Controller\LoginController), ‘tryLogin’)\n#12 /var/www/cloud.domain.ltd/lib/private/AppFramework/App.php(110): OC\AppFramework\Http\Dispatcher->dispatch(Object(OC\Core\Controller\LoginController), ‘tryLogin’)\n#13 /var/www/cloud.domain.ltd/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.domain.ltd/lib/private/Route/Router.php(280): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)\n#16 /var/www/cloud.domain.ltd/lib/base.php(891): OC\Route\Router->match(‘/login’)\n#17 /var/www/cloud.domain.ltd/index.php(39): OC::handleRequest()\n#18 {main}”,“File”:“/var/www/cloud.domain.ltd/lib/private/Files/Node/Node.php”,“Line”:85}
2016-10-29T00:34:43+00:00
Error PHP
opendir(/var/www/cloud.domain.ltd/data/user/cache): failed to open dir: Permission denied at /var/www/cloud.domain.ltd/lib/private/Files/Storage/Local.php#116
2016-10-29T00:34:42+00:00 [/code]
Apache PHP logfile:
[Sat Oct 29 02:58:38.90727 2016] [core:alert] [pid 13651] [client IP:59364 /var/www/cloud.domain.ltd/data/.htaccess: Expected </IfModule> before end of configuration
Integrity status for oC9+
No errors have been found.
It looks quite similar to this issue (The requested uri(/login) cannot be processed by the script ‘/owncloud/index.php’) but I don’t have the same log error.
EDIT: I tried # chmod o+rx cache. I don’t get the php error which fails to open the directory. However, I still have the index error. My created users can not log in.