Closed Harris-KA closed 1 year ago
Hello, which browser are you using? And can you open the developer panel using F12 and navigate to the Console
tab to see if there is any error popping up when you navigate to the map page?
Hi, I have tried Edge, Chrome and Brave. The error I get in the console is this:
Would you be able to share some data? This will contain the location (gps coordinates) of all assets, but no other sensitive information.
CTRL + S
Hi I can't upload jsons in comments so here is the document I added .txt on: map-marker.txt
The server sends invalid coordinates (null values) causing the map to crash when it encounters them. That's a bit strange, because the server shouldn't be able to send those values. The server version v1.15.9
you mentioned doesn't exist, could you check the version again?
Sorry I typed it in wrong, the version is v1.59.1 in unraid docker compose. Also the photos were uploaded through mobile backup if that helps but only the 82 are showing before it crashes.
The 83rd photo has invalid coordinates, so only showing 82 makes sense. Haven't been able to reproduce the issue, even with mobile uploads. Could you share the data returned by yourdomain.com/api/asset/assetById/4133570a-0700-43d9-beb7-709dad96cf50
?
{"id":"4133570a-0700-43d9-beb7-709dad96cf50","deviceAssetId":"1000020640","ownerId":"ad715c30-0d24-4d9e-88d3-2f35d5e085f4","deviceId":"fba61c25726651f4cdf1fa08c838f39b3f94f4ab6e837021d7d054581400c980","type":"IMAGE","originalPath":"upload/library/ad715c30-0d24-4d9e-88d3-2f35d5e085f4/2023/2023-05-17/IMG_9980.jpg","originalFileName":"IMG_9980","resized":true,"fileCreatedAt":"2023-05-17T15:26:03.000Z","fileModifiedAt":"2023-05-23T22:26:54.000Z","updatedAt":"2023-05-31T17:23:44.389Z","isFavorite":false,"isArchived":false,"mimeType":"image/jpeg","duration":"0:00:00.000000","exifInfo":{"make":"Apple","model":"iPhone 13 Pro","exifImageWidth":4032,"exifImageHeight":3024,"fileSizeInByte":1559892,"orientation":"6","dateTimeOriginal":"2023-05-17T15:26:03.000Z","modifyDate":"2023-05-17T15:26:03.000Z","timeZone":"UTC+1","lensModel":"iPhone 13 Pro back triple camera 1.57mm f/1.8","fNumber":1.8,"focalLength":1.6,"iso":800,"exposureTime":"1/60","latitude":null,"longitude":null,"city":null,"state":null,"country":null,"description":""},"smartInfo":{"tags":null,"objects":["person"]},"livePhotoVideoId":null,"tags":[],"people":[],"checksum":"SBwtl9FL41xzPLS6PrI/XTVfo38="}
Same problem here. I have quite a few pictures with invalid/empty coordinates. Until Version 1.58.0, it was fine, and Map tab was working fine. Having to identify these pictures and correct the EXIF data would be very boring. I would rather downgrade to 1.58.0 until there is a patch.
Oh v1.58.0 was fine? There haven't been any changes since directly related to the map. And what exactly do you mean with invalid/empty, are the latitude and longitude values null
or a number that is an invalid coordinate? Do you have the same error in the browser's console?
I'm having a hard time reproducing the issue, even with all the information already given.
EXIF tool is displaying GPS Latitude Ref: Unknown () Browser console is showing null
Are you able to share any asset that causes this problem?
Thank you, I can see the problem now. I'll start working on a fix.
Sorry, the problem was already there on 1.58.0. I will restore 1.57.1 and check again.
Confirmed, V1.57.1 was fine.
The bug
On the web on one certain account I recently added about 6000 photos to the map shows only 86 photos in Edinburgh but there is many with other geolocations and after I have gone into the map tab all the other buttons everywhere on the screen do not work and I have to type in the address again to navigate anywhere else. I have tried restarting the container and extracting all metadata again but nothing changes. Sorry if I'm wrong in any of this too I am new to this but am loving everything else!
The OS that Immich Server is running on
Docker in unraid
Version of Immich Server
v1.15.9
Version of Immich Mobile App
v1.59.0 build.82
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response