Closed Waldorf3 closed 1 year ago
Does the server actually crash? Can you still accessing the web?
If you try to run the CLI again, is it reproducible on multiple runs?
Sorry, no the import process crash, not the server. My bad.
Yes, it is reproducable on multiple runs.
Are you sure it's crashing? It says all files were uploaded (0 failed items)
It says Upload Progress | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 2% || 1126/41893
... that looks like it hasn't completed, no?
Also, every time I restart it, it says
A total of 1126 assets will be uploaded to the server
That would kinda suggest there still are assets to be uploaded, no?
I have the same issue. Did an initial upload of the original 1000 photos. This failed somewhere in betweeen (my own fault). Then I started the upload again for the rest (let's say 200). immich-cli then tells me it will upload 200 of 1000 and then says that it is done at 20% at 200/1000 with the bar also at 20%. Overall this looks like all files were done, but the bar and division is misleading if it is indeed finished...
Would you be able to run a custom version of the cli script that give more logging? That could help us find the issue.
The CLI isn't very good right now and a rewrite is being worked on.
Sure, why not.
$ sudo docker logs immich-immich-machine-learning-1
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
/bin/sh: 0: cannot open ./entrypoint.sh: No such file
Seems the machine learning modules is crashing now. Is this related? v1.52.1
$ sudo docker logs immich-immich-machine-learning-1 /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file /bin/sh: 0: cannot open ./entrypoint.sh: No such file
Seems the machine learning modules is crashing now. Is this related? v1.52.1
I believe your docker-compose file is out of date
I also have the same error, which is the latest docker-compose file I should update mine to?
@bgriffen If you still have the same issue. Please open an issue or head over to Discord for faster support
The bug
Attempting to import additional photos to an existing setup crashes with a "Failed to upload 0 files []" error.
The OS that Immich Server is running on
Debian 11, Docker
Version of Immich Server
v1.52.1
Version of Immich Mobile App
n/a
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
docker logs show a lot of duplicate errors. There may be duplicate images in the import feed, but shouldn't the system be able to deal with that without crashing?