From 8a64b5728a4f6dc17fd6bc28d66c3b7063175495 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 26 Sep 2022 20:28:39 -0400 Subject: [PATCH] Update paperless-ngx-update.sh Change migrate to long path --- misc/paperless-ngx-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/paperless-ngx-update.sh b/misc/paperless-ngx-update.sh index 9d515ac3..daaecda5 100644 --- a/misc/paperless-ngx-update.sh +++ b/misc/paperless-ngx-update.sh @@ -60,8 +60,8 @@ cp -r /opt/paperless/paperless.conf paperless-ngx/ cp -r paperless-ngx/* /opt/paperless/ cd /opt/paperless pip install -r requirements.txt &>/dev/null -cd src -python3 manage.py migrate &>/dev/null +cd /opt/paperless/src +/usr/bin/python3 manage.py migrate &>/dev/null msg_ok "Updated to ${RELEASE}" msg_info "Cleaning up"