CLI uploads hanging for no apparent reason

So I'm trying to migrate my library from google photos right now but uploading via the cli is proving problematic. I followed the instruction in the gh discussion (and added a little to it as well) but now one of my album uploads just isn't working:
Uploading album: /home/covalent/remote1TB/gphotos-migration/Takeout/Google Photos/AlbumsProcessed/Photos
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 5807 local assets
Comparing local assets with those on the Immich instance...
A total of 3221 assets will be uploaded to the server
A total of 5807 assets will be added to album(s).
NOTE: some assets may already be associated with the album, this will not create duplicates.
Start uploading...
Upload Progress | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% || 0/5807 || Current file []
Uploading album: /home/covalent/remote1TB/gphotos-migration/Takeout/Google Photos/AlbumsProcessed/Photos
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 5807 local assets
Comparing local assets with those on the Immich instance...
A total of 3221 assets will be uploaded to the server
A total of 5807 assets will be added to album(s).
NOTE: some assets may already be associated with the album, this will not create duplicates.
Start uploading...
Upload Progress | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 0% || 0/5807 || Current file []
I've tried rebooting immich, restarting the upload, and well that's kinda it Any ideas would be appreciated
10 Replies
Covalent
CovalentOP2y ago
Also something to note is that once it gets to this state the cli just completely freezes the window I'm using tmux to manage sessions and I cannot use ctrl + C or ctrl + Z because the window is completely frozen The only way to get around this is to detach from the session and manually kill it
Covalent
CovalentOP2y ago
Hmm so despite the cli being a bit borked it does look like the photos got uploaded
No description
Alex Tran
Alex Tran2y ago
Hmm@probably rendering issue in Tmux?
Covalent
CovalentOP2y ago
possibly I've never had an issue with termux before like this though I'll wait for these processes to finish and try the uploads again hopefully all is well and it is just a visual bug
Alex Tran
Alex Tran2y ago
Faster way to verify maybe to exit out of Tmux session and run the CLI
Covalent
CovalentOP2y ago
It looks like the cli is getting stuck for real So when I run the upload command I get
Uploading album: /home/covalent/remote1TB/gphotos-migration/Takeout/Google Photos/AlbumsProcessed/Photos
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 5807 local assets
Comparing local assets with those on the Immich instance...
A total of 3221 assets will be uploaded to the server
A total of 5807 assets will be added to album(s).
Uploading album: /home/covalent/remote1TB/gphotos-migration/Takeout/Google Photos/AlbumsProcessed/Photos
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 5807 local assets
Comparing local assets with those on the Immich instance...
A total of 3221 assets will be uploaded to the server
A total of 5807 assets will be added to album(s).
And if I wait for like 20 minuets, kill the command, and run it again I get the exact same output This means that the assets that have not yet been uploaded to the server is not chaning
Medic97
Medic972y ago
Did you ever get this solved? my CLI is freezing after a few pictures and I cant get past it.
Covalent
CovalentOP2y ago
Unfortunately I have not figured it out
Alex Tran
Alex Tran2y ago
Do you have a log of the server when the CLI hang?
Medic97
Medic972y ago
I let it sit for a while seems there are like 4 files it didn't like uploading and eventually just passed them.

Did you find this page helpful?