From fa00fed69496e0a1c2ee948138e8d1a595258ca9 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 11 Apr 2024 13:29:33 +0200 Subject: [PATCH] :bug: Fix issue with v2 manual migration script --- backend/scripts/run.template.sh | 2 +- backend/src/app/migrations/v2.clj | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/scripts/run.template.sh b/backend/scripts/run.template.sh index 345cef2fb..3d04cdcec 100644 --- a/backend/scripts/run.template.sh +++ b/backend/scripts/run.template.sh @@ -23,4 +23,4 @@ export JVM_OPTS="-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogMan ENTRYPOINT=${1:-app.main}; set -ex -exec $JAVA_CMD $JVM_OPTS "$@" -jar penpot.jar -m $ENTRYPOINT +exec $JAVA_CMD $JVM_OPTS -jar penpot.jar -m $ENTRYPOINT diff --git a/backend/src/app/migrations/v2.clj b/backend/src/app/migrations/v2.clj index 9d9d2e5bf..ff38087c0 100644 --- a/backend/src/app/migrations/v2.clj +++ b/backend/src/app/migrations/v2.clj @@ -57,8 +57,7 @@ migrated? (setup/get-prop system :v2-migrated false)] (when-not migrated? - (l/inf :hint "v2 migration started" - :files (:processed-files stats)) + (l/inf :hint "v2 migration started") (try (binding [feat/*stats* stats] (db/tx-run! system migrate-teams))