Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95ec6765c1 | |||
| c40b7d3bc6 | |||
| 525b056b91 | |||
| 6bc11d4c5e | |||
| e0aa51bac3 | |||
| 94d0b989d0 |
@@ -299,10 +299,10 @@ def trigger_update(config: Any, db_path: str) -> dict:
|
|||||||
own_image = "netbirdmsp-appliance-netbird-msp-appliance:latest"
|
own_image = "netbirdmsp-appliance-netbird-msp-appliance:latest"
|
||||||
|
|
||||||
helper_cmd = [
|
helper_cmd = [
|
||||||
"docker", "run", "-d",
|
"docker", "run", "-d", "--privileged",
|
||||||
"--name", "msp-updater",
|
"--name", "msp-updater",
|
||||||
"-v", "/var/run/docker.sock:/var/run/docker.sock",
|
"-v", "/var/run/docker.sock:/var/run/docker.sock:z",
|
||||||
"-v", f"{host_source_dir}:{host_source_dir}:ro",
|
"-v", f"{host_source_dir}:{host_source_dir}:ro,z",
|
||||||
*env_flags,
|
*env_flags,
|
||||||
own_image,
|
own_image,
|
||||||
"sh", "-c",
|
"sh", "-c",
|
||||||
@@ -311,7 +311,6 @@ def trigger_update(config: Any, db_path: str) -> dict:
|
|||||||
"docker compose -p netbirdmsp-appliance "
|
"docker compose -p netbirdmsp-appliance "
|
||||||
f"-f {host_source_dir}/docker-compose.yml "
|
f"-f {host_source_dir}/docker-compose.yml "
|
||||||
"up --force-recreate --no-deps -d netbird-msp-appliance"
|
"up --force-recreate --no-deps -d netbird-msp-appliance"
|
||||||
f">> {host_source_dir}/app/backups/updater.log 2>&1"
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
|
|||||||
9
containers.txt
Normal file
9
containers.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
|
b25f16030139 netbirdmsp-appliance-netbird-msp-appliance:latest "sh -c 'sleep 3 && d…" 2 minutes ago Exited (1) 2 minutes ago msp-updater
|
||||||
|
c7acab75017f f4446ac34896 "uvicorn app.main:ap…" 11 minutes ago Up 11 minutes (healthy) 0.0.0.0:8000->8000/tcp, [::]:8000->8000/tcp netbird-msp-appliance
|
||||||
|
878efa979680 caddy:2-alpine "caddy run --config …" 3 hours ago Up 2 hours 443/tcp, 2019/tcp, 443/udp, 0.0.0.0:9001->80/tcp, [::]:9001->80/tcp netbird-kunde1-caddy
|
||||||
|
564c613f112a netbirdio/signal:latest "/go/bin/netbird-sig…" 3 hours ago Up 2 hours netbird-kunde1-signal
|
||||||
|
a98852970815 netbirdio/dashboard:latest "/usr/bin/supervisor…" 3 hours ago Up 2 hours 80/tcp, 443/tcp netbird-kunde1-dashboard
|
||||||
|
11e100e21d81 netbirdio/relay:latest "/go/bin/netbird-rel…" 3 hours ago Up 2 hours 0.0.0.0:3478->3478/udp, [::]:3478->3478/udp netbird-kunde1-relay
|
||||||
|
aeae96bf691e netbirdio/management:latest "/go/bin/netbird-mgm…" 3 hours ago Up 2 hours netbird-kunde1-management
|
||||||
|
9cdda4d58e36 tecnativa/docker-socket-proxy:latest "docker-entrypoint.s…" 3 days ago Up 2 hours 2375/tcp docker-socket-proxy
|
||||||
80
logs.txt
80
logs.txt
@@ -1,50 +1,30 @@
|
|||||||
INFO: 127.0.0.1:35822 - "GET /api/health HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:34414 - "GET /lang/de.json HTTP/1.1" 304 Not Modified
|
||||||
INFO: 127.0.0.1:33932 - "GET /api/health HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:34414 - "GET /favicon.ico HTTP/1.1" 404 Not Found
|
||||||
INFO: 127.0.0.1:50284 - "GET /api/health HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:34424 - "GET /api/settings/branding HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49612 - "GET / HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:34424 - "GET /api/auth/azure/config HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49612 - "GET /css/styles.css HTTP/1.1" 304 Not Modified
|
INFO: 172.18.0.1:34424 - "GET /api/auth/me HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49610 - "GET /js/i18n.js HTTP/1.1" 304 Not Modified
|
INFO: 172.18.0.1:34424 - "GET /api/monitoring/status HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49632 - "GET /js/app.js HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:34414 - "GET /api/customers?page=1&per_page=25 HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49632 - "GET /lang/en.json HTTP/1.1" 200 OK
|
INFO: 127.0.0.1:34422 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49632 - "GET /favicon.ico HTTP/1.1" 404 Not Found
|
INFO: 172.18.0.1:34042 - "GET /api/settings/system HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49610 - "GET /lang/de.json HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:34042 - "GET /api/auth/mfa/status HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:49610 - "GET /api/settings/branding HTTP/1.1" 200 OK
|
2026-02-22 14:40:01,292 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
|
||||||
INFO: 172.18.0.1:49610 - "GET /api/auth/azure/config HTTP/1.1" 200 OK
|
2026-02-22 14:40:01,301 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
|
||||||
INFO: 127.0.0.1:59642 - "GET /api/health HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:49812 - "GET /api/settings/version HTTP/1.1" 200 OK
|
||||||
2026-02-22 13:56:39,498 [WARNING] passlib.handlers.bcrypt: (trapped) error reading bcrypt version
|
INFO: 127.0.0.1:54492 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
Traceback (most recent call last):
|
INFO: 127.0.0.1:36052 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
File "/usr/local/lib/python3.11/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
|
2026-02-22 14:40:57,656 [INFO] app.services.update_service: Database backed up to /app/backups/netbird_msp_20260222_144057.db
|
||||||
version = _bcrypt.__about__.__version__
|
2026-02-22 14:40:57,971 [INFO] app.services.update_service: git pull succeeded: Already up to date.
|
||||||
^^^^^^^^^^^^^^^^^
|
2026-02-22 14:40:57,988 [INFO] app.services.update_service: Rebuilding with GIT_TAG=alpha-1.7 GIT_COMMIT=c40b7d3 GIT_BRANCH=unstable
|
||||||
AttributeError: module 'bcrypt' has no attribute '__about__'
|
2026-02-22 14:40:57,988 [INFO] app.services.update_service: Phase A: building new image …
|
||||||
2026-02-22 13:56:39,929 [INFO] app.routers.auth: User admin logged in (provider: local).
|
2026-02-22 14:42:44,434 [INFO] app.services.update_service: Phase A complete — image built successfully.
|
||||||
INFO: 172.18.0.1:36450 - "POST /api/auth/login HTTP/1.1" 200 OK
|
2026-02-22 14:42:44,461 [INFO] app.services.update_service: Host source directory: /home/sascha/NetBirdMSP-Appliance
|
||||||
INFO: 172.18.0.1:36462 - "GET /api/customers?page=1&per_page=25 HTTP/1.1" 200 OK
|
2026-02-22 14:42:44,973 [INFO] app.services.update_service: Phase B: updater container started — this container will restart in ~5s.
|
||||||
INFO: 172.18.0.1:36450 - "GET /api/monitoring/status HTTP/1.1" 200 OK
|
2026-02-22 14:42:44,973 [INFO] app.routers.settings: Update triggered by admin.
|
||||||
INFO: 127.0.0.1:54154 - "GET /api/health HTTP/1.1" 200 OK
|
INFO: 172.18.0.1:46292 - "POST /api/settings/update HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:54490 - "GET /api/settings/system HTTP/1.1" 200 OK
|
INFO: 127.0.0.1:54584 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:54490 - "GET /api/auth/mfa/status HTTP/1.1" 200 OK
|
INFO: 127.0.0.1:33600 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
2026-02-22 13:57:10,815 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/branches/unstable "HTTP/1.1 200 OK"
|
INFO: 127.0.0.1:35272 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
2026-02-22 13:57:10,822 [INFO] httpx: HTTP Request: GET https://git.0x26.ch/api/v1/repos/BurgerGames/NetBirdMSP-Appliance/tags?limit=1 "HTTP/1.1 200 OK"
|
INFO: 127.0.0.1:44226 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
INFO: 172.18.0.1:57512 - "GET /api/settings/version HTTP/1.1" 200 OK
|
INFO: 127.0.0.1:48574 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
INFO: 127.0.0.1:52478 - "GET /api/health HTTP/1.1" 200 OK
|
INFO: 127.0.0.1:53686 - "GET /api/health HTTP/1.1" 200 OK
|
||||||
INFO: 127.0.0.1:47310 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
INFO: 127.0.0.1:47530 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
INFO: 127.0.0.1:41918 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
INFO: 127.0.0.1:45108 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
2026-02-22 13:59:53,200 [INFO] app.services.update_service: Database backed up to /app/backups/netbird_msp_20260222_135953.db
|
|
||||||
2026-02-22 13:59:54,630 [INFO] app.services.update_service: git pull succeeded: Already up to date.
|
|
||||||
2026-02-22 13:59:54,740 [INFO] app.services.update_service: Rebuilding with GIT_TAG=alpha-1.4 GIT_COMMIT=ef691a4 GIT_BRANCH=unstable
|
|
||||||
2026-02-22 13:59:54,741 [INFO] app.services.update_service: Phase A: building new image …
|
|
||||||
2026-02-22 14:03:51,162 [INFO] app.services.update_service: Phase A complete — image built successfully.
|
|
||||||
2026-02-22 14:03:51,242 [INFO] app.services.update_service: Host source directory: /home/sascha/NetBirdMSP-Appliance
|
|
||||||
2026-02-22 14:03:52,032 [INFO] app.services.update_service: Phase B: updater container started — this container will restart in ~5s.
|
|
||||||
2026-02-22 14:03:52,033 [INFO] app.routers.settings: Update triggered by admin.
|
|
||||||
INFO: 172.18.0.1:53362 - "POST /api/settings/update HTTP/1.1" 200 OK
|
|
||||||
INFO: 172.18.0.1:35312 - "POST /api/settings/update HTTP/1.1" 401 Unauthorized
|
|
||||||
INFO: 127.0.0.1:35534 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
2026-02-22 14:04:22,366 [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:04:22,376 [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:53602 - "GET /api/settings/version HTTP/1.1" 200 OK
|
|
||||||
INFO: 127.0.0.1:51374 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
INFO: 127.0.0.1:48640 - "GET /api/health HTTP/1.1" 200 OK
|
|
||||||
|
|||||||
0
network.txt
Normal file
0
network.txt
Normal file
10
out.txt
Normal file
10
out.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[unstable c40b7d3] alpha-1.7: final test
|
||||||
|
remote:
|
||||||
|
remote: Create a new pull request for 'unstable':
|
||||||
|
remote: https://git.0x26.ch/BurgerGames/NetBirdMSP-Appliance/pulls/new/unstable
|
||||||
|
remote:
|
||||||
|
remote: .. Processing 2 references
|
||||||
|
remote: Processed 2 references in total
|
||||||
|
To https://git.0x26.ch/BurgerGames/NetBirdMSP-Appliance.git
|
||||||
|
525b056..c40b7d3 unstable -> unstable
|
||||||
|
* [new tag] alpha-1.7 -> alpha-1.7
|
||||||
1
update_helper.txt
Normal file
1
update_helper.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
unable to get image 'netbirdmsp-appliance-netbird-msp-appliance': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/netbirdmsp-appliance-netbird-msp-appliance/json": dial unix /var/run/docker.sock: connect: permission denied
|
||||||
Reference in New Issue
Block a user