|
Trying a named volume to persist cloudi-cli data, gets me this. |
Replies: 2 comments
|
@bonelifer thanks for including the Compose file and the full startup log. That confirmed a real gap in the named-volume setup we documented: I opened #70 to track the fix. v1.5.3 is being prepared so fresh volumes inherit the right owner, existing local volumes are repaired during normal Docker startup, and an unusable or read-only mount fails before CloudCLI starts. For the current image, you can repair that named volume once with: docker compose run --rm --user root --entrypoint sh holyclaude \
-c 'mkdir -p /home/claude/.cloudcli && chown -R ${PUID:-1000}:${PGID:-1000} /home/claude/.cloudcli'
docker compose up -dThat keeps the existing database files in place. Use it only for a local Docker volume, not a NAS, SMB/CIFS, or NFS mount, because SQLite locking is a separate issue on network storage. I’ll keep the tracking issue open until both image variants are published and the volume check passes against the release images. |
|
@bonelifer this is fixed in v1.5.3. Thanks again for posting the Compose file and startup log; they exposed a real problem in the named-volume setup we documented. Fresh Update with: docker compose pull
docker compose up -dThe published full and slim images passed the volume persistence checks on amd64 and arm64 in both Docker Hub and GHCR. |
@bonelifer this is fixed in v1.5.3. Thanks again for posting the Compose file and startup log; they exposed a real problem in the named-volume setup we documented.
Fresh
.cloudclivolumes now start with usable ownership. Existing local volumes are repaired during normal root-starting Docker startup afterPUID/PGIDis applied, and the container checksauth.dbplus existing SQLite sidecars before CloudCLI starts. The rootless Podman profile also now persists/home/claude/.cloudcliwith SELinux:Zlabeling.Update with:
The published full and slim images passed the volume persistence checks on amd64 and arm64 in both Docker Hub and GHCR.