Nextcloud does not redirect to dashboard after successful login

I’ve setup nextcloud and everything works apart from logging in successfully.

When I log in with the wrong details, it tells me the combination is wrong, however when I log in with the correct details the button stays on ‘Logging in’. If I’m in a browser I have to refresh the page for it to direct me to the dashboard/logged in screen.

I also have this problem on the app, however I cannot refresh the page on the app like the browser to direct me to the logged in screen so I’m stuck on ‘Logging in’.

What’s the issue and why’s it happening?

I’m using docker compose, MariaDB and Apache2 web reverse proxy.


I had the same issue, but adding 'overwriteprotocol' => 'https', to the config.php, as described in this github issue, fixed it for me. :slight_smile:

1 Like

That also fixed it for me. Thanks!