You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Login stalls at "grant access" with new login method on Docker installation #4786
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
Same happens here. Also problems with Desktop clients. For the desktop clients the workaround followed from here: nextcloud/desktop#1470, which is that you edit the HTML-page (for example with Firefox). The button does a post with 'http', this needs to be 'https' in my case at least and then it works. However, cannot perform this 'trick' on Android, so stuck there unfortunately.
I confirm! This is an issue... I am not very sure what is going on... here the access.log of my apache server if that helps anything. I correlated it to the login process from my Android phone. I do not think it is too informative other than given an indication where in the login process things are going wrong:
Okay... more background. I tried out the dev-client available on F-Droid. That one works just fine. I am not sure if that uses the same configurations and/or data directories compared to the old/stable version, but if it does this issue might be fixed with the new release(?) If it does not, a reset of the the configurations folder (or database? - I do not know much about the app at all) might be a potential fix for the issue.
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
I just validated the issue with the "Nextcloud Dev Client v20200125" and Nextcloud 18.0. Unfortunately the issue is still present and I can only login using the legacy login method.
Until then you need to execute sudo docker-compose exec --user www-data app php occ config:system:set overwriteprotocol --value="https" once to set this value.
Activity
AndyScherzinger commentedon Nov 2, 2019
@nextcloud/server-triage this seems to be a server-side issue where the forward doesn't seem to work. What do you think?
stale commentedon Nov 30, 2019
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
bentolor commentedon Nov 30, 2019
Upgraded Server to 17.0.1 and Client to 3.9.0 – behavior is still the same.
Anything I can do to support / spot the error? @nextcloud/server-triage
ThePatricide commentedon Dec 28, 2019
Same happens here. Also problems with Desktop clients. For the desktop clients the workaround followed from here: nextcloud/desktop#1470, which is that you edit the HTML-page (for example with Firefox). The button does a post with 'http', this needs to be 'https' in my case at least and then it works. However, cannot perform this 'trick' on Android, so stuck there unfortunately.
bentolor commentedon Dec 31, 2019
@bjschuit Thanks for the pointer!
I'm puzzled: If this is really the culprit then it should affect really many and the fix should be really easy…
MrApplejuice commentedon Jan 3, 2020
I confirm! This is an issue... I am not very sure what is going on... here the access.log of my apache server if that helps anything. I correlated it to the login process from my Android phone. I do not think it is too informative other than given an indication where in the login process things are going wrong:
I am running Nextcloud version 17.0.2.1 on my server, and the client is at version 3.9.2.
One week ago, everything was trill fine. I am uncertain whether I updated my Nextcloud Client in the mean time.
BTW: Happy new year to all! 🎉
Extra info:
MrApplejuice commentedon Jan 3, 2020
Okay... more background. I tried out the dev-client available on F-Droid. That one works just fine. I am not sure if that uses the same configurations and/or data directories compared to the old/stable version, but if it does this issue might be fixed with the new release(?) If it does not, a reset of the the configurations folder (or database? - I do not know much about the app at all) might be a potential fix for the issue.
stale commentedon Jan 31, 2020
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
bentolor commentedon Feb 5, 2020
I just validated the issue with the "Nextcloud Dev Client v20200125" and Nextcloud 18.0. Unfortunately the issue is still present and I can only login using the legacy login method.
rullzer commentedon Feb 5, 2020
I guess you need: https://github.com/nextcloud/server/blob/master/config/config.sample.php#L451
Beacuse your nextcloud server is behind a reverse proxy. Hence it doesn't know it is on https.
Set that and all should work.
fix(Android App login): resolved blocked login from Android app
bentolor commentedon Feb 7, 2020
Awesome! Thanks @rullzer
For the records for others:
NEXTCLOUD_OVERWRITEPROTOCOLtohttpsshould solve the issue for the docker base image, as soon as Added support for proxy configuration using environment variables docker#819 got mergedsudo docker-compose exec --user www-data app php occ config:system:set overwriteprotocol --value="https"once to set this value.Again – thank you very much for your support. Closing this issue. Fixed in my template in bentolor/docker-nextcloud-collabora-postgresql-letsencrypt@b042684
Final fix pending / blocked by nextcloud/docker#819
branislav91srb commentedon Feb 5, 2021
Great! Thanks @rullzer
In
php.configI just added'overwriteprotocol' => 'https'and now it works 😉