Open Tchiimy opened 1 year ago
I need to back this, this started to happen on my docker installation too and have no clue why. Any updated on this?
Any news on this, a hint, just something to start debugging? It is really annoying and effect the reliability of nextcloud.
Thanks
Outside of docker (NC set up with ./install.sh) and during installation, these issues appear to do with failing to restart redis if the configuration (redis.cfg or config.php) has been updated with fresh credentials. It may be easily avoided, comparing the redis systemd start time to the config file modification time and acting as needed. See: https://github.com/twojstaryzdomu/nextcloudpi/commit/68bc7ee173591d339b9f7f2efdc2e02fab732286
For me, in NCP-Docker this (https://github.com/nextcloud/nextcloudpi/issues/1652#issuecomment-1445141639) fixed my problem of seeing auth errors with redis. Adding the user "default" into the config.php redis configuration.
I did some more testing, and actually not the default user fixed the problem, but restarting php after the docker instance was booted. It seems that the password change, which is done on every restart for the docker installation is propagated to the redis config, but not all services are rebooted afterwards.
For now I do a restart of redis and php and the problems on my NCP docker instance disappeared.
service redis-server restart
service php8.1-fpm restart
I did some more testing, and actually not the default user fixed the problem, but restarting php after the docker instance was booted. It seems that the password change, which is done on every restart for the docker installation is propagated to the redis config, but not all services are rebooted afterwards.
For now I do a restart of redis and php and the problems on my NCP docker instance disappeared.
service redis-server restart
service php8.1-fpm restart
Thank you! That solved the Problem for me. Will there be an permanent solution?
This is something we need to ask @theCalcaholic :)
Hello,
I'm using the docker version of NextcloudPi on my RPI4 (OS 64 bits), I use an external HDD to store my files. Everything was well, but recently I have troubles to launch/use it and I don't know why…
When I launch the docker, my logs are this:
Two exceptions seems to be linked with Redis authentification :
And
I don't really know what could be the cause, someone has an idea ? I maybe presented the logs badly, is there a better to present them to facilitate the understanding ?