Files
homelab-updaterandClaude Opus 5 aab8d4704c
ci / check (push) Successful in 41s
ci / publish (push) Successful in 21s
skills: one per compose project, imported from the old SKILL.md files, edited in the app
Facts about each app for the model (release notes, requirements such as database versions, STOP cases,
checks, the way back): table skills (migration v4), config/skills/<project>.md imported once from
the old system (frontmatter dropped, no secrets), added to the database at driver start when missing
and never overwritten, GET/POST /api/projects/:project/skill and a Skill panel on the app page.
Only the skill of the project the model works on will be loaded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-19 22:10:01 +02:00

37 lines
1.8 KiB
Markdown

# Nextcloud — VM103 (odczyt 2026-09-14)
Usługi: `app`, `cron` (ten sam obraz — aktualizuj razem), `db` (MariaDB 10.6), `redis`.
Obraz: `nextcloud:<wersja>-apache`. Bindy: `/srv/appdata/nextcloud/{db,redis,html,config,custom_apps}`.
Dane użytkowników: volume `next31_nfs-data` (NFS TrueNAS).
## Źródła
| README obrazu | https://github.com/nextcloud/docker |
|---|---|
| Release notes | https://nextcloud.com/changelog/ · https://github.com/nextcloud/server/releases |
| Wsparcie wersji | https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule |
| Zgłoszenia | https://github.com/nextcloud/server/issues |
| Przewodnik upgrade | https://docs.nextcloud.com/server/stable/admin_manual/maintenance/upgrade.html |
## Wersje
Tagi: `image_tags.sh nextcloud --pattern '^[0-9.]+-apache$' --current <obecny tag>`. Auto: `patch`.
Najpierw najnowszy patch majora, potem jeden major na krok. Brak downgrade'u.
Przed majorem: zgodność aplikacji zewnętrznych, zakończone migracje w tle. Teraz: 31.0.12 → 31.0.14.
## Przed zmianą
Maintenance mode on → stop `app` i `cron` → zmiana obu. `db`, `redis` bez zmian.
## Odbiór (limit 10 min)
```bash
C=/opt/homelab/compose/nextcloud/compose.yaml
docker compose -f $C exec -T --user www-data app php occ status --output=json # installed, bez maintenance, bez needsDbUpgrade
docker compose -f $C exec -T --user www-data app php occ config:app:get core lastcron # świeży
docker compose -f $C exec -T cron sh -c 'pidof crond'
```
Cztery kontenery działają, HTTPS odpowiada. Bez skanów i masowych zadań.
## STOP
Nieoczekiwana migracja/repair; oczekujący upgrade DB; stary `lastcron`; major bez świeżego `mysqldump`.
## Powrót
Po migracji schematu `rollback.sh` nie wystarcza: restore zrzutu MariaDB albo `qmrestore` nocnej kopii VM103.