Gan, Jimmy
7af1e3cfc4
fix: create nas-dashboard directory before copying compose file
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m14s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-04 17:51:07 +08:00
Gan, Jimmy
7dd2d6df9f
fix: use manual checkout instead of GitHub Actions
...
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Failing after 10m10s
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m22s
Gitea Actions runner cannot fetch actions from GitHub (connection reset).
Revert to manual git clone for checkout and direct tool installation.
2026-04-04 17:03:22 +08:00
Gan, Jimmy
55d3348085
fix: simplify CI workflows to run directly on runner without nested containers
...
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 15m27s
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Has started running
- Remove container blocks causing Docker-in-Docker permission issues
- Use actions/checkout@v4 instead of manual git cloning
- Use actions/setup-python@v5 and actions/setup-node@v4 for clean environments
- Remove nsenter workarounds and mount complexity
- Fix volume paths to use /volume1/docker/* directly
- Add /volume1/docker/claude-dev to runner valid_volumes config
This eliminates 20+ commits of permission/namespace hacks by letting
workflows run directly in the runner's environment which already has
Docker access and proper volume mounts configured.
2026-04-04 16:00:49 +08:00
Gan, Jimmy
4769297ab9
fix: use host path when executing deploy script via nsenter
Run Tests / Backend Tests (push) Failing after 14m37s
Run Tests / Frontend Tests (push) Failing after 13m3s
Run Tests / Test Summary (push) Failing after 56s
2026-04-04 12:44:25 +08:00
Gan, Jimmy
d588a48529
fix: write deploy script to host filesystem and execute via nsenter
Run Tests / Backend Tests (push) Failing after 2m5s
Run Tests / Frontend Tests (push) Failing after 7m35s
Run Tests / Test Summary (push) Failing after 11m28s
2026-04-04 11:37:47 +08:00
Gan, Jimmy
8e27885ca1
fix: add mount namespace (-m) to nsenter for filesystem access
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 5m53s
2026-04-04 11:32:37 +08:00
Gan, Jimmy
78aff7523e
fix: use full docker path in nsenter commands
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 3m7s
Run Tests / Backend Tests (push) Failing after 2m8s
Run Tests / Frontend Tests (push) Failing after 4m44s
Run Tests / Test Summary (push) Failing after 7m37s
2026-04-04 10:42:37 +08:00
Gan, Jimmy
f21f129a48
fix: add --pid=host to workflow container for nsenter access
Deploy Dashboard (Dev) / deploy-dev (push) Has started running
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 10:36:33 +08:00
Gan, Jimmy
3191381bbf
fix: use nsenter with privileged runner for deploy
Run Tests / Frontend Tests (push) Waiting to run
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m35s
Run Tests / Backend Tests (push) Failing after 3m24s
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 10:18:18 +08:00
Gan, Jimmy
0dbf647bb7
fix: use docker run with host network for deploy to avoid permissions issue
Deploy Dashboard (Dev) / deploy-dev (push) Waiting to run
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-04 10:11:41 +08:00
Gan, Jimmy
89d0b8d341
fix: use nsenter to run deploy in host network namespace
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 6m21s
Run Tests / Backend Tests (push) Has started running
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 10:02:43 +08:00
Gan, Jimmy
a401ba677c
fix: run workflow directly on host to avoid Docker-in-Docker network issues
Deploy Dashboard (Dev) / deploy-dev (push) Waiting to run
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 09:57:16 +08:00
Gan, Jimmy
9daf636fa0
docs: document Docker-in-Docker limitation preventing auto-deploy
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 6m10s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 09:47:20 +08:00
Gan, Jimmy
b432017c84
fix: use docker rm -f pattern to avoid network reconnection issues
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 09:41:13 +08:00
Gan, Jimmy
b594b8b37b
test: verify auto-deploy works after reverting name field
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m40s
Run Tests / Backend Tests (push) Failing after 2m17s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
2026-04-04 09:17:21 +08:00
Gan, Jimmy
80c964db3f
fix: revert to original working deploy approach
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 10m54s
Run Tests / Backend Tests (push) Failing after 4m18s
Run Tests / Frontend Tests (push) Failing after 7m49s
Run Tests / Test Summary (push) Failing after 1m0s
The 'name: nas-dashboard-dev' field added in commit a88f5b9 broke
auto-deployment by causing Docker Compose network connection errors.
Reverting to the original working approach:
- Remove 'name:' field from docker-compose.dev.yml
- Use simple 'docker compose up -d --pull never'
This worked for months before the recent changes.
2026-04-04 08:35:04 +08:00
Gan, Jimmy
2a8af8feea
fix: document manual deployment requirement
...
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 3m32s
Run Tests / Backend Tests (push) Failing after 1m24s
Run Tests / Frontend Tests (push) Failing after 4m49s
Run Tests / Test Summary (push) Failing after 6m42s
After extensive testing, Docker Compose cannot create containers with
external networks from within the workflow container due to Docker-in-Docker
limitations. The workflow now builds the image successfully and provides
clear instructions for manual deployment.
CI builds the image ✅
Manual deployment required for network-connected containers
2026-04-04 02:39:50 +08:00
Gan, Jimmy
391b7fcb54
fix: execute deploy script from mounted NAS volume
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m56s
Run Tests / Backend Tests (push) Failing after 1m44s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
The deploy script runs with the NAS host's Docker context,
avoiding Docker-in-Docker network issues. The script is mounted
at /nas-dashboard/deploy-dev.sh in the workflow container.
2026-04-04 02:26:07 +08:00
Gan, Jimmy
8514d5ea4b
fix: just restart container instead of recreating
...
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 3m14s
Run Tests / Backend Tests (push) Failing after 1m35s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
Docker restart will use the new image that was just built.
Avoids all the network reconnection issues from recreating the container.
Simple and proven to work.
2026-04-04 02:18:26 +08:00
Gan, Jimmy
431e2c0a5f
fix: execute docker commands on NAS host via SSH
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m8s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
The Docker-in-Docker limitation prevents creating containers with
external networks from within the workflow container. Execute the
deploy commands directly on the NAS host via SSH to avoid this issue.
This is similar to how manual execution works - running docker compose
directly on the host where all networks are accessible.
2026-04-04 02:13:10 +08:00
Gan, Jimmy
2f65691e15
fix: use docker rm -f pattern from working claude-dev workflow
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m25s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Replicate the proven approach from deploy-claude-dev-dev.yml:
- Use 'docker rm -f' to completely remove the old container
- Let compose create a fresh container from scratch
- Avoids the 'stop then recreate' flow that fails with network errors
This works because Docker Compose handles initial network connection
during 'up' differently than reconnection during recreate. The rm -f
approach succeeds even from the workflow container context.
2026-04-04 02:05:09 +08:00
Gan, Jimmy
2a8e5d4952
fix: stop then up instead of force-recreate
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m36s
Run Tests / Backend Tests (push) Failing after 2m14s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
force-recreate still tries to disconnect/reconnect networks which fails.
Use stop then up - compose will detect the image changed and recreate
the container automatically without network issues.
2026-04-04 01:52:58 +08:00
Gan, Jimmy
e396f77299
fix: use --force-recreate to update container in-place
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m21s
Run Tests / Backend Tests (push) Failing after 1m38s
Run Tests / Frontend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
This avoids disconnecting from networks which seems to cause issues
when run from the workflow container. Force recreate updates the
container without removing it first.
2026-04-04 01:36:18 +08:00
Gan, Jimmy
f27d414182
fix: cd to compose directory before running docker compose
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m26s
Run Tests / Backend Tests (push) Failing after 2m19s
Run Tests / Frontend Tests (push) Failing after 1m5s
Run Tests / Test Summary (push) Has been cancelled
The workflow needs to be in the same directory as the compose file
for docker compose to work properly. Manual execution worked, so
replicate that approach.
2026-04-04 01:26:56 +08:00
Gan, Jimmy
f19b70d179
fix: use docker stop/rm instead of compose down for deploy
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 5m51s
Run Tests / Backend Tests (push) Failing after 2m13s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
docker compose down may have issues with external networks or project names.
Use direct docker stop/rm commands instead.
2026-04-04 01:15:24 +08:00
Gan, Jimmy
e0cc38ecb5
fix: properly recreate container on deploy
...
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 6m18s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Use 'docker compose down' then 'up' instead of --no-recreate to ensure
the new image is used and avoid network connection errors.
2026-04-04 00:45:55 +08:00
Gan, Jimmy
2c7787dced
revert: disable BuildKit due to slow performance on NAS
...
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 14m20s
BuildKit operations (load dockerfile, load context, FROM) are taking 20-80s each
on the NAS due to filesystem/resource constraints. Legacy builder is faster.
Keeping pip mirror optimization which provides the real speed improvement.
2026-04-04 00:27:39 +08:00
Gan, Jimmy
ee72a891d5
perf: optimize build speed with pip mirror and BuildKit
Deploy Dashboard (Dev) / deploy-dev (push) Has started running
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-04 00:19:43 +08:00
Gan, Jimmy
7a50c070e1
fix: remove duplicate docker.sock mount from deploy workflows
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-03 23:49:45 +08:00
Gan, Jimmy
5e9fa2ba56
fix: add Docker socket mount to CI workflows
...
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
- Add /var/run/docker.sock mount to deploy-dev and deploy workflows
- Fixes docker build hanging indefinitely in CI
- Docker commands need socket access to communicate with daemon
2026-04-03 23:14:54 +08:00
Gan, Jimmy
af5b4d8411
fix: use --no-recreate to avoid network issues, fallback to create if needed
Deploy Dashboard (Dev) / deploy-dev (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 21:12:53 +08:00
Gan, Jimmy
f275e52843
fix: stop container before compose up to avoid network recreation issues
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m18s
Run Tests / Backend Tests (push) Failing after 16m28s
Run Tests / Frontend Tests (push) Failing after 16m26s
Run Tests / Test Summary (push) Failing after 17s
2026-04-02 10:29:31 +08:00
Gan, Jimmy
21d0cd9ff6
fix: simplify deploy to match production pattern - use idempotent docker compose up
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m32s
Run Tests / Backend Tests (push) Failing after 1m43s
Run Tests / Frontend Tests (push) Failing after 42s
Run Tests / Test Summary (push) Failing after 42s
2026-04-02 10:01:25 +08:00
Gan, Jimmy
e152de6fc8
fix: add --remove-orphans and remove force-recreate flag
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m4s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 09:54:19 +08:00
Gan, Jimmy
b425613941
fix: use docker-compose down to clean up networks properly
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m24s
Run Tests / Backend Tests (push) Failing after 42s
Run Tests / Frontend Tests (push) Failing after 1m0s
Run Tests / Test Summary (push) Failing after 14s
2026-04-02 09:37:47 +08:00
Gan, Jimmy
d72b2acf02
fix: disconnect networks and force recreate container
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m19s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Run Tests / Frontend Tests (push) Has been cancelled
2026-04-02 09:30:15 +08:00
Gan, Jimmy
09fdf5fd62
fix: stop and remove existing container before deploy to avoid network conflict
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m24s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-02 09:24:19 +08:00
Gan, Jimmy
dba4880445
fix: set DOCKER_API_VERSION=1.43 for NAS daemon compatibility
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m15s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
2026-04-02 09:15:59 +08:00
Gan, Jimmy
31d2ba2256
fix: add 60s timeout to registry mirror pre-pull to prevent CI hang
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 12m29s
2026-03-20 00:47:53 +08:00
Gan, Jimmy
61a3d0ae4b
fix: sync dashboard compose files during CI deploy
...
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 7m55s
Ensure dashboard deploy workflows copy tracked compose files into /nas-dashboard before docker compose up, so new SSH host mounts/envs (like Mac terminal) actually reach runtime.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-06 08:43:01 +08:00
Gan, Jimmy
ce061c1977
fix: scope deploy triggers and cancel stale workflow runs
...
Deploy Claude Dev (Dev) / deploy-claude-dev-dev (push) Waiting to run
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m9s
Limit workflow path triggers to each workflow file, add concurrency groups to cancel outdated runs, and checkout the exact triggering SHA for deterministic deploys.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-03 00:28:02 +08:00
Gan, Jimmy
20aa6f12a3
perf: add Docker layer caching to dev CI workflow
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 53s
2026-03-01 18:07:19 +08:00
Gan, Jimmy
4b32929dcc
feat: watchtower tracking, dev environment, security logs page
...
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 1m54s
- watchtower: docker-compose with label filtering, email notifications
- watchtower labels on navidrome, openclaw, immich services
- dev env: docker-compose.dev.yml (port 4001), deploy-dev.yml CI workflow
- dev.nas.jimmygan.com Caddy site block with Authelia forward_auth
- security page: backend router parsing Authelia/Caddy container logs
- security page: frontend with stats cards, timeline, top IPs, event log
- wired security route into App.svelte and Sidebar
2026-03-01 00:40:14 +08:00