From 1e9311e67f0fc031e8099c568c92cfe6f942bd03 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 15:36:35 +0100 Subject: [PATCH] fix(teable): rm -rf static dir before symlinking The build creates /opt/teable/static/ as a real directory. ln -sf on an existing directory creates the symlink INSIDE it instead of replacing it. Must rm -rf first. --- install/teable-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/teable-install.sh b/install/teable-install.sh index 3c51560d..e8546d11 100644 --- a/install/teable-install.sh +++ b/install/teable-install.sh @@ -61,6 +61,7 @@ BACKEND_CACHE_SQLITE_URI=sqlite:///opt/teable/.assets/.cache.db NEXTJS_DIR=apps/nextjs-app EOF ln -sf /opt/teable /app +rm -rf /opt/teable/static if [ -d "/opt/teable/apps/nestjs-backend/static/static" ]; then ln -sf /opt/teable/apps/nestjs-backend/static/static /opt/teable/static else