Hey Forum,
I have a CentOS 7 server with NginX, PHP-FPM and MySQL installed. I’ve set everything up as it should be, even used the nextcloud generated php config in /etc/php-fpm.d/nextcloud.conf
Howverr I’m in an infinite login loop and can’t login to the server. Every login just redirects me back to the login page. In the nextcloud.log file I can see similar lines to this all the way:
{"reqId":"9mlqx7kzDZ3IJv2oocy4","level":3,"time":"2017-09-19T14:33:10+00:00","remoteAddr":"10.0.0.21","user":"--","app":"lib","method":"GET","url":"\/login?redirect_url=\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/www\/hu.mycompany.cloud, file: core\/vendor\/jquery-ui\/themes\/base\/jquery-ui.css, webRoot: , throw: false)","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/59.0.3071.109 Safari\/537.36","version":"13.0.0.3"}
{"reqId":"9mlqx7kzDZ3IJv2oocy4","level":3,"time":"2017-09-19T14:33:10+00:00","remoteAddr":"10.0.0.21","user":"--","app":"lib","method":"GET","url":"\/login?redirect_url=\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/www\/hu.mycompany.cloud, file: core\/css\/jquery.ocdialog.css, webRoot: , throw: false)","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/59.0.3071.109 Safari\/537.36","version":"13.0.0.3"}
{"reqId":"9mlqx7kzDZ3IJv2oocy4","level":3,"time":"2017-09-19T14:33:10+00:00","remoteAddr":"10.0.0.21","user":"--","app":"lib","method":"GET","url":"\/login?redirect_url=\/apps\/files\/","message":"ResourceLocator can not find a web root (root: \/var\/www\/hu.mycompany.cloud, file: core\/css\/guest.css, webRoot: , throw: false)","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/59.0.3071.109 Safari\/537.36","version":"13.0.0.3"}
Any idea?