HolyClaude icon indicating copy to clipboard operation
HolyClaude copied to clipboard

CloudCLI named volume fails with unable to open database file

Open CoderLuii opened this issue 4 months ago • 1 comments

Discussion #69 showed that the documented named volume for /home/claude/.cloudcli can start with ownership that prevents CloudCLI from opening auth.db.

The fix is being prepared for v1.5.3:

  • pre-create /home/claude/.cloudcli as the runtime user so fresh Docker volumes copy up usable ownership
  • repair existing local-volume ownership after PUID/PGID remapping during root-starting Docker startup
  • validate the directory and existing SQLite sidecar files as the user that launches CloudCLI
  • stop before CloudCLI starts when the mount is still read-only or unwritable
  • cover full and slim images, custom UID/GID mappings, existing state, and rootless Podman

This tracks the release and deployment work from discussion #69. Keep it open until the published Docker Hub and GHCR images pass the volume smoke test.

CoderLuii avatar Jul 23 '26 07:07 CoderLuii

Released in v1.5.3.

Fresh CloudCLI volumes now inherit usable ownership, and root-starting Docker containers repair existing local volume ownership after PUID/PGID remapping. Startup also checks .cloudcli, auth.db, and existing SQLite sidecars as the user that launches CloudCLI, so an unusable or read-only mount fails with a direct error before the service starts.

The rootless Podman profile now persists /home/claude/.cloudcli with :Z labeling. The supported update is:

docker compose pull
docker compose up -d

Full and slim v1.5.3 images passed the release volume checks on amd64 and arm64 in Docker Hub and GHCR. Closing this tracking issue now that the release is published.

CoderLuii avatar Jul 23 '26 09:07 CoderLuii