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
Session drops and most pages don't load after upgrading to 13.0.0 Beta 3 #7612
Comments
A white page indicates a severe error. The nextcloud.log doesn't hold anything valuable. Please check the php-fpm error log for more details. Sorry for the long time - hopefully the issue is gone for you. Please try to upgrade to 13.0.0 first and check if the php log has anything meaningful. Until then I will close this ticket - we are happy to reopen if you notice some traceable problems. Thanks |
I just manually installed on gentoo. I too am using uwsgi and nginx, and I get the same results in the logs. I can log in ok using Vivaldi on the local network, Chrome refuses to play ball remotely, Firefox 'sort of' works remotely (it logs in only if you select 'stay logged in', and then it comes up with 'problem loading page'. Closing and restarting Firefox then makes it work ok.) Android NC client has no problems remotely, nor does dav. Given there is a difference in how different browsers are responding to this, I wonder if it's a session problem. I have just spent an hour or so researching this, and I see a few people pointing to problems with the ability of php to write sessions files on the server, but I don't seem to have that problem.
(Yeah I know I need to update a lot of these, but I'm planning on migrating to arch from gentoo for my server. Plus, this has been happening for me since NC11, but I locked myself out the house earlier and discovered I need this to work so I can log in and get my contacts' phone numbers to get my spare keys heh) |
I never have used a setup with uwsgi. PHP-FPM worked always quite nice with nginx. See also the nginx documentation page: https://docs.nextcloud.com/server/13/admin_manual/installation/nginx.html |
I am facing the same issue on Debian with uWSGI 2.0.14 and PHP 7.0.27 with a fresh installation of Nextcloud 13.0.1 (new instance, no upgrade). I could never get past the login page (after login I got a redirect from @sdfg2 @qouoq Did you ever get to the root of this issue? And your point regarding the "stay logged in" checkbox is quite interesting. In my case I also got past the login page with this option, but all XHR requests failed with some HTTP 4xx code. The Nextcloud log keeps saying "Current user is not logged in" for these requests. I figured out that using uwsgi in standalone mode (without nginx) actually works (with |
I used to have a working Nextcloud 12 install.
Three days ago it would not open, I think I got a blank page upon login. When that happened before, I used to be able to solve by removing the cookies.
Since I still couldn't access after removing the cookies, and I didn't update my server for a long time, I decided to update, and due to the incompatibility between PHP 7.2 and Nextcloud 12, I installed Nextcloud 13.
The upgrade process from Nextcloud 12 to 13 didn't work from the web interface, but it went uneventfully using occ command.
Right now I can open the Nextcloud Log in page, I cannot log in with the "Log in" button (it remains on the Log in page), but I can log in by ticking "Stay logged in".
If I do that, I get to the Files page, which remains empty and enters a refresh loop with the message "Problem loading page, reloading in 5 seconds".
From there, I can access most Settings pages, except Logging, which remains on the loading animation. Also Basic settings says: "Error occurred while checking server setup".
The pages Apps and Users enter a refresh loop too.
Last symptom, if I load the site again, it goes to a blank page, and I need to remove the cookies to be able to access the Log in page.
The only app that I enabled before is Contacts, I tried to disable it, it didn't help.
I ran occ maintenance:repair, which completed without any message that seemed notable.
The server is working as expected with a desktop sync client, so through WebDAV if I understand correctly.
My system
Config files
Nexcloud config.php
nginx nextcloud.conf
uwsgi nextcloud.ini
Logs
The following logs are from a click on the "Log in" button
Nextcloud log (loglevel=0)
nginx access.log
uwsgi log
The text was updated successfully, but these errors were encountered: