From 2fb35ca0426fb010923fa63349be136041a75714 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 8 Dec 2025 22:15:30 +0100 Subject: [PATCH] redis permissions --- ct/homarr.sh | 2 ++ install/homarr-install.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ct/homarr.sh b/ct/homarr.sh index 805daa0fa..0e3e3d7ce 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -43,6 +43,8 @@ function update_script() { echo "REDIS_IS_EXTERNAL='true'" >> /opt/homarr/.env sed -i 's|^ExecStart=.*|ExecStart=/opt/homarr/run.sh|' /etc/systemd/system/homarr.service sed -i 's|^EnvironmentFile=.*|EnvironmentFile=-/opt/homarr.env|' /etc/systemd/system/homarr.service + chown -R redis:redis /appdata/redis + chmod 755 /appdata/redis # TODO: change in json systemctl daemon-reload cp /opt/homarr/.env /opt/homarr.env diff --git a/install/homarr-install.sh b/install/homarr-install.sh index 1457bf7a2..dfa28738b 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -48,6 +48,8 @@ EOF msg_ok "Installed Homarr" msg_info "Copying config files" +chown -R redis:redis /appdata/redis +chmod 755 /appdata/redis cp /opt/homarr/redis.conf /etc/redis/redis.conf rm /etc/nginx/nginx.conf mkdir -p /etc/nginx/templates