mirror of https://github.com/tteck/Proxmox.git
Update paperless-ngx-update.sh
Change migrate to long path
This commit is contained in:
parent
2de6ed9d48
commit
8a64b5728a
|
@ -60,8 +60,8 @@ cp -r /opt/paperless/paperless.conf paperless-ngx/
|
||||||
cp -r paperless-ngx/* /opt/paperless/
|
cp -r paperless-ngx/* /opt/paperless/
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
pip install -r requirements.txt &>/dev/null
|
pip install -r requirements.txt &>/dev/null
|
||||||
cd src
|
cd /opt/paperless/src
|
||||||
python3 manage.py migrate &>/dev/null
|
/usr/bin/python3 manage.py migrate &>/dev/null
|
||||||
msg_ok "Updated to ${RELEASE}"
|
msg_ok "Updated to ${RELEASE}"
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
|
|
Loading…
Reference in New Issue