Doku: Wartungs-Cron für notify_push und Apps.
Watchtower nicht im Einsatz; nextcloud-maintain.sh wöchentlich dokumentiert. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -220,6 +220,27 @@ sudo iptables -t nat -S POSTROUTING
|
|||||||
sudo docker exec nextcloud curl -sI https://github.com | head -1
|
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
|
## Nützliche Befehle
|
||||||
|
|||||||
Reference in New Issue
Block a user