Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamps not being recognised in Immich #50

Open
oflaki opened this issue Dec 19, 2024 · 8 comments
Open

Timestamps not being recognised in Immich #50

oflaki opened this issue Dec 19, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@oflaki
Copy link

oflaki commented Dec 19, 2024

I'm uploading albums of photos through multiple albums within the plugin, and a vast majority of images are not showing up with the right timestamp.
I've run a test with a specific image to a test album.

Original timestamp:
Lightroom_sJY45iPB5r

timestamp showing up in immich:
firefox_fnE0NsmS8g

This is the log I am getting with the creation of this test album, and upload of the single image to that album:

12/19/2024 11:35:46 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:46 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:46 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:46 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:46 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:46 TRACE checkConnectivity: test OK.
12/19/2024 11:35:46 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:46 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:46 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:46 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:46 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:46 TRACE checkConnectivity: test OK.
12/19/2024 11:35:46 TRACE ImmichAPI: Preparing POST request http://192.168.X.XXX:2283/api/albums
12/19/2024 11:35:46 TRACE ImmichAPI: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:46 TRACE ImmichAPI: Postbody {"albumName":"Nain test"}
12/19/2024 11:35:46 TRACE ImmichAPI POST request succeeded: {"albumName":"Nain test","description":"","albumThumbnailAssetId":null,"createdAt":"2024-12-19T16:35:46.875Z","updatedAt":"2024-12-19T16:35:46.875Z","id":"91dfc672-a4c5-4358-95a6-d4f37d664afe","ownerId":"3949b89e-1b48-48de-a4e5-0146c36b871e","owner":{"id":"3949b89e-1b48-48de-a4e5-0146c36b871e","email":"server@xxxxxxxxx.com","name":"xxx","profileImagePath":"upload/profile/3949b89e-1b48-48de-a4e5-0146c36b871e/b8cb1574-5016-468b-b89a-6eeadd809f04.png","avatarColor":"amber","profileChangedAt":"2024-09-30T12:51:52.598Z"},"albumUsers":[],"shared":false,"hasSharedLink":false,"assets":[],"assetCount":0,"isActivityEnabled":true,"order":"desc"}
12/19/2024 11:35:48 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:48 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:48 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:48 TRACE checkConnectivity: test OK.
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing POST request http://192.168.X.XXX:2283/api/search/metadata
12/19/2024 11:35:48 TRACE ImmichAPI: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE ImmichAPI: Postbody {"deviceAssetId":"9067487","deviceId":"Lightroom Immich Upload Plugin","isTrashed":false}
12/19/2024 11:35:48 TRACE ImmichAPI POST request succeeded: {"albums":{"total":0,"count":0,"items":[],"facets":[]},"assets":{"total":0,"count":0,"items":[],"facets":[],"nextPage":null}}
12/19/2024 11:35:48 TRACE Asset with deviceAssetId 9067487 not found
12/19/2024 11:35:48 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:48 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:48 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:48 TRACE checkConnectivity: test OK.
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing POST request http://192.168.X.XXX:2283/api/search/metadata
12/19/2024 11:35:48 TRACE ImmichAPI: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE ImmichAPI: Postbody {"isTrashed":false,"originalFileName":"Nain Community__IMG_2471.jpg","takenAfter":"2024-02-21T11:27:26.94-05:30","takenBefore":"2024-02-21T11:27:26.94-05:30"}
12/19/2024 11:35:48 TRACE ImmichAPI POST request succeeded: {"albums":{"total":0,"count":0,"items":[],"facets":[]},"assets":{"total":0,"count":0,"items":[],"facets":[],"nextPage":null}}
12/19/2024 11:35:48 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:48 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:48 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:48 TRACE checkConnectivity: test OK.
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing multipart POST request http://192.168.X.XXX:2283/api/assets
12/19/2024 11:35:48 TRACE ImmichAPI: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:48 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:48 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:48 TRACE checkConnectivity: test OK.
12/19/2024 11:35:48 TRACE ImmichAPI: Preparing PUT request http://192.168.X.XXX:2283/api/albums/91dfc672-a4c5-4358-95a6-d4f37d664afe/assets
12/19/2024 11:35:48 TRACE ImmichAPI: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:48 TRACE ImmichAPI: Postbody {"ids":["0b40897e-517a-48f5-a5c1-afa211bd6e5e"]}
12/19/2024 11:35:48 TRACE ImmichAPI PUT request succeeded: [{"id":"0b40897e-517a-48f5-a5c1-afa211bd6e5e","success":true}]
12/19/2024 11:35:49 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:49 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:49 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:49 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:49 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:49 TRACE checkConnectivity: test OK.
12/19/2024 11:35:49 TRACE checkConnectivity: Sending getMyUser request
12/19/2024 11:35:49 TRACE ImmichAPI: Preparing GET request
12/19/2024 11:35:49 TRACE URL: http://192.168.X.XXX:2283/api/users/me
12/19/2024 11:35:49 TRACE API key: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:49 TRACE Request headers: { {
field = "x-api-key",
value = "j1edC9iK2mj..."
}, {
field = "Accept",
value = "application/json"
}, {
field = "Content-Type",
value = "application/json"
} }
12/19/2024 11:35:49 TRACE checkConnectivity: test OK.
12/19/2024 11:35:49 TRACE ImmichAPI: Preparing GET request http://192.168.X.XXX:2283/api/activities?albumId=91dfc672-a4c5-4358-95a6-d4f37d664afe&assetId=0b40897e-517a-48f5-a5c1-afa211bd6e5e
12/19/2024 11:35:49 TRACE ImmichAPI: j1edC9iK2mj904Wa1Cuh...
12/19/2024 11:35:49 TRACE ImmichAPI GET request succeeded

@oflaki oflaki added the bug Something isn't working label Dec 19, 2024
@bmachek bmachek self-assigned this Dec 19, 2024
@bmachek
Copy link
Owner

bmachek commented Dec 19, 2024

How do your export/publish settings look like concerning metadata in Lightroom? Do you include metadata on export?

@oflaki
Copy link
Author

oflaki commented Dec 19, 2024

Yes, I include all metadata.

bIQ6y5zloT

@bmachek
Copy link
Owner

bmachek commented Dec 19, 2024

Very odd. What happens when you upload the same image via web?

@oflaki
Copy link
Author

oflaki commented Dec 19, 2024

Interesting. So with my recent Lightroom catalog migration, the image are now showing up in windows under the same created and modified date as the migration date.
explorer_0Zk9vF1pMG

When I upload to immich directly via web, I get the migration date as time and date.
firefox_XaWEOU1Xl3

However, if I look under the "Details" tab, the image still states the correct "Date taken"
explorer_k4qaeIUusR

I wonder if this would be an issue on Immich side then...

@bmachek
Copy link
Owner

bmachek commented Dec 20, 2024

Weird, yes. What if you delete the images (including from trash) and reuplooad them then via Lightroom?
Alternatively you could try running the metadata extraction in Immich manually, and see if this fixes the issue....

@oflaki
Copy link
Author

oflaki commented Dec 20, 2024

Tried what you have suggested and still no luck.
The exif info states the correct original time/date. I checked the Immich logs, and it says it cant find the original date/time.
I opened a new issue in Immich about this.

@bmachek
Copy link
Owner

bmachek commented Jan 19, 2025

Any news on that? Can you link the Immich issue here please?

@oflaki
Copy link
Author

oflaki commented Jan 19, 2025

Still no news. It seems like a general Immich issue as other have reported similar issues. This is the issue I have reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants