Repository navigation
Replies: 2 comments
|
I found a Docker image volume-layout regression that matches your symptoms, and reproduced the mount behavior locally. The older image declared
With your existing parent bind mount, Docker creates anonymous volumes at those child paths, hiding the original directories inside To confirm, run this on the Docker host, replacing docker inspect lightnvr --format '{{range .Mounts}}{{println .Type .Source "->" .Destination}}{{end}}'If you see your parent Recovery on 0.45.1
volumes:
- /mnt/user/appdata/lightnvr/config:/etc/lightnvr
- /mnt/user/nvr-recording:/var/lib/lightnvr/data
- /mnt/user/nvr-recording/database:/var/lib/lightnvr/data/database
- /mnt/user/nvr-recording/recordings:/var/lib/lightnvr/data/recordings
- /mnt/user/nvr-recording/models:/var/lib/lightnvr/data/modelsVerify those source paths match your actual existing layout before starting: a missing bind source can become an empty directory. Keep your existing database and recording paths in
docker compose up -d --force-recreate lightnvrA restart alone does not change mounts. The explicit child binds should make the original database and recordings visible again. I've also prepared a local fix restoring the parent-only image volume declaration in both Dockerfiles, plus recovery documentation. All six Docker fixture checks passed across the two Dockerfiles for legacy parent mounts, separate child mounts, and the workaround above. That fix has not been committed or released yet, so the explicit mounts are the workaround for the currently affected image. |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey
im running currently a 0.43 release on unraid. tried to go to 0.45.1 with migration of chown of the data and recordings mounts and changed the pid folder in the ini. my compose has 2 mounts:
volumes: - /mnt/user/appdata/lightnvr/config:/etc/lightnvr - /mnt/user/nvr-recording:/var/lib/lightnvr/dataStart of the new version is working but it is started as a fresh instance with the install wizard and without any recordings?
any hints?
All reactions