Closed Nemoran closed 5 months ago
Hi @Nemoran
thank you for the compliment about HomeGallery.
[2024-06-13 08:48:39.844]: index Updating file index for directory /data/Pictures
/app/node_modules/@home-gallery/index/dist/create.js:41
log.err(`Could not read files in ${dir}: ${err}`);
^
TypeError: log.err is not a function
is a overlapping error. The logger call is invalid and should be log.error(...)
which I have now fixed.
The reason why this error happens because the directory /data/Pictures
is somehow not readable. Your compose file looks OKish with
version: "3.9"
services:
gallery:
volumes:
- D:\Docker\HomeGallery\data:/data
# Mount your media directories below /data
- D:\Docker\HomeGallery\data\Pictures:/data/Pictures
However I do not have experience mounting a windows path D:\Docker\HomeGallery\data\Pictures
to the docker container path /data/Pictures
.
You can try to run
$ docker compose run --entrypoint /bin/sh gallery
~ # ls /data/Pictures/
and you should see your mounted folder inside the container.
Hope that helps
Hi @xemle,
thank you for your fast response! With the correct log output, I was able to resolve the issue.
HP Wolf Security creates some hidden "~Bromium" Folders, which can´t be processed within Docker, as there are now permissions. Uninstalling Wolf Security, helped :)
thx, Nemoran
Hi,
I recently installed HomeGallery as a Test on some old Notebook which was working absolutely fine. (Absolutely love this piece of software, as it is so intuitive and running so smooth!!) Now as I want to use it in production, Installed on some new Hardware, I am not able to import any Pictures after startup:
Compose File:
Not quite sure if this is some configuration error or some bug?
Would appreciateany help :) Thank you!