CLI app crashes on Invalid time value

Hello, I am using the immich CLI to upload the images from my laptop to my local Immich installation. This goes fine for the majority of the images but now I am running into some errors that seems to stop the upload. Immich itself works without problems. Here is the output from CLI:
A total of 619 assets will be uploaded to the server
A total of 26932 assets will be added to album(s).
NOTE: some assets may already be associated with the album, this will not create duplicates.
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 2% || 619/26932 || Current file [/home/user/Pictures/Uitzoeken/MVI_0354.AVI]
Creating albums...
Upload Progress | ████████████████████████████████████████ | 100% || 2283/2283 || Current file [{filepath}]
Error asset: {
file: '/home/user/Pictures/2008 August Luna/DSC00007.JPG',
reason: RangeError: Invalid time value
at Date.toISOString (<anonymous>)
at /usr/lib/node_modules/immich/bin/index.js:321:47
at Generator.next (<anonymous>)
at fulfilled (/usr/lib/node_modules/immich/bin/index.js:29:58),
response: undefined
}
A total of 619 assets will be uploaded to the server
A total of 26932 assets will be added to album(s).
NOTE: some assets may already be associated with the album, this will not create duplicates.
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 2% || 619/26932 || Current file [/home/user/Pictures/Uitzoeken/MVI_0354.AVI]
Creating albums...
Upload Progress | ████████████████████████████████████████ | 100% || 2283/2283 || Current file [{filepath}]
Error asset: {
file: '/home/user/Pictures/2008 August Luna/DSC00007.JPG',
reason: RangeError: Invalid time value
at Date.toISOString (<anonymous>)
at /usr/lib/node_modules/immich/bin/index.js:321:47
at Generator.next (<anonymous>)
at fulfilled (/usr/lib/node_modules/immich/bin/index.js:29:58),
response: undefined
}
The Error asset happens 7 times for 7 different images. I have checked the file but there seems to be nothing odd about the image timestamp. I searched Github and Discord but cannot find the same issue. How can I find out what is going here? Is it perhaps a known problem? Thank you.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?