Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 525b056b91 | |||
| 6bc11d4c5e | |||
| e0aa51bac3 | |||
| 94d0b989d0 | |||
| 2780b065d2 | |||
| ef691a4308 |
@@ -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", "--rm", "-d",
|
"docker", "run", "-d",
|
||||||
"--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",
|
||||||
@@ -310,7 +310,7 @@ def trigger_update(config: Any, db_path: str) -> dict:
|
|||||||
"sleep 3 && "
|
"sleep 3 && "
|
||||||
"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 --no-deps -d netbird-msp-appliance"
|
"up --force-recreate --no-deps -d netbird-msp-appliance"
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
f9fa39b8080d_netbird-msp-appliance Created netbirdmsp-appliance-netbird-msp-appliance
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
netbird-msp-appliance Exited (0) 2 minutes ago 345ba59d123e
|
6ac6e489f490 netbirdmsp-appliance-netbird-msp-appliance:latest "sh -c 'sleep 3 && d…" About a minute ago Exited (1) About a minute ago msp-updater
|
||||||
netbird-kunde1-caddy Up About an hour caddy:2-alpine
|
45635ac38499 669dad48d4d2 "uvicorn app.main:ap…" 8 minutes ago Up 8 minutes (healthy) 0.0.0.0:8000->8000/tcp, [::]:8000->8000/tcp netbird-msp-appliance
|
||||||
netbird-kunde1-signal Up About an hour netbirdio/signal:latest
|
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
|
||||||
netbird-kunde1-dashboard Up About an hour netbirdio/dashboard:latest
|
564c613f112a netbirdio/signal:latest "/go/bin/netbird-sig…" 3 hours ago Up 2 hours netbird-kunde1-signal
|
||||||
netbird-kunde1-relay Up About an hour netbirdio/relay:latest
|
a98852970815 netbirdio/dashboard:latest "/usr/bin/supervisor…" 3 hours ago Up 2 hours 80/tcp, 443/tcp netbird-kunde1-dashboard
|
||||||
netbird-kunde1-management Up About an hour netbirdio/management:latest
|
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
|
||||||
docker-socket-proxy Up About an hour tecnativa/docker-socket-proxy:latest
|
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
|
||||||
|
|||||||
1
helper.txt
Normal file
1
helper.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Error response from daemon: No such container: msp-updater
|
||||||
30
logs.txt
Normal file
30
logs.txt
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
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
|
||||||
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 6bc11d4] alpha-1.6: test final update
|
||||||
|
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
|
||||||
|
e0aa51b..6bc11d4 unstable -> unstable
|
||||||
|
* [new tag] alpha-1.6 -> alpha-1.6
|
||||||
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