This is an automated archive made by the Lemmit Bot.
The original was posted on /r/nextcloud by /u/kriegalex on 2023-07-05 12:58:39+00:00.
For the full code reference, please look in the Github repository. The code is using kubectl kustomize
.
I have set up a K3S homelab test cluster and have Nextcloud working with MariaDB and Redis, and with either Apache or Nginx.
I’ve noticed an error message in the logging window.
RedisException: WRONGPASS invalid username-password pair or user is disabled.
Upon investigation, I also see that any call with occ ends up with an error.
$ php occ help
An unhandled exception has been thrown:
RedisException: NOAUTH Authentication required. in /var/www/html/lib/private/Memcache/Redis.php:72
Stack trace:
#0 /var/www/html/lib/private/Memcache/Redis.php(72): Redis->get('e3ff890d3a61f9c...')
Here are the things I’ve tested/checked:
- Redis secret generator does setup a password.
- Redis deployment does initiate a redis server with a password required (as a command).
redis-server "/etc/redis/redis.conf" "--requirepass $(REDIS_PASSWORD)"
3. Nextcloud ConfigMap does setup REDIS_HOST
and REDIS_HOST_PASSWORD.
4. I can echo the variables inside the redis container and inside the Nextcloud container.
5. If I install redis-cli inside the nextcloud container, I can redis-cli -h ... -p ... -a ... ping
with success.
6. If I monitor with redis-cli -a ... monitor
inside the redis container, I see things happening.
Since I’m a k3s beginner, I’m totally lost by now. Please send help.
Versions:
- Nextcloud 26 fpm alpine
- Nginx 1.25.1 alpine
- MariaDB 10.6 focal
- Redis 7.0.11 alpine