From 051e0d24e24d181a709d9da96c624f7960e07d02 Mon Sep 17 00:00:00 2001 From: Place Jean-Marie Date: Wed, 15 Dec 2021 23:03:03 +0100 Subject: [PATCH] execute migrate_logos as scodoc (not root) --- tools/migrate_from_scodoc7.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/migrate_from_scodoc7.sh b/tools/migrate_from_scodoc7.sh index 7d4132ca6..97f9d93e0 100755 --- a/tools/migrate_from_scodoc7.sh +++ b/tools/migrate_from_scodoc7.sh @@ -275,7 +275,7 @@ done su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask migrate-scodoc7-dept-archives)" "$SCODOC_USER" || die "Erreur de la post-migration des archives" # ----- Post-Migration: renomme logos en fonction des nouveaux ids -su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask migrate-scodoc7-dept-logos)" || die "Erreur de la post-migration des logos" +su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask migrate-scodoc7-dept-logos)" "$SCODOC_USER" || die "Erreur de la post-migration des logos" # --- Si migration "en place", désactive ScoDoc 7