I use redis and it works fine with any password I want. How did you set a redis password and how do you know what it is? Can you show a screen capture of the app config where you set it? You’re in an existing thread, not sure I follow are you doing a fresh install or an existing install? For fresh, which someone said they were doing, the env var will do it.
For existing, it needs to be in config.php but you have to make sure that file is part of a hostpath so it doesn’t reset every time you start nextcloud. Can you show the existing config.php with your change?
This all is far more a nextcloud question than a truenas question though.
Followed also the other installation steps from that manual
Set ‘Admin Password’, ‘Redis Password’ and ‘Database Password’ to custom values
deployed the app successfully
verified that config.php took over the correct Redis password, that is the case
browsed to the NC login page
entered credentials that were used during setup, login page appears again.
reloaded page, same result
cleared browser cache, tried again, same result
Set REDIS_HOST_PASSWORD as suggested, same result
changed Redis password in App wizard to ‘nextcloud’ and manually took this over in config.php
login works fine
changed Redis password back to custom value → broken again
I feel the Redis password from app wizard is considered properly by Nextcloud but another part of the app/container just uses a hardcoded default password.
That explains it better, likely you are right, it’s likely an app error. You’d have to submit a bug report, don’t use apps so not sure how you do that.
Had same issue with log in after clean install. Solved like this:
Removed Host from Nextcloud Configuration then creating instance
Used nginx-proxy-manager to reverse proxy NextCloud with SSL cert and Set Domain.
Added domain to trusted_domains in config.php.
After this it worked. Reverse proxy idea born after I dug nextcloud internal logs and found:
HMAC does not match.
Could not decrypt or decode encrypted session data