From ba6d6bdc6a95187dbc29a19b54b30436c7b8671a Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 29 Nov 2022 10:33:32 -0500 Subject: [PATCH] Update paperless-ngx-install.sh switch back to v1.9.2 --- setup/paperless-ngx-install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup/paperless-ngx-install.sh b/setup/paperless-ngx-install.sh index 1a732217..cbf0b26e 100644 --- a/setup/paperless-ngx-install.sh +++ b/setup/paperless-ngx-install.sh @@ -137,10 +137,10 @@ msg_ok "Installed JBIG2" 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) cd /opt && - wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$Paperlessngx/paperless-ngx-$Paperlessngx.tar.xz &>/dev/null && - tar -xf paperless-ngx-$Paperlessngx.tar.xz -C /opt/ &>/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-v1.9.2.tar.xz -C /opt/ &>/dev/null && mv paperless-ngx paperless && - rm paperless-ngx-$Paperlessngx.tar.xz + rm paperless-ngx-v1.9.2.tar.xz cd /opt/paperless ## 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] WorkingDirectory=/opt/paperless/src -ExecStart=celery --app paperless beat --loglevel INFO +#ExecStart=celery --app paperless beat --loglevel INFO +ExecStart=python3 manage.py qcluster [Install] WantedBy=multi-user.target