504 error
Hello,
I am trying to import my videos but it stops suddenly with this error.
In the attached file
Can you help me with that please?
I use docker , here is my command line:
sudo docker run -it --rm -v "/media/2TO_raid1/Photos_US:/media/2TO_raid1/Photos_US" ghcr.io/immich-app/immich-cli:latest upload --key AmH5Qko5EmNq3LPMyADoSAwMlqWVYqmsJ80kpEwKE --server http://192.168.1.96:2283/api /media/2TO_raid1/Photos_US --recursive --import
Thanks
12 Replies
Did you add the volume
/media/2TO_raid1/Photos_US:/media/2TO_raid1/Photos_US
to the immich-server and immich-microservices ?
Yes I did in both volume section
The file is probably uploaded, just the response is timeout since the file is big and it take a while for the server to calculate the hash
Ok, that make sense because it's a big video. So what can I do to increase the timeout?
Ah this has to be done from the code
Is there a way to skip the videos that takes too much time? Or is it possible to add a section in the user interface in order to change the time out?
It should be uploaded so it won’t be uploaded again I believe
I think it is uploading all again even if it says there is only 620 element to upload:
Photos_US" ghcr.io/immich-app/immich-cli:latest upload --key AmH5Qko5EmNqzLPMyADoSAwMlqWVYqmsJ80kpEwKE --server http://192.168.1.96:2283/api /media/2TO_raid1/Photos_US --recursive --import
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user <email>
Indexing local assets...
Indexing complete, found 18725 local assets
Comparing local assets with those on the Immich instance...
A total of 620 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% 33/18725 Cur
I confirm, it's stop uploading when timeout occur
I noticed, the cli stops at 620 items so I am wondering if the sentence "a total of xxx assets will.." is correct
The CLI stops at 620 items and the report is "A total of 620 assets will be uploaded to the server" so it is correct, yes?
It's says 620 will be uploaded then it starts uploading, 18000 items then I noticed it's stop at 620 items
18000 is the total files, most were uploaded so when it said it will upload 620, it does exactly that. Agree that the message is a but confusing, we are working on a new CLI tool which will be more clear in term of feedback
Yes I think there is 18000 items to upload, most of them are uploaded. 620 items left to upload. It's all the items it can't upload. That make sense.
If you can add in the new cli an argument to manage the timeout it will be awesome 😁. Thanks for your amazing work guys