diff --git a/admin_manual/installation/nginx.rst b/admin_manual/installation/nginx.rst index f66b40133..d1295e6fa 100644 --- a/admin_manual/installation/nginx.rst +++ b/admin_manual/installation/nginx.rst @@ -381,3 +381,22 @@ or CSS (.css) files via gzip could also cause such issues. Another cause of this issue could be not properly including mimetypes in the http block, as shown `here. `_ + +Login loop without any clue in access.log, error.log, nor nextcloud.log +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +If you after fresh installation (Centos 7 with nginx) have problem with first login, you should as first check these files: + +.. code-block:: bash + + tail /var/www/nextcloud/data/nextcloud.log + tail /var/log/nginx/access.log + tail /var/log/nginx/error.log + +If you just see some correct requests in access log, but no login happens, you check access rights for php session and wsdlcache directory. Try to check permissions and execute change if needed: + +.. code-block:: bash + + chown nginx:nginx /var/lib/php/session/ + chown root:nginx /var/lib/php/wsdlcache/ + chown root:nginx /var/lib/php/opcache/