diff --git a/ct/homarr.sh b/ct/homarr.sh
index cc0aa2016..39c74a742 100644
--- a/ct/homarr.sh
+++ b/ct/homarr.sh
@@ -59,6 +59,7 @@ fi
     mv homarr-${RELEASE} /opt/homarr
     mv /opt/homarr-data-backup/.env /opt/homarr/.env
     cd /opt/homarr
+    pnpm install &>/dev/null
     pnpm run db:migration:sqlite:run &>/dev/null
     pnpm build &>/dev/null
     mkdir build