Failed opening the RDB file dump.rdb (in server root dir /pups) for saving: Permission denied

Hi,

I’m having the same problem as this post, but the solution there was to run postgres and redis on separate containers, but I don’t want to do that (yet).

This comment from @Falco uggests that I might have manually changed the permissions of /var/discourse/shared/standalone/redis_data/dump.rdb, but I just checked, and the permissions are as expected:

root@ip-10-0-0-28:/var/discourse/shared/web-only/redis_data# ls -n
total 696
-rw-r--r-- 1 106 110 709017 Aug 19 09:05 dump.rdb

Does anyone know why this rebuild is failing?

Thanks.

Weirdly resolved by moving “templates/redis.template.yml” from the bottom of to the top.

I have no idea why.