rommapp / romm

A beautiful, powerful, self-hosted rom manager
https://romm.app
GNU Affero General Public License v3.0
2.34k stars 95 forks source link

Redis permission errors #1198

Closed paulmorabito closed 1 month ago

paulmorabito commented 1 month ago

Using the latest Romm via docker on Unraid. I have suddenly noticed these started at some point in the past weeks:

redis.exceptions.ResponseError: Command # 1 (DEL rq:scheduler_instance:28f2c120d7c148c1959b7f6fdea47b75) of pipeline caused error: MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
11:M 19 Sep 2024 05:50:17.014 * 100 changes in 300 seconds. Saving...
11:M 19 Sep 2024 05:50:17.015 * Background saving started by pid 545
545:C 19 Sep 2024 05:50:17.015 # Failed opening the temp RDB file temp-545.rdb (in server root dir /redis-data) for saving: Permission denied
11:M 19 Sep 2024 05:50:17.116 # Background saving error

/redis-data was owned by root and I have changed that and the dump.db file back to redis user. However, the errors are persisting. I have also noticed the total rom count has dropped so I guess romm has tried to update and failed, removing some entries.

/redis-data also has a lot of space so its not disk issues.

Any ideas on what I can do?

paulmorabito commented 1 month ago

seems to be a permissions error outside the container. Changed the actual folder to 777 and its working now but need to figure out what the correct permissions should be and why it suddenly stopped working.