focallocal / fl-maps

The Public Happiness Movement: A platform bringing people and communities together to solve any and all societal issues. BTM branch is a project aiming to solve world involuntary homelessness. PHM brings communities together to create social initiatives for kindness and well-being.
https://publichappinessmovement.com
MIT License
143 stars 95 forks source link

Added back event filter on the map #1189

Closed zhna123 closed 1 year ago

zhna123 commented 1 year ago

This is to add back the event filter I've commented out earlier. screenshot:

image
AndyatFocallocal commented 1 year ago

@zhna123 sorry the platform is down. I couldnt get a date for the settings.enc.json file to e re-encoded so decided to update the main platform thinking that the worst that could happen is losing the React app for a week or two. Turns out we had a duplicated tag that somehow creeped into the database, and the latest version of Discourse checks for those and refuses to build.

We've almost fixed it now. I found the solution but the file editor we have on the server, Nano, isn't able to save a file as large as our database so it got truncated. @Marvelxy is going to make the DB edit on his local machine tomorrow and upload it, then i'll log in and restore our data to the platform.

AndyatFocallocal commented 1 year ago

No success i'm afraid. You can see where we're stuck at here: https://meta.discourse.org/t/modifying-the-database-inside-of-a-backup-to-remove-a-duplicate-key-tag-so-that-it-doesnt-fail-when-restoring/273039/13

Not helped as i'm currently driving from Portugal to Turkey for a family event and finding it very difficult to get online last week, and it'll be same for the coming week.

zhna123 commented 1 year ago

Okay. Thanks for letting me know.

AndyatFocallocal commented 1 year ago

@zhna123 Our platform is finally fixed! I had to teach myself databases to fix the corruption and it was a painfully slow process.