--overwrite doesn't overwrite existing asset
I'm trying to reupload my google photos takeout to solve some weird errors using the --overwrite command. When I do this the --overwite command doesn't seem to work and I get the following message:
server has same asset file=takeout-20250602T063530Z-1-078:Takeout/Google Photos/Photos from 2022/VID_20221211_164646.mp4 reason=An asset with the same name:"VID_20221211_164646.mp4", date:"2022-12-11 12:46:46" │ │and size:75.7 MB exists on the server. No need to upload.
I used the command below on my unraid server:
./immich-go upload from-google-photos --server=my_url --api-key=1my_api_key --overwrite takeout-*.zip
Am I missing something?
I think the --overwrite option is available only for a raw folder import...
Why to reupload a file that already exists on the server? It will be rejected anyway by immich.
I think the --overwrite option is available only for a raw folder import...
Why to reupload a file that already exists on the server? It will be rejected anyway by immich.
The files aren't actually on the server but the database thinks it is. I'm trying to avoid a total rebuild but I guess that's what I'll be doing.
The CLI says that overwrite is a global flag and it will always overwrite
--overwrite Always overwrite files on the server with local versions
but this is not happening
I think the --overwrite option is available only for a raw folder import...
Why to reupload a file that already exists on the server? It will be rejected anyway by immich.
The files aren't actually on the server but the database thinks it is. I'm trying to avoid a total rebuild but I guess that's what I'll be doing.
Exactly this and overwrite flag doesn't overwrite
run immich-go with --log-level=DEBUG
You will get the full list of files available on the server.
run immich-go with
--log-level=DEBUGYou will get the full list of files available on the server.
I fixed it using the Immich CLI with the --skip-hash flag at least it seems like it will ping back when it's completed
Edit: Successfully uploaded 0 new assets (0 B) Skipped 8452 duplicate assets (94.6 GB)
Didn't worked rip
Would also like to upload some photos which are already existing but --overwrite doesn't work. I've updated the capture date of many fotos because immich didn't get them correct and now want to upload and overwrite them
Doing the changes via the WebGUI would take too much time so i hoped immich-go could help...but till now...nope
I've downloaded and edited existing photos from Immich and like to re-upload replacing the photos but the overwrite option does not work as I'd hoped. Thank you for the tool but is there any plan to implement overwrite exiting photos?