dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Lonlat Issue

Open michaelcox12 opened this issue 7 months ago • 1 comments

I believe this was posted as fixed for v0.25.9 but I'm still getting an error when logging in after updating

Image

Is there something I missed in the notes I need to update in the container code for this?

michaelcox12 avatar May 04 '25 18:05 michaelcox12

Looks like you have a Point (or multiple) in your database without lonlat. You could check the amount of Points without lonlat by running Point.where(lonlat: nil).count in a bundle exec rails console. It will print just the count.

But maybe you missed the hint in the ChangeLog about running rake points:migrate_to_lonlat to convert? (Part of 0.25.2 - 2025-03-21)

If you wish to destroy/delete those Objects, you could run the following command to destroy them: Point.where(lonlat: nil).destroy_all. Obviously that is destructive!

salzig avatar May 05 '25 20:05 salzig

Thanks, appreciate the help and this issue can be closed

michaelcox12 avatar May 10 '25 15:05 michaelcox12