Closed luis15pt closed 4 months ago
So you have a host called Docker
which has a folder /share/Fotos/Imagens
. Am I right to assume that this is not inside your Immich docker container but your Docker host that runs the Immich containers?
If so, what path have you mounted /share/Fotos/Imagens
to in the Immich containers? That's what root_path
is supposed to be set to.
So my Docker compose has the following:
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- ${EXTERNAL_PATH}:/usr/src/app/external
and my .env has:
EXTERNAL_PATH=/share/Fotos/Imagens
What should i be using ?
The correct call is python3 ./immich_auto_album.py /usr/src/app/external https://pics.example1.com/api my_key_here
, since Immich will only see your pictures under the folder /user/src/app/external/...
Amazing that solved the issue, maybe your documentation could be improved as it was not obvious to me this would be an issue.
Imported 229 Albums from over the 20,000 pictures!
This should really be built into the official Immich as a tool.
@Salvoxia i´ve put a suggestion to implement your script into Immich, https://github.com/immich-app/immich/discussions/10769
Amazing that solved the issue, maybe your documentation could be improved as it was not obvious to me this would be an issue.
Thanks for the suggestion, I added a section explaining what the root_path
is supposed to be.
Please let me know if you have suggestions to further clarify.
@Salvoxia i´ve put a suggestion to implement your script into Immich, https://github.com/immich-app/immich/ discussions/10769
Thanks! Let's see what's coming from that, but I imagine such a feature would be compounded into something like Nested Albums, which has been discussed for a long time now.
Hey, @Salvoxia thanks for your time to put together this tool!
i have abou 20,000 pictures in which i have put them into various folders:
root@Docker:/share/Fotos/Imagens# ls -l
root@Docker:/share/Container/immich#
python3 ./immich_auto_album.py /share/Fotos/Imagens https://pics.example1.com/api my_key_here
Output:What am i missing ?