-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login loop after manually upgrading to NC 14.0.0.19 #11114
Comments
GitMate.io thinks possibly related issues are #8829 (login loop), #10885 (NC 14.0.0 beta 4, web login failed after upgrade from 13.0.5.2), #10603 (Ideas for NC 14), #8199 (Redirect Loop after upgrading to 13.0 (InvalidSignatureException)), and #3134 (After upgrade from NC 10.0 to 11.0.1 --> slow performance). |
Looks indeed like a duplicate of #10885 |
I am the user in the forum. It should be noted that the issue only occurs with migration/upgrades, meaning it issue is likely to reside in the database changes during the upgrade itself or a missing file. Again, there is not useful log output to give a starting point. In your output, there is a bit more useful information. The system is failing the integrity check on the redirect. I will dig into it over the evening with your information if no one else has solved yet. Marking for myself as a reminder. |
Actually I am not sure whether that line with the integrity check has anything to do with the login loop as I noticed that nothing is written to the log when I try to login now. I have not idea where that line comes from as the integrity check done during the upgrade didn‘t report any errors (see last lines above the very last line in the log I posted in the initial post). Maybe I've been locked in during the upgrade and afterwards tried to refresh the page. For further investigation I changed the nextcloud loglevel to 0 and these are the entries when I try to login (with correct credentials!) and the login loop occurs:
As you can see the in the very first line there is an exception thrown that I am not logged in - resulting in a 401 and a new request (redirect) to |
Sure - I am willing to help and joined there. |
Thanks a lot, @BernieO! ✌️ |
nextcloud-14.0.4.2 on freebsd and nginx server is runing |
On a testing instance after upgrading from 13.0.6 to 14.0.0.19 I can not login anymore due to a redirect loop. This happens on two testing instances (SQLite3 and PostgreSQL)
A fresh install of 14.0.0.19 with exactly the same setup works though (tested only with SQLite3). I also have another testing instance with MariaDB with the same webserver configuration. Upgrading this MariaDB instance from 13.0.6 to 14.0.0.19 works with no issues (the login loop does not happen at this instance).
In the forum there is a user running apache with the same problem using MySQL (14.0.0RC1 though):
https://help.nextcloud.com/t/login-authentication-on-fresh-14-rc1-fails/36399
Steps to reproduce
Only posting data from my SQLite3 installation below.
Expected behaviour
User should be logged in.
Actual behaviour
User gets redirected to login page
Server configuration
Operating system:
Debian Stretch 9.5
Web server:
nginx 1.10.3
Note: this is a testing instance with the nginx-configuration taken from here:
https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx.rst
Database:
SQLite
PHP version:
PHP Version 7.0.30-0+deb9u1
Nextcloud version: (see Nextcloud admin page)
14.0.0.19
Updated from an older Nextcloud/ownCloud or fresh install:
Updated manually from 13.0.6 (version was upgraded before many times also with manual upgrade. Can't remember what was the original version. Probably something starting with 9.0)
Where did you install Nextcloud from:
https://download.nextcloud.com/server/releases/nextcloud-14.0.0.tar.bz2
Signing status:
can't log in to nextcloud
List of activated apps:
sudo -u www-data php occ app:list
returns...Nextcloud configuration:
sudo -u www-data php occ config:list system
returns:Are you using external storage, if yes which one:
No
Are you using encryption:
No
Are you using an external user-backend, if yes which one:
No
Client configuration
Browser:
Firefox
Operating system:
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
This is all from my nextcloud.log. New login-attempts are not logged in loglevel=2
Browser log
The Browser log reflects the log from nginx:
entering username and password an clicking on login opens
https://sqlite.webroot.de/login?redirect_url=/apps/files/
which redirects me with a 303 to
https://sqlite.webroot.de/apps/files
and that redirects me instantly also with a 303 back to
https://sqlite.webroot.de/login?redirect_url=/apps/files/
The text was updated successfully, but these errors were encountered: