From 1dd855ea8cbf0bf67c96b08fea21e0573c271320 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 28 Jun 2026 10:59:40 +0200 Subject: [PATCH] =?UTF-8?q?Doku:=20Wartungs-Cron=20f=C3=BCr=20notify=5Fpus?= =?UTF-8?q?h=20und=20Apps.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Watchtower nicht im Einsatz; nextcloud-maintain.sh wöchentlich dokumentiert. Co-authored-by: Cursor --- pve1/06_ubuntu-vm-nextcloud.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pve1/06_ubuntu-vm-nextcloud.md b/pve1/06_ubuntu-vm-nextcloud.md index 9f18ab4..76bf482 100644 --- a/pve1/06_ubuntu-vm-nextcloud.md +++ b/pve1/06_ubuntu-vm-nextcloud.md @@ -220,6 +220,27 @@ sudo iptables -t nat -S POSTROUTING sudo docker exec nextcloud curl -sI https://github.com | head -1 ``` +### notify_push + Apps im Sync halten + +**Kein Watchtower** auf der VM — Sidecar-Updates laufen über Wartungs-Cron. + +| Was | Wie | +|-----|-----| +| Apps + notify_push-Sync | `/usr/local/sbin/nextcloud-maintain.sh` (Sonntag 04:30 UTC) | +| Nextcloud-Image / Stack | Dockge: Pull + Redeploy | +| Background-Jobs | root-crontab alle 5 min (`background:cron`) | + +```bash +# Manuell ausführen +sudo /usr/local/sbin/nextcloud-maintain.sh + +# Log +sudo tail -f /var/log/nextcloud-maintain.log +sudo crontab -l +``` + +Ablauf Skript: `occ app:update notify_push` → `occ app:update --all` → `compose pull notify_push` → Sidecar restart → `notify_push:setup`. + --- ## Nützliche Befehle