From ab6fe149b5b3379ac82862dca6363c3bdca27b3e Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 27 Mar 2026 15:20:53 +0100 Subject: [PATCH] fix(oxicloud): set OXICLOUD_STATIC_PATH to serve frontend The server defaults to ./static relative to the working directory. Without WorkingDirectory in the service, it looks at /static which doesn't exist, causing 404 on the web UI. Set the absolute path /opt/oxicloud/static in the .env file. --- install/oxicloud-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/oxicloud-install.sh b/install/oxicloud-install.sh index a53ffc0d7..00fc0005d 100644 --- a/install/oxicloud-install.sh +++ b/install/oxicloud-install.sh @@ -36,6 +36,7 @@ msg_info "Configuring OxiCloud" mkdir -p {/mnt/oxicloud,/etc/oxicloud} sed -e 's|_STORAGE_PATH=.*|_STORAGE_PATH=/mnt/oxicloud|' \ -e 's|_SERVER_HOST=.*|_SERVER_HOST=0.0.0.0|' \ + -e 's|OXICLOUD_STATIC_PATH=.*|OXICLOUD_STATIC_PATH=/opt/oxicloud/static|' \ -e "s|^#OXICLOUD_BASE_URL=.*|OXICLOUD_BASE_URL=http://${LOCAL_IP}:8086|" \ -e "s|_STRING=.*|_STRING=${DATABASE_URL}|" \ -e "s|DATABASE_URL=.*|DATABASE_URL=${DATABASE_URL}|" \