simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.5k stars 47 forks source link

Can't get GP takeout to restore albums #428

Closed CRCinAU closed 1 month ago

CRCinAU commented 1 month ago

I've been trying multiple imports to try and get albums included in the import to immich.

So far, no matter what I do, I can't seem to get this working... My latest command line I'm trying is:

./immich-go -server=X -key=Y upload -create-stacks=true -google-photos -create-albums=true -keep-untitled-albums -log-file=logfile.log -use-album-folder-as-name takeout-20240807T114245Z-001.zip

I also tried:

./immich-go -server=X -key=Y upload -create-stacks=true -google-photos -create-albums=true -keep-untitled-albums -log-file=logfile.log takeout-20240807T114245Z-001.zip

Using immich-go v0.21.1 and immich v1.111.0

I tried doing a second takeout export, and made sure to check all of the albums as well. Still doesn't seem to be create any albums in Immich.

Is there anything I should know or be trying with this?

ie, is this a side effect of using a Storage Template? Something else?

EDIT: After running through a second time - with the second command line above, stats show: image

Still no albums :(

simulot commented 1 month ago

Are you sure that the takeout contains the albums?

CRCinAU commented 1 month ago

How can I tell? There doesn't seem to be many options during the takeout process.

I used: image

Then the following: image

There doesn't seem to be any further options to change / select.

simulot commented 1 month ago

It should be OK Open the zip file, and check folders. Albums are placed in distinct folders.

Beware, google won't give you photos shared with you

CRCinAU commented 1 month ago

Hmmmm interesting.... The ZIP file just looks like: image

simulot commented 1 month ago

There is a curious "Locked Folder"... but no albums here

CRCinAU commented 1 month ago

The 'Locked Folder' just contains stuff that was in the private folder within Google Photos... Each folder just contains pictures and json metadata - I think its called the sidecar data?

Given the complete lack of options to change for the export, what is a guy to do in this scenario?

I've done a third export now and its in the middle of downloading again - just to see if theres anything different this time - but if its still the same, I'm not sure what to do...

simulot commented 1 month ago

You can click on the "All photos album included" to get the list of albums. Remember that shared albums contain only your own photos.

CRCinAU commented 1 month ago

Yeah - I think that might be the problem - the Albums that I shared with others - which is most of them aren't included...

I'm going through and removing all the sharing from everything - and hopefully, recreating some of the albums I care about and see if this fixes the problem.

simulot commented 1 month ago

It won't change anything if you don't own the photos. In that case, you'll end up in downloading the album from the googles photos web page. But you'll get low quality pictures and no metadata

CRCinAU commented 1 month ago

Yeah - I own all these photos - its just that I shared them with others....

I'm doing some sorting in Google Photos first - because it doesn't look like I can then create an album from within Immich and then add all photos from a group of locations...

I'm guessing this is probably the issue - as it seems like after I unshared the other albums, they disappeared from the Albums list.

I'll close this for now - because I really think that's the problem. As you mentioned, if the ZIP file doesn't include any Albums, then theres no way that they can be imported.