Pictures not shown on the map / trip
OS & Hardware Synology Docker
Version 0.25.9
Describe the bug I have imported several picture points from photoprism. All pictures were made on the April 26th. E.G. meta data information in photoprism for a picture: 12:13 PM GMT+2 or 2:27 PM GMT+2 I have recorded the trip with OwnTracks on my iPhone Imported the points from photoprism.
When I create a trip from 04/26/2025 08:43 - 04/26/2025 08:00 PM I get the trip information. But no pictures from photoprism are shone - neither not "more pictures on photoprism".
only when I update the trip from 04/26/2025 08:43 - 04/27/2025 08:00 AM then pictures are shon on the map and Button "More photos on photoprism" is showing.
On the Map I selected same range: 04/26/2025 08:43 - 04/27/2025 08:00 AM there are no pictures shown - also with the Flag "Photos" not.
Is there a date / time format issue? Why are pictures not shown on the map? I do see on the left the sand-hour for a second when i activate the checkbox "Photos" - but nothing happens on the map.
I see in the Log some photoprism error - but I think the API is correct. Otherwise I couldn't import points from photoprism, right?
D, [2025-05-04T11:36:29.975519 #101] DEBUG -- : ↳ app/controllers/application_controller.rb:11:in 'ApplicationController#unread_notifications'
D, [2025-05-04T11:36:29.977137 #101] DEBUG -- : User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."api_key" = $1 LIMIT $2 [["api_key", "[FILTERED]"], ["LIMIT", 1]]
D, [2025-05-04T11:36:29.977756 #101] DEBUG -- : ↳ app/controllers/api_controller.rb:22:in 'ApiController#current_api_user'
E, [2025-05-04T11:36:30.005041 #101] ERROR -- : Photoprism API returned 400: {"code":400,"error":"Unable to do that"}
D, [2025-05-04T11:36:30.005152 #101] DEBUG -- : Photoprism API request params: {q: "", public: true, quality: 3, after: "2025-04-26T05:00", count: 1000, before: "2025-04-27T05:59"}
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Logs D, [2025-05-04T11:36:25.222364 #101] DEBUG -- : Place Load (49.0ms) SELECT "places".* FROM "places" WHERE "places"."id" IN ($1, $2) [["id", 1714], ["id", 21]]
D, [2025-05-04T11:36:25.223261 #101] DEBUG -- : ↳ app/controllers/api/v1/visits_controller.rb:6:in 'Enumerable#map'
I, [2025-05-04T11:36:25.224144 #101] INFO -- : {"method":"GET","path":"/api/v1/visits","format":"json","controller":"Api::V1::VisitsController","action":"index","status":200,"allocations":76263,"duration":62.65,"view":0.19,"db":50.9}
D, [2025-05-04T11:36:27.517420 #101] DEBUG -- : User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]
D, [2025-05-04T11:36:27.518579 #101] DEBUG -- : ↳ app/controllers/application_controller.rb:11:in 'ApplicationController#unread_notifications'
D, [2025-05-04T11:36:27.930961 #101] DEBUG -- : Point Pluck (406.1ms) SELECT "points"."lonlat", "points"."battery", "points"."altitude", "points"."timestamp", "points"."velocity", "points"."id", "points"."country" FROM "points" WHERE "points"."user_id" = $1 AND (timestamp >= $2 AND timestamp <= $3) ORDER BY "points"."timestamp" ASC [["user_id", 1], [nil, 1743717600], [nil, 1746395999]]
D, [2025-05-04T11:36:27.931501 #101] DEBUG -- : ↳ app/controllers/map_controller.rb:10:in 'MapController#index'
D, [2025-05-04T11:36:29.031220 #101] DEBUG -- : Rendering layout layouts/application.html.erb
D, [2025-05-04T11:36:29.031371 #101] DEBUG -- : Rendering map/index.html.erb within layouts/application
D, [2025-05-04T11:36:29.506191 #101] DEBUG -- : Notification Load (13.4ms) SELECT "notifications".* FROM "notifications" WHERE "notifications"."user_id" = $1 AND "notifications"."read_at" IS NULL ORDER BY "notifications"."created_at" DESC [["user_id", 1]]
D, [2025-05-04T11:36:29.507040 #101] DEBUG -- : ↳ app/views/shared/_navbar.html.erb:93
I, [2025-05-04T11:36:29.516857 #101] INFO -- : {"method":"GET","path":"/map","format":"html","controller":"MapController","action":"index","status":200,"allocations":3114101,"duration":2002.54,"view":472.63,"db":419.92}
D, [2025-05-04T11:36:29.583265 #101] DEBUG -- : User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."api_key" IS NULL LIMIT $1 [["LIMIT", 1]]
D, [2025-05-04T11:36:29.584184 #101] DEBUG -- : ↳ app/controllers/api_controller.rb:22:in 'ApiController#current_api_user'
I, [2025-05-04T11:36:29.584762 #101] INFO -- : {"method":"GET","path":"/api/v1/health","format":"/","controller":"Api::V1::HealthController","action":"index","status":200,"allocations":897,"duration":3.1,"view":0.12,"db":0.34}
I, [2025-05-04T11:36:29.795194 #92] INFO -- : {"method":"GET","path":"/api/v1/countries/borders.json","format":"json","controller":"Api::V1::Countries::BordersController","action":"index","status":200,"allocations":4941097,"duration":4667.53,"view":1542.79,"db":0.41}
D, [2025-05-04T11:36:29.974650 #101] DEBUG -- : User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]
D, [2025-05-04T11:36:29.975519 #101] DEBUG -- : ↳ app/controllers/application_controller.rb:11:in 'ApplicationController#unread_notifications'
D, [2025-05-04T11:36:29.977137 #101] DEBUG -- : User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."api_key" = $1 LIMIT $2 [["api_key", "[FILTERED]"], ["LIMIT", 1]]
D, [2025-05-04T11:36:29.977756 #101] DEBUG -- : ↳ app/controllers/api_controller.rb:22:in 'ApiController#current_api_user'
E, [2025-05-04T11:36:30.005041 #101] ERROR -- : Photoprism API returned 400: {"code":400,"error":"Unable to do that"}
D, [2025-05-04T11:36:30.005152 #101] DEBUG -- : Photoprism API request params: {q: "", public: true, quality: 3, after: "2025-04-26T05:00", count: 1000, before: "2025-04-27T05:59"}
I, [2025-05-04T11:36:30.006178 #101] INFO -- : {"method":"GET","path":"/api/v1/photos","format":"/","controller":"Api::V1::PhotosController","action":"index","status":200,"allocations":2715,"duration":33.57,"view":0.14,"db":1.27}
D, [2025-05-04T11:36:30.225317 #92] DEBUG -- : User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]
D, [2025-05-04T11:36:30.226267 #92] DEBUG -- : ↳ app/controllers/application_controller.rb:11:in 'ApplicationController#unread_notifications'
D, [2025-05-04T11:36:30.227731 #92] DEBUG -- : User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."api_key" = $1 LIMIT $2 [["api_key", "[FILTERED]"], ["LIMIT", 1]]
D, [2025-05-04T11:36:30.228419 #92] DEBUG -- : ↳ app/controllers/api_controller.rb:22:in 'ApiController#current_api_user'
I, [2025-05-04T11:36:30.230779 #92] INFO -- : {"method":"POST","path":"/api/v1/maps/tile_usage","format":"/","controller":"Api::V1::Maps::TileUsageController","action":"create","status":200,"allocations":1895,"duration":8.55,"view":0.0,"db":2.02}
Additional context Add any other context about the problem here.
I see the same errors and photos not showing on the map. Something has probably changed in Photoprism API because error 400 indicates that either a required field is missing or the value type of a field is wrong.