From a7a336452989ef1f942fd91f4c25a89017feb2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Oliveira?= Date: Wed, 14 Jan 2026 19:56:15 +0000 Subject: [PATCH] removes lock file before upgrading --- install/flatnotes-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/flatnotes-install.sh b/install/flatnotes-install.sh index 8470e015b..d480a7315 100644 --- a/install/flatnotes-install.sh +++ b/install/flatnotes-install.sh @@ -53,6 +53,7 @@ EnvironmentFile=/opt/flatnotes/.env ExecStart=/opt/flatnotes/.venv/bin/python -m uvicorn main:app --app-dir server --host 0.0.0.0 --port 8080 --proxy-headers Restart=on-failure RestartSec=10 +ExecStopPost=/bin/bash -c "rm -f /opt/flatnotes/uv.lock 2>/dev/null || true" [Install] WantedBy=multi-user.target