From 17c823d97a555cfca7bfc7c9df555dbeeb7f3467 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Jul 2022 22:29:36 +0200 Subject: [PATCH] Update run.sh --- wger/rootfs/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wger/rootfs/run.sh b/wger/rootfs/run.sh index d29285f58..4e9d221eb 100644 --- a/wger/rootfs/run.sh +++ b/wger/rootfs/run.sh @@ -11,7 +11,8 @@ chown -R wger "$LOCATION" || true chmod -R 777 "$LOCATION" || true rm /home/wger/db/database.sqlite &>/dev/null || true ln -s "$LOCATION"/database.sqlite /home/wger/db -python3 manage.py migrate || true + +python3 /home/wger/src/manage.py migrate || true echo "Launch app" su -l wger -s /bin/bash -c "exec /home/wger/entrypoint.sh"