Update paperless-ngx-update.sh

Change migrate to long path
This commit is contained in:
tteckster 2022-09-26 20:28:39 -04:00 committed by GitHub
parent 2de6ed9d48
commit 8a64b5728a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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"