Replies: 11 comments 54 replies
-
The JSON files have an unusual name:
This explain this You're the first to report such case. The takeout isn't easy to parse. Long file names are truncated using unclear rules. So, I'm surprised to have much longer name for the JSON files. I'm particularly curious how are named JSON files attached to photos with very long names... I have requested a fresh takeout, to see if something has changed. |
Beta Was this translation helpful? Give feedback.
-
Hello! I'm having this same issue. Must be a recent change with Google Takeout because I first started playing with immich-go a couple weeks ago and everything worked as expected. But a couple days ago I wiped my immich installation to start fresh and used a new takeout export and now I'm seeing this exact issue. Here's the summary of a dry run:
Here's the contents of one of the
Please let me know if there's any other information that would be helpful for you. Thanks for your great work on this project! |
Beta Was this translation helpful? Give feedback.
-
Thank you! As soon as it's available, I'll test it!
Paul
…On Mon, Feb 3, 2025 at 1:46 PM Jean François CASSAN < ***@***.***> wrote:
I'll release a new version in a couple of hours
—
Reply to this email directly, view it on GitHub
<#650 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCC5NBRJXC5QQ6VXB5PDED2N62RLAVCNFSM6AAAAABV2FPVYWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMBUGYYTMNQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
The new version worked very much better! Thank you!!
I attach 3 screenshots.
The first is a view of the finished run, with the statistics....
[image: immich-go successful run.png]
As you can see, it now uploaded a lot more files - 27156 as opposed to 35,
which is great! However, it still seems that there are a bunch of files
that didn't get uploaded. Is there a log somewhere that I can use to see
what didn't make it, and perhaps why? I'd love to help as much as I can.
The other 2 screenshots are just background material...
This is the view from "top", showing that gunicorn and immich use a fair
amount of CPU during the upload, but immich-go is not bad at all.[image:
immich-go top screenshot.png]
I'm not sure how lower power machines would cope, but for me, it's OK, as
my machine is reasonably high-spec for a home box...
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-52-generic (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Manufacturer: ASUS
The third screenshot is a view of iotop, showing that the network demands
of the api and immich are quite reasonable![image: immich-go iotop
screenshot.png]
Anyway....once again, thanks for Immich, and I am available to help test
and debug - just ask.
Paul
…On Tue, Feb 4, 2025 at 1:52 PM Jean François CASSAN < ***@***.***> wrote:
you may haven't noticed I have released a new RC this morning.
—
Reply to this email directly, view it on GitHub
<#650 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCC5NCOWYLFIRNFKQTQGJD2OEEARAVCNFSM6AAAAABV2FPVYWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMBVHA2TMMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Jean François, Again, thanks for Immich...it's excellent! I have no idea why the screenshots sign't show - I see them embedded in the GMAIL. but they are really only for info, and I see that the summary info as at the end of the logfile.....
Searching for "Error" in the logfile shows 40 hits The log file is 21M in size, and I see 40 hits on a simple search for error. They all appear to be the same error - here's one example...
Hope this helps, Paul |
Beta Was this translation helpful? Give feedback.
-
Here's a full copy of the log file, just for completeness. |
Beta Was this translation helpful? Give feedback.
-
First, I am thoroughly impressed with both immich, and immich-go. Great functionality, great engineering, and maybe I shouldn't say this but so far I haven't hit anything I would call a bug. You guys have done a fantastic job. I have never used git before, so pardon me if I don't know the customs. I have (and roughly fixed) a similar problem. In my case, I have many files that were uploaded to gphotos with the same name. So e.g. CLIP0001.AVI. In the takeout, there are now named CLIP0001(1).AVI, CLIP0001(2).AVI, etc. But, the jsons are named CLIP0001.AVI.supplemental-metadata(1).json. immich-go does not find a match for these. I created a crude script to fix the filenames, and it seems to have worked! Here is the script. It's my first bash script in probably 20 years so I'm sure it could be done better. PS I think the reason for the duplicate filenames, is I was using a camera with an SD card, and I would d/l the pics and then wipe the card, and the camera would start over on the naming. PPS the reason I branch the code for each extension, is that the number of dots in the filename changes. So there could be CLIP0001(1).AVI, but also CLIP0001.800(1).AVI. Rather than go crazy with regexp, I just hardcoded the extensions, and it has handled all the cases so far.
|
Beta Was this translation helpful? Give feedback.
-
BEFORE is the file names from GP. AFTER are the file names after I ran my
script to munge the filenames and copy some of the json files to fill in
the blanks.
What a mess google has created here. "supplemental-metadata" seems
completely unnecessary and then causes problems with the length.
I don't know if there are any in my data, but probably too long and
duplicate name can happen together also 🥺
…On Wed, Feb 12, 2025 at 11:37 AM Jean François CASSAN < ***@***.***> wrote:
Thanks for sharing the logs...
What's the difference between before and after files?
I quick glance to your lists. I have spotted following schemas:
-
the classical regular:
- IMAGE.jpg
- IMAGE.jpg.json
-
the new regular:
- IMAG0440.jpg
- IMAG0440.jpg.supplemental-metadata.json
-
duplicates name in the same directory:
- Scan35(1).jpg
- Scan35.jpg.supplemental-metadata(1).json
- CLIP0001(10).AVI
- CLIP0001.AVI.supplemental-metadata(10).json
-
but also 🤯 different way to process the duplicates
- VIDEO0036(1).mp4
- VIDEO0036(1).mp4.supplemental-metadata.json
- VIDEO0036.mp4.supplemental-metadata(1).json
-
too long to fit
- army.blue.v.steelers.2012.11.10.4.mp4
- army.blue.v.steelers.2012.11.10.4.mp4.suppleme.json
- dad.snowboard.2012.02.mp4
- dad.snowboard.2012.02.mp4.supplemental-metadat.json
- NEMO_MOVIE_TICKET_STUB.jpg.supplemental-metada.json
Immich-go must cope with all variations of takeout structures. at the same
time.
—
Reply to this email directly, view it on GitHub
<#650 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPT6WJAGL6JVWOX5B4437D2PN2D7AVCNFSM6AAAAABV2FPVYWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJXGYYTCNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just tried 0.23, got this in the log file: WRN missing associated metadata file file=Photos from 2023:20230512_193755-edited.jpg I made a few other tests and this is consistently an issue. In my bash script, I addressed this by just copying the json file for the original jpg and adding -edited to the name. That seemed to work. |
Beta Was this translation helpful? Give feedback.
-
I was getting a massive amount of errors on missing json files using 0.22 then I found this thread and the new version. Just ran 0.23 and its hanging on this error, going to post the tail of the log: 2025-02-14 09:46:25 INF Tagged file=takeout-20250213T052212Z-010:Takeout/Google Photos/Photos from 2011/IMG_2802.JPG tags=takeout-20250213T052212Z 2025-02-14 09:54:51 INF Thoughts? |
Beta Was this translation helpful? Give feedback.
-
I generated a Takeout archive a week ago and am still facing the same issue, even with the latest version. I'm happy to assist with anything needed.
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
Sorry if this is a daft question.
I have a large-ish (just over 202Gigs) Takeout directory (extracted from the compressed archives to a directory structure), and I'm trying to use immich-go to upload it all.
It seems to work partially, but I only see a tiny fraction of the files in the immich server. There are tens of thousand of photos and videos. but less than 25 in Immich.
I know that the uploader is changing rapidly, and I'd love to help with testing if I can.

My Takeout directory is structured as shown in the screenshot...
Immich-go says it's seeing 31553 images...see this screenshot...
my iimmich-go command is ....
/immich-go upload from-google-photos /local-12T/Google\ Photos/Takeout --api-key 853oJrfwOpiGB8XhASoAraVsQ8USDS156Eu1nLaNWZY --server http://10.0.0.37:2283
The log file seems OK, but shows that while it scanned 31553 images, it only uploaded 35 the first time, and now they are duplicates. Here are the last few lines of 102900...
Can anyone point me at where to start debugging or what is wrong with my immich-go command? I'm also available for live debugging (USA Eastern time).
Thanks,
Paul
Beta Was this translation helpful? Give feedback.
All reactions