fix(updater): add :z flag to docker volumes for SELinux

This commit is contained in:
2026-02-22 15:33:42 +01:00
parent 6bc11d4c5e
commit 525b056b91
6 changed files with 45 additions and 54 deletions

View File

@@ -1,40 +1,30 @@
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: 127.0.0.1:60204 - "GET /api/health HTTP/1.1" 200 OK
INFO: 127.0.0.1:37702 - "GET /api/health HTTP/1.1" 200 OK
INFO: 127.0.0.1:34872 - "GET /api/health HTTP/1.1" 200 OK
INFO: 127.0.0.1:49808 - "GET /api/health HTTP/1.1" 200 OK
2026-02-22 14:16:10,300 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:16:10,306 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:53698 - "GET /api/settings/version HTTP/1.1" 200 OK
2026-02-22 14:16:13,790 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:16:13,796 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:53698 - "GET /api/settings/version HTTP/1.1" 200 OK
INFO: 127.0.0.1:55164 - "GET /api/health HTTP/1.1" 200 OK
INFO: 172.18.0.1:55590 - "GET / HTTP/1.1" 200 OK
INFO: 172.18.0.1:55590 - "GET /js/app.js HTTP/1.1" 304 Not Modified
INFO: 172.18.0.1:55590 - "GET /lang/en.json HTTP/1.1" 304 Not Modified
INFO: 172.18.0.1:55590 - "GET /lang/de.json HTTP/1.1" 304 Not Modified
INFO: 172.18.0.1:55590 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 172.18.0.1:55590 - "GET /api/settings/branding HTTP/1.1" 200 OK
INFO: 172.18.0.1:55590 - "GET /api/auth/azure/config HTTP/1.1" 200 OK
INFO: 172.18.0.1:55590 - "GET /api/auth/me HTTP/1.1" 200 OK
INFO: 172.18.0.1:55590 - "GET /api/monitoring/status HTTP/1.1" 200 OK
INFO: 172.18.0.1:55588 - "GET /api/customers?page=1&per_page=25 HTTP/1.1" 200 OK
INFO: 172.18.0.1:37544 - "GET /api/settings/system HTTP/1.1" 200 OK
INFO: 172.18.0.1:37544 - "GET /api/auth/mfa/status HTTP/1.1" 200 OK
2026-02-22 14:16:58,896 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:16:58,906 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:37552 - "GET /api/settings/version HTTP/1.1" 200 OK
INFO: 127.0.0.1:57972 - "GET /api/health HTTP/1.1" 200 OK
INFO: 127.0.0.1:59030 - "GET /api/health HTTP/1.1" 200 OK
2026-02-22 14:17:44,793 [INFO] app.services.update_service: Database backed up to /app/backups/netbird_msp_20260222_141744.db
2026-02-22 14:17:45,142 [INFO] app.services.update_service: git pull succeeded: Already up to date.
2026-02-22 14:17:45,160 [INFO] app.services.update_service: Rebuilding with GIT_TAG=alpha-1.5 GIT_COMMIT=94d0b98 GIT_BRANCH=unstable
2026-02-22 14:17:45,160 [INFO] app.services.update_service: Phase A: building new image …
2026-02-22 14:20:39,486 [INFO] app.services.update_service: Phase A complete — image built successfully.
2026-02-22 14:20:39,507 [INFO] app.services.update_service: Host source directory: /home/sascha/NetBirdMSP-Appliance
2026-02-22 14:20:40,068 [INFO] app.services.update_service: Phase B: updater container started — this container will restart in ~5s.
2026-02-22 14:20:40,069 [INFO] app.routers.settings: Update triggered by admin.
INFO: 172.18.0.1:51826 - "POST /api/settings/update HTTP/1.1" 200 OK
INFO: 127.0.0.1:36054 - "GET /api/health HTTP/1.1" 200 OK
INFO: 172.18.0.1:54920 - "GET /api/customers?page=1&per_page=25 HTTP/1.1" 200 OK
INFO: 172.18.0.1:38426 - "GET /api/settings/system HTTP/1.1" 200 OK
INFO: 172.18.0.1:38426 - "GET /api/auth/mfa/status HTTP/1.1" 200 OK
2026-02-22 14:26:24,600 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:26:24,610 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:53830 - "GET /api/settings/version HTTP/1.1" 200 OK
INFO: 127.0.0.1:46712 - "GET /api/health HTTP/1.1" 200 OK
2026-02-22 14:26:51,522 [INFO] app.services.update_service: Database backed up to /app/backups/netbird_msp_20260222_142651.db
2026-02-22 14:26:51,823 [INFO] app.services.update_service: git pull succeeded: Already up to date.
2026-02-22 14:26:51,846 [INFO] app.services.update_service: Rebuilding with GIT_TAG=alpha-1.6 GIT_COMMIT=6bc11d4 GIT_BRANCH=unstable
2026-02-22 14:26:51,847 [INFO] app.services.update_service: Phase A: building new image …
2026-02-22 14:29:45,287 [INFO] app.services.update_service: Phase A complete — image built successfully.
2026-02-22 14:29:45,305 [INFO] app.services.update_service: Host source directory: /home/sascha/NetBirdMSP-Appliance
2026-02-22 14:29:46,017 [INFO] app.services.update_service: Phase B: updater container started — this container will restart in ~5s.
2026-02-22 14:29:46,017 [INFO] app.routers.settings: Update triggered by admin.
INFO: 127.0.0.1:34660 - "GET /api/health HTTP/1.1" 200 OK
INFO: 172.18.0.1:41348 - "GET /api/monitoring/status HTTP/1.1" 200 OK
INFO: 172.18.0.1:41362 - "GET /api/customers?page=1&per_page=25 HTTP/1.1" 200 OK
2026-02-22 14:29:46,083 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:29:46,090 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:41362 - "GET /api/settings/system HTTP/1.1" 200 OK
INFO: 172.18.0.1:41362 - "GET /api/auth/mfa/status HTTP/1.1" 200 OK
2026-02-22 14:29:51,064 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:29:51,071 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:41362 - "GET /api/settings/version HTTP/1.1" 200 OK
INFO: 127.0.0.1:39688 - "GET /api/health HTTP/1.1" 200 OK
2026-02-22 14:30:21,600 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
2026-02-22 14:30:21,606 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
INFO: 172.18.0.1:34698 - "GET /api/settings/version HTTP/1.1" 200 OK
INFO: 127.0.0.1:48454 - "GET /api/health HTTP/1.1" 200 OK