Merge pull request #1317 from luvarqpp/patch-1

Add another common problem
This commit is contained in:
Morris Jobke 2019-03-19 07:57:41 +01:00 committed by GitHub
commit b13f73f95f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. <https://www.nginx.com/resources/wiki/start/topics/examples/full/>`_
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/