Compare commits

..

5 Commits

Author SHA1 Message Date
MickLesk
faaf07cf86 Add --no-sync to Paperless uv run services
Updates Paperless NGX service handling so `uv run` commands consistently include `--no-sync`. The update script now patches all Paperless systemd units (`consumer`, `scheduler`, `task-queue`, and `webserver`) and adjusts the webserver `ExecStartPre` reindex command accordingly, then reloads systemd once after these edits. The install template comment was updated to match the new `ExecStartPre` form.
2026-09-12 14:20:49 +02:00
community-scripts-pr-app[bot]
ab5f20ec71 Update CHANGELOG.md (#17207)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-09-12 10:01:49 +00:00
CanbiZ (MickLesk)
0a48435ef9 poznote: serve from src/public docroot (#17187) 2026-09-12 12:01:26 +02:00
community-scripts-pr-app[bot]
9e22ffe10d Update CHANGELOG.md (#17206)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-09-12 09:53:19 +00:00
push-app-to-main[bot]
4412cc0eae gotenberg (#17205)
* Add gotenberg (ct)

* Update messages in gotenberg.sh for clarity

* Implement unoconverter update in gotenberg.sh

* Fix formatting and add Go version setup in script

* Update Gotenberg installation script for Go version

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-09-12 11:52:55 +02:00
5 changed files with 18 additions and 5 deletions

View File

@@ -542,10 +542,15 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2026-09-12
### 🆕 New Scripts
- gotenberg ([#17205](https://github.com/community-scripts/ProxmoxVE/pull/17205))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- poznote: serve from src/public docroot [@MickLesk](https://github.com/MickLesk) ([#17187](https://github.com/community-scripts/ProxmoxVE/pull/17187))
- calibre-web: use calibreweb release identifier to avoid version file collision [@MickLesk](https://github.com/MickLesk) ([#17186](https://github.com/community-scripts/ProxmoxVE/pull/17186))
## 2026-09-11

View File

@@ -169,9 +169,13 @@ function update_script() {
if ((BRIDGE_UPDATE == 0)); then
sed -i 's|^ExecStart=.*|ExecStart=uv run --no-sync -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"|' /etc/systemd/system/paperless-webserver.service
grep -q "document_index reindex" /etc/systemd/system/paperless-webserver.service ||
sed -i '/^ExecStart=/i ExecStartPre=uv run -- python manage.py document_index reindex --if-needed --no-progress-bar' /etc/systemd/system/paperless-webserver.service
$STD systemctl daemon-reload
sed -i '/^ExecStart=/i ExecStartPre=uv run --no-sync -- python manage.py document_index reindex --if-needed --no-progress-bar' /etc/systemd/system/paperless-webserver.service
fi
for svc in consumer scheduler task-queue webserver; do
unit="/etc/systemd/system/paperless-${svc}.service"
[[ -f "$unit" ]] && sed -i 's|uv run -- |uv run --no-sync -- |g' "$unit"
done
$STD systemctl daemon-reload
cd /opt/paperless
$STD uv sync --all-extras
cd /opt/paperless/src

View File

@@ -68,7 +68,7 @@ map \$uri \$poznote_coop {
server {
listen 8040;
root /var/www/html;
root /var/www/html/public;
index index.php index.html;
gzip on;
@@ -144,10 +144,12 @@ server {
}
location ~ ^/data/users/[0-9]+/backgrounds/ {
root /var/www/html;
try_files \$uri =404;
}
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
root /var/www/html;
try_files \$uri =404;
}

View File

@@ -151,7 +151,7 @@ Requires=redis.service
[Service]
WorkingDirectory=/opt/paperless/src
#ExecStartPre=uv run -- python manage.py document_index reindex --if-needed --no-progress-bar
#ExecStartPre=uv run --no-sync -- python manage.py document_index reindex --if-needed --no-progress-bar
ExecStart=uv run --no-sync -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"
Environment=GRANIAN_HOST=::
Environment=GRANIAN_PORT=8000

View File

@@ -46,7 +46,7 @@ map \$uri \$poznote_coop {
server {
listen 8040;
root /var/www/html;
root /var/www/html/public;
index index.php index.html;
gzip on;
@@ -122,10 +122,12 @@ server {
}
location ~ ^/data/users/[0-9]+/backgrounds/ {
root /var/www/html;
try_files \$uri =404;
}
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
root /var/www/html;
try_files \$uri =404;
}