Unable to login after installation in docker

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): Latest Docker
Operating system and version (eg, Ubuntu 20.04): 22.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Docker
PHP version (eg, 7.4): Docker

The issue you are facing:
I finally was able to get my Nextcloud stack up and running with Docker compose, mostly. :slight_smile: The stack comes up, there are no errors in the docker logs that I can see, but I am unable to login. I put in the username and password and it simply kicks me back to the login screen. I have blown away the config multiple times and nothing works. I have gone in with the occ command and reset the password, and I can’t login.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Redeploy my docker stack
  2. Try and login
  3. fail

Docker Compose File: https://pastebin.com/H3a5BmFu
config.php: <?php$CONFIG = array ( 'htaccess.RewriteBase' => '/', 'memcache.local' = - Pastebin.com
docker logs: https://pastebin.com/ebsLUdV6

I couldn’t find any other logs to post. If I am missing something, let me know and I will post those as well if necessary


The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


Apparently this was a Me issue. for some reason my redis container even though it was saying it was up and running and accepting connections, that was not the case. I removed the redis integration and I was able to login with no issues.
Now to figure out why that is not connecting.



1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.