ERR_TOO_MANY_REDIRECTS 20.0.3 to 20.0.4

Administrator said the problem fixed?

May be you would report there

After having the same issue and trying to figure out a fix I finally found what was wrong in my instance.

I use the linuxserver/nextcloud:latest image with Swag as a reverse proxy. I wrote a script that would deal with any installation steps besides running docker-compose that also copies a few config files.

Solution in my case: Have nextcloud create a fresh /config/www/nextcloud/config/config.php file.

An attempt of an explanation:
The installation script copied my old working config file with the old values of

'instanceid' => 'string',
  'passwordsalt' => 'STRING',
  'secret' => 'STRING',

That must have messed up the login process resulting in an infinite loop. If any of you still have the redirect problem try generating a new config file and see if that solves the problem.

1 Like