Hi,
I am using nextcloud beta 12. My admin user log in well. I have created a user which can log in to without problem.
My new user bob cannot log in
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.
I checked the nextcloud.log but i can’t understand why it doesn’t work :
{"reqId":"uk8rXrWT8pmmWw0qvolp","level":3,"time":"2017-05-03T13:26:08+00:00","remoteAddr":"xx.xx.185.161","user":"bob","app":"index","method":"GET","url":"\/nextcloud\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/data\\\/nextcloud\\\/apps\\\/files\\\/lib\\\/Controller\\\/ViewController.php(130): OC_Helper::getStorageInfo('\\\/', false)\\n#1 \\\/data\\\/nextcloud\\\/apps\\\/files\\\/lib\\\/Controller\\\/ViewController.php(159): OCA\\\\Files\\\\Controller\\\\ViewController->getStorageInfo()\\n#2 [internal function]: OCA\\\\Files\\\\Controller\\\\ViewController->index('', '', NULL, false)\\n#3 \\\/data\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(160): call_user_func_array(Array, Array)\\n#4 \\\/data\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(90): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#5 \\\/data\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(114): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#6 \\\/data\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#7 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#8 \\\/data\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(299): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#9 \\\/data\\\/nextcloud\\\/lib\\\/base.php(976): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#10 \\\/data\\\/nextcloud\\\/index.php(40): OC::handleRequest()\\n#11 {main}\",\"File\":\"\\\/data\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/helper.php\",\"Line\":543}","userAgent":"Mozilla\/5.0 (Windows NT 6.1; WOW64; Trident\/7.0; rv:11.0) like Gecko","version":"12.0.0.16"}
{“reqId”:“QIBxiOhKlNBwitfT4Cpm”,“level”:3,“time”:“2017-05-03T13:26:09+00:00”,“remoteAddr”:“xx.xx.185.161”,“user”:“bob”,“app”:“index”,“method”:“GET”,“url”:“/nextcloud/index.php/apps/files/”,“message”:“Exception: {"Exception":"OCP\\Files\\NotFoundException","Message":"","Code":0,"Trace":"#0 \/data\/nextcloud\/apps\/files\/lib\/Controller\/ViewController.php(130): OC_Helper::getStorageInfo(‘\/’, false)\n#1 \/data\/nextcloud\/apps\/files\/lib\/Controller\/ViewController.php(159): OCA\\Files\\Controller\\ViewController->getStorageInfo()\n#2 [internal function]: OCA\\Files\\Controller\\ViewController->index(‘’, ‘’, NULL, false)\n#3 \/data\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160): call_user_func_array(Array, Array)\n#4 \/data\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Files\\Controller\\ViewController), ‘index’)\n#5 \/data\/nextcloud\/lib\/private\/AppFramework\/App.php(114): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files\\Controller\\ViewController), ‘index’)\n#6 \/data\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main(‘ViewController’, ‘index’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#7 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#8 \/data\/nextcloud\/lib\/private\/Route\/Router.php(299): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#9 \/data\/nextcloud\/lib\/base.php(976): OC\\Route\\Router->match(‘\/apps\/files\/’)\n#10 \/data\/nextcloud\/index.php(40): OC::handleRequest()\n#11 {main}","File":"\/data\/nextcloud\/lib\/private\/legacy\/helper.php","Line":543}”,“userAgent”:“Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko”,“version”:“12.0.0.16”}
I migrated /var/www/nextcloud to /data/nextcloud.
I saw that my oc_storage table have 2 entries :
MariaDB [nextcloud]> select * from oc_storages ;
±--------------------------------±-----------±----------±-------------+
| id | numeric_id | available | last_checked |
±--------------------------------±-----------±----------±-------------+
| local::/var/www/nextcloud/data/ | 1 | 1 | NULL |
| home::nebo | 2 | 1 | NULL |
| local::/data/downloads/ | 4 | 1 | 1493817678 |
| home::titi | 5 | 1 | NULL |
| local::/data/nextcloud/data/ | 10 | 1 | NULL |
| home::bob | 11 | 1 | NULL |
±--------------------------------±-----------±----------±-------------+
6 rows in set (0.00 sec)
Can i fix that, or is it normal ?
Have you troubleshoot something similar before ?