-
-
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
NC 14.0.0 beta 4, web login failed after upgrade from 13.0.5.2 #10885
Comments
This comment has been minimized.
This comment has been minimized.
I just checked all these issues and PR. They are not related to this issue. |
I just upgraded to the docker image 14.0.0-rc. I have the same issue with the version 14.0.0 RC 1. I don't believe it could have an impact, but I have a warning on the memory_limit when I type "occ -V". We are 4 people on the instance and very few trafic : CalDav, CardDav, file sync. (And few web accesses when it works :-) ).
|
If it helps I have the same issue here, but not on 14, just updated to 13.0.6 from 13.0.5. deb 9 pi |
ok, have just updated PHP7.0 on me pi and now working. Not sure what version I was on, but it looked to have bust sessions. |
Thanks for you info. I'm using PHP 7.2.9. Best regards, |
Hi, I did two tests :
With these two tests, I still have the same issue. Best regards, Philippe |
@philippe-levan Are you able to login in the end? Also, have you tried clearing your cookies? |
@skjnldsv : no, I am not able to login on the web UI. I already tried to clear my cookies. I also tried to use the private mode of Firefox and Chrome. It still doesn't work. |
This issue seems to be the same issue than #11114 |
Can you check out owncloud/core#26828? |
@skjnldsv : my session.auto_start is already to Off It doesn't solve the issue. Note : I'm using the official docker image of nextcloud without modification (on my production server), without any modification of the php.ini. |
Ah ok. |
Same issue here running Ubuntu 16.04.5 LTS and upgrading from Nextcloud 13.0.6 to Nextcloud 14 from the stable channel. The error message in nextcloud.log seems to be a little bit different though:
I cannot find any useful error message in the logs. |
@skjnldsv : I just tried to create a new user (with ./occ user:add test). I have the same problem with the new user. |
@philippe-levan Damn! |
occ maintenance:repair does not solve the problem. here is the output of the command.
|
Was worth a shot ¯_(ツ)_/¯ |
Same issue here. Updated my private nextcloud instance on a shared hoster from 13.0.5 or so to 14.0.0 My nextcloud log has the following line after an failed login:
|
Patch is not working for me too as i said, i still got "Message":"Current user is not logged in" in logs. |
@Troublicious could you post your log message? Is it from nextcloud.log? Which loglevel is set in config.php? |
From nextcloud.log with loglevel 0 set, i got: {"reqId":"KvdFV1Ti4cgz5iAj1Rmc","level":0,"time":"2018-09-12T09:30:40+02:00","remoteAddr":"195.98.228.10","user":"--","app":"core","method":"GET","url":"/nextcloud/index.php/apps/files/","message":{"Exception":"OC\AppFramework\Middleware\Security\Exceptions\NotLoggedInException","Message":"Current user is not logged in","Code":401,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":95,"function":"beforeController","class":"OC\AppFramework\Middleware\Security\SecurityMiddleware","type":"->","args":[{"class":"OCA\Files\Controller\ViewController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":98,"function":"beforeController","class":"OC\AppFramework\Middleware\MiddlewareDispatcher","type":"->","args":[{"class":"OCA\Files\Controller\ViewController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":118,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Files\Controller\ViewController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\AppFramework\App","type":"::","args":["ViewController","index",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\AppFramework\Routing\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"class":"OC\AppFramework\Routing\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/var/www/nextcloud/lib/base.php","line":989,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/files/"]},{"file":"/var/www/nextcloud/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php","Line":143,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0","version":"14.0.0.19"} |
@lx-s what did you do exactly? :) |
Same thing as everyone here, suddenly after (i think) modifying theming (only changing color and background/favicon images), i couldn't log in anymore, even with changing password: no error message from webui, but i can access and sync files from windows client !! And the 11103 patch did not help. I'll try a reinstall ... |
@Troublicious could you login after upgrading and before modifying theming? |
Can't remember exactly, but i apply theming after the upgrade, so i would say yes ! |
How did you apply theming after the upgrade? Could you login after upgrade and before applying theming? |
Yep, i could login after the upgrade to apply the theming ! |
@Troublicious this issue is about not being able to login immediately after upgrading to 14.0.0 |
It works for me, and it also fixes failure to use Login Flow (I could also no longer log in with Nextcloud Talk iOS app). |
Hello, Thanks a lot ! Keep up the good work 👍 |
Patch work for me too. I have an old installation on FreeBSD, updated from OwnCloud 9. |
Hello, |
I wonder fi this is a http versus https issue - cannot loign via http (but can when I change to https) possible to automagically have NC14 redirect? |
Same happens here. With local connection (192.168.X.XXX) I have to use https or I get that redirect. |
Are you using http by default when you have the redirect? |
Hey guys, i had the same issue with 303 redirect code. In my case, this happened after i installed php71-php-intl and it's dependencies. It changed the folder /var/opt/remi/php71/lib/php/ to root:apache. The sessions folder is there. |
still happening for me with NC 14.0.4 and Firefox 64.
maybe it is related to one of my add-ons - but although i tried i couldn't narrow it down to a specific one... |
@cRUSHr2012 That works for me! I've installed Asterisk and during installation /var/lib/php/sessions directory ownership changed to asterisk:asterisk. I changed it to www-data:www-data (nginx user) and it works again. Thank you! |
I have this exact same problem & symptoms. |
If you can't switch to HTTPS, check: $ php -c /etc/php/7.2/fpm/php.ini -i | grep session.cookie_secure If you see
So, edit your session.cookie_secure = 0 Or comment it out (the default is off), and restart your php service, clear cookies and try logging in again. [Then best to configure HTTPS and set it back to on ✌️ ] Oh and per @alejandrocq above, you need to chown those dirs. |
I know this is a Necro but I came here looking for a solution to this exact problem. After looking at my dev console, I noticed that Cloudflare rocket-loader script was unable to load. After turning off rocket loader in the cloudflare dashboard, I was immediately able to login again. Not sure if this is the best place for this information but I couldn't find it anywhere else online and figured it may help someone else. |
Another necro as well. Upgrade from 21.0.7.0 to 22.2.3. |
Steps to reproduce
Expected behaviour
I should enter and see the files of my nextcloud
Actual behaviour
I return on the login page without any error message
Note : everything works well for the file synchronisation, the caldav sync and the carddav sync. Only the web login is broken.
Note in the firefox console I see :
Server configuration
Operating system:
Web server:
Apache of your docker
Database:
MariaDb (10.3.9-MariaDB-1:10.3.9+maria~bionic)
PHP version:
PHP 7.2.9 (from your docker)
Nextcloud version: (see Nextcloud admin page)
14.0.0.16
Updated from an older Nextcloud/ownCloud or fresh install:
upgrade from Nextcloud 13.0.5.2
Where did you install Nextcloud from:
on a dedicated server on kimsufi.
Signing status:
I can't connect
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: