Hello,
I have a recurring issue with Nextcloud and I suspect this issue is from redis-server.
My YunoHost server
Hardware: VM on self managed Proxmox 8.2.2 micro-datacenter
YunoHost version: x.x.x
I have access to my server : Through SSH | through the webadmin | Proxmox Console
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: Nextcloud v29.0.2~ynh1
Description of my issue
To get help efficiently, please explain what you are trying to achieve, in which context, what you tried and provide detailed error messages and logs if you can.
Since Nextcloud update to 28.x, Nextcloud webapp display No files on the web app, but I can see 2.5Gb used. I’ve tried with multiple users on this instance. Computer synchronization with Nextcloud desktop client (on Linux) was always working. But since upgrade to 29.0.2, synchro fails too. I’m not using web access regularly, so it was not a big problem for me, but synchro is essential.
After many explorations and post review, I have tried to disable stop-writes-on-bgsave-error no
in redis.conf file, restarted redis-server service and Nextcloud starts to work properly.
I’ve checked the dump.rdb file :
sudo redis-check-rdb /var/lib/redis/dump.rdb
[offset 0] Checking RDB file /var/lib/redis/dump.rdb
[offset 27] AUX FIELD redis-ver = '6.0.16'
[offset 41] AUX FIELD redis-bits = '64'
[offset 53] AUX FIELD ctime = '1712365605'
[offset 68] AUX FIELD used-mem = '806922440'
[offset 84] AUX FIELD aof-preamble = '0'
[offset 86] Selecting DB ID 0
[offset 642672] Checksum OK
[offset 642672] \o/ RDB looks OK! \o/
[info] 548 keys read
[info] 0 expires
[info] 0 already expired
Except this test, Nextcloud (and redis) are installed from Yunohost package and package’s configuration. I haven’t changed anything.
I don’t understand what is redis and how it works, can you help me to understand what is bgsave and how that interact with Nextcloud ?
Is it a problem to leave stop-writes-on-bgsave-error no
in redis.conf file ?
Thank you for your replies.
I’ve also errors on Nextcloud admin page from the webapp related to .htaccess is not working and .well-known URL. That appears from a few days. I don’t know how it is managed by Yunohost configuration.