-
Hi, I'm trying to import some google photos and I get 'json file not found' for the 11 files in a test folder. I'm not sure what I'm doing wrong, but here's what I'm working with: folder: IMG_20140222_195200.jpg IMG_20140222_195215.jpg IMG_20140222_201647.jpg IMG_20140222_201648.jpg IMG_20140222_201650_1.jpg IMG_20140222_201652.jpg
IMG_20140222_195200.jpg.json IMG_20140222_195215.jpg.json IMG_20140222_201647.jpg.json IMG_20140222_201648.jpg.json IMG_20140222_201650_1.jpg.json IMG_20140222_201652.jpg.json
IMG_20140222_195208.jpg IMG_20140222_201646.jpg IMG_20140222_201648_1.jpg IMG_20140222_201649.jpg IMG_20140222_201650.jpg immich-go
IMG_20140222_195208.jpg.json IMG_20140222_201646.jpg.json IMG_20140222_201648_1.jpg.json IMG_20140222_201649.jpg.json IMG_20140222_201650.jpg.json metadata.json```
and here's the resulting output with debug:
```./immich-go -server=http://192.168.1.235:2283 -key={api-key} upload -dry-run -create-albums -google-photos -api-trace=true -log-level=debug ./```
```immich-go 0.11.0, commit 362d82b54c7e8ae14c4f23b39fffc0c022ba73ce, built at 2024-03-02T20:30:03Z
--------------------
GET http://192.168.1.235:2283/api/server-info/ping
X-Api-Key [{api-key}]
Accept [application/json]
--- BODY ---
Server status: OK
--------------------
GET http://192.168.1.235:2283/api/user/me
Accept [application/json]
X-Api-Key [{api-key}]
--- BODY ---
--------------------
GET http://192.168.1.235:2283/api/server-info/media-types
X-Api-Key [{api-key}]
Accept [application/json]
--- BODY ---
Connected, user: tmunster1@gmail.com
Ask for server's assets...
--------------------
POST http://192.168.1.235:2283/api/search/metadata
Content-Type [application/json]
Accept [application/json]
X-Api-Key [{api-key}]
{
"page": 1,
"withExif": true,
"isVisible": true
}
--- BODY ---
--------------------
POST http://192.168.1.235:2283/api/search/metadata
X-Api-Key [{api-key}]
Content-Type [application/json]
Accept [application/json]
{
"page": 2,
"withExif": true,
"isVisible": true
}
--- BODY ---
--------------------
POST http://192.168.1.235:2283/api/search/metadata
Content-Type [application/json]
Accept [application/json]
X-Api-Key [{api-key}]
{
"page": 3,
"withExif": true,
"isVisible": true
}
--- BODY ---
--------------------
POST http://192.168.1.235:2283/api/search/metadata
Content-Type [application/json]
Accept [application/json]
X-Api-Key [{api-key}]
{
"page": 4,
"withExif": true,
"isVisible": true
}
--- BODY ---
--------------------
POST http://192.168.1.235:2283/api/search/metadata
Content-Type [application/json]
Accept [application/json]
X-Api-Key [{api-key}]
{
"page": 5,
"withExif": true,
"isVisible": true
}
--- BODY ---
1012 asset(s) received
Browsing google take out archive...
File : IMG_20140222_195200.jpg:
Scanned image : IMG_20140222_195200.jpg:
File : IMG_20140222_195200.jpg.json:
Discarded : IMG_20140222_195200.jpg.json: Unknown json file
File : IMG_20140222_195208.jpg:
Scanned image : IMG_20140222_195208.jpg:
File : IMG_20140222_195208.jpg.json:
Discarded : IMG_20140222_195208.jpg.json: Unknown json file
File : IMG_20140222_195215.jpg:
Scanned image : IMG_20140222_195215.jpg:
File : IMG_20140222_195215.jpg.json:
Discarded : IMG_20140222_195215.jpg.json: Unknown json file
File : IMG_20140222_201646.jpg:
Scanned image : IMG_20140222_201646.jpg:
File : IMG_20140222_201646.jpg.json:
Discarded : IMG_20140222_201646.jpg.json: Unknown json file
File : IMG_20140222_201647.jpg:
Scanned image : IMG_20140222_201647.jpg:
File : IMG_20140222_201647.jpg.json:
Discarded : IMG_20140222_201647.jpg.json: Unknown json file
File : IMG_20140222_201648.jpg:
Scanned image : IMG_20140222_201648.jpg:
File : IMG_20140222_201648.jpg.json:
Discarded : IMG_20140222_201648.jpg.json: Unknown json file
File : IMG_20140222_201648_1.jpg:
Scanned image : IMG_20140222_201648_1.jpg:
File : IMG_20140222_201648_1.jpg.json:
Discarded : IMG_20140222_201648_1.jpg.json: Unknown json file
File : IMG_20140222_201649.jpg:
Scanned image : IMG_20140222_201649.jpg:
File : IMG_20140222_201649.jpg.json:
Discarded : IMG_20140222_201649.jpg.json: Unknown json file
File : IMG_20140222_201650.jpg:
Scanned image : IMG_20140222_201650.jpg:
File : IMG_20140222_201650.jpg.json:
Discarded : IMG_20140222_201650.jpg.json: Unknown json file
File : IMG_20140222_201650_1.jpg:
Scanned image : IMG_20140222_201650_1.jpg:
File : IMG_20140222_201650_1.jpg.json:
Discarded : IMG_20140222_201650_1.jpg.json: Unknown json file
File : IMG_20140222_201652.jpg:
Scanned image : IMG_20140222_201652.jpg:
File : IMG_20140222_201652.jpg.json:
Discarded : IMG_20140222_201652.jpg.json: Unknown json file
File : immich-go:
File type not supported : immich-go:
File : metadata.json:
Discarded : metadata.json: Unknown json file
Associating JSON and assets...
Done.
Ready to upload files
Error : IMG_20140222_195200.jpg: JSON File not found for this file
Error : IMG_20140222_195208.jpg: JSON File not found for this file
Error : IMG_20140222_195215.jpg: JSON File not found for this file
Error : IMG_20140222_201646.jpg: JSON File not found for this file
Error : IMG_20140222_201647.jpg: JSON File not found for this file
Error : IMG_20140222_201648.jpg: JSON File not found for this file
Error : IMG_20140222_201648_1.jpg: JSON File not found for this file
Error : IMG_20140222_201649.jpg: JSON File not found for this file
Error : IMG_20140222_201650.jpg: JSON File not found for this file
Error : IMG_20140222_201650_1.jpg: JSON File not found for this file
Error : IMG_20140222_201652.jpg: JSON File not found for this file
Managing albums
Scan of the sources:
24 files in the input
--------------------------------------------------------
11 photos
0 videos
0 metadata files
0 files with metadata
12 discarded files
1 files having a type not supported
0 discarded files because in folder failed videos
24 input total (difference 0)
--------------------------------------------------------
0 uploaded files on the server
0 upgraded files on the server
0 files already on the server
0 discarded files because of options
0 discarded files because duplicated in the input
0 discarded files because server has a better image
0 errors when uploading
0 handled total (difference 11) thanks for any help. |
Beta Was this translation helpful? Give feedback.
Answered by
simulot
Mar 9, 2024
Replies: 1 comment 5 replies
-
The import of takeout archive works when all parts of the archive are processed together. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if the format has changed.
To skip the tgz extraction, choose the zip format, largest size (50GB). Immich-go can handle a bunch of zip files at the same time