Update paperless-ngx-install.sh

switch back to v1.9.2
This commit is contained in:
tteckster 2022-11-29 10:33:32 -05:00 committed by GitHub
parent dae1040a24
commit ba6d6bdc6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,10 +137,10 @@ msg_ok "Installed JBIG2"
msg_info "Downloading Paperless-ngx" msg_info "Downloading Paperless-ngx"
Paperlessngx=$(wget -q https://github.com/paperless-ngx/paperless-ngx/releases/latest -O - | grep "title>Release" | cut -d " " -f 5) Paperlessngx=$(wget -q https://github.com/paperless-ngx/paperless-ngx/releases/latest -O - | grep "title>Release" | cut -d " " -f 5)
cd /opt && cd /opt &&
wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$Paperlessngx/paperless-ngx-$Paperlessngx.tar.xz &>/dev/null && wget https://github.com/paperless-ngx/paperless-ngx/releases/download/v1.9.2/paperless-ngx-v1.9.2.tar.xz &>/dev/null &&
tar -xf paperless-ngx-$Paperlessngx.tar.xz -C /opt/ &>/dev/null && tar -xf paperless-ngx-v1.9.2.tar.xz -C /opt/ &>/dev/null &&
mv paperless-ngx paperless && mv paperless-ngx paperless &&
rm paperless-ngx-$Paperlessngx.tar.xz rm paperless-ngx-v1.9.2.tar.xz
cd /opt/paperless cd /opt/paperless
## python 3.10+ doesn't like the '-e', so we remove it from this the requirements file ## python 3.10+ doesn't like the '-e', so we remove it from this the requirements file
@ -201,7 +201,8 @@ Requires=redis.service
[Service] [Service]
WorkingDirectory=/opt/paperless/src WorkingDirectory=/opt/paperless/src
ExecStart=celery --app paperless beat --loglevel INFO #ExecStart=celery --app paperless beat --loglevel INFO
ExecStart=python3 manage.py qcluster
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target