Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Photos found #86

Open
yodaphone opened this issue Dec 19, 2024 · 1 comment
Open

No Photos found #86

yodaphone opened this issue Dec 19, 2024 · 1 comment

Comments

@yodaphone
Copy link

yodaphone commented Dec 19, 2024

i ran the script via docker run and getting 0 photos found, but both the mount points have tons of photos in them

docker run   -e UNATTENDED="1"   -e API_URL="https://photos.domain.com/api/"   -e API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"   -e ROOT_PATH="/mnt/photos,/mnt/praks"   salvoxia/immich-folder-album-creator:latest   /script/immich_auto_album.sh
time=2024-12-19T00:55:18.543+00:00 level=INFO msg=Detected Immich server version 1.123.0
time=2024-12-19T00:55:18.544+00:00 level=INFO msg=Requesting all assets
time=2024-12-19T00:55:18.694+00:00 level=INFO msg=0 photos found
time=2024-12-19T00:55:18.694+00:00 level=INFO msg=Sorting assets to corresponding albums using folder name
time=2024-12-19T00:55:18.694+00:00 level=INFO msg=0 albums identified
time=2024-12-19T00:55:18.694+00:00 level=INFO msg=Album list: []
time=2024-12-19T00:55:18.694+00:00 level=INFO msg=Listing existing albums on immich
time=2024-12-19T00:55:18.818+00:00 level=INFO msg=0 existing albums identified
time=2024-12-19T00:55:18.818+00:00 level=INFO msg=Creating albums if needed
time=2024-12-19T00:55:18.818+00:00 level=INFO msg=0 albums created
time=2024-12-19T00:55:18.819+00:00 level=INFO msg=Adding assets to albums
time=2024-12-19T00:55:18.819+00:00 level=INFO msg=Done!

image

I added these paths & havent run "Scan All Libraries" as I want your tool to do it. Do i have to run scan libraries 1st?

@Salvoxia
Copy link
Owner

Do i have to run scan libraries 1st?

Yes. The way the script works is not by replacing scanning external libraries in Immich, but relies on Immich importing the images first, then creating album from the images Immich found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants