This release fixes data migrations not being run. Updating to it from any previous versions will start data migration in background. They might take upto 3-5 minutes from the moment the sidekiq container started, so please be patient. If you're experiencing the undefined method 'y' for nil:NilClass
, after data migrations are done, it should be gone, so before posting an issue on Github, please make sure your sidekiq jobs are finished and reload the page.
If the error is still there, here is what you can do:
Ssh into dawarich container: docker exec -it CONTAINER_ID /bin/sh
Then:
- To remove duplicate points, run
rake data_cleanup:remove_duplicate_points
- To migrate points coordinates to
lonlat
column, runrake points:migrate_to_lonlat
- To activate your users, run
rake users:activate
This should solve basically all problems introduced in 0.25.0
If you still experiencing any errors, please post in Github Issues ❤️
Fixed
- Migration to add unique index to points now contains code to remove duplicates from the database.
- Issue with ESRI maps not being displayed correctly. #956
Added
rake data_cleanup:remove_duplicate_points
task added to remove duplicate points from the database and export them to a CSV file.rake points:migrate_to_lonlat
task added for convenient manual migration of points to the newlonlat
column.rake users:activate
task added to activate all users.
Changed
- Merged visits now use the combined name of the merged visits.
💙 This release is supported by Steven B., James Manolios, chenrik, aldumil, derpderpington, Chippie, dint, jhalpern, Lex Fradski, Schlufo, cyberswan.at, craftyklaus, JMyrng, Andre and Jonah B. on Patreon 💙
What's Changed
Full Changelog: 0.25.1...0.25.2