Passwordsalt missing from config.php

Hi :wave:

I have a problem similar to this. My upgraded nextcloud is complaining about:

The required secret config variable is not configured in the config.php file.

I tried setting a secret variable in the config. Made it impossible to login as do to:

Message: HMAC does not match.

I tried to build a new container image where I removed the secret from the foreach statement suggested in this thread. Where I still have:

The required secret config variable is not configured in the config.php file.
displayed.

Any suggestions on what to do next ?

Thanks