FixMyBerlin / fixmy.platform

Backend providing (geo)data and content for multiple applications
GNU Affero General Public License v3.0
11 stars 3 forks source link

Sync script does not reliably sync data #333

Open cafca opened 4 years ago

cafca commented 4 years ago

Issue description

The data-synchronisation script does not seem to sync data reliably.

Steps to reproduce the issue

  1. Look at the number of projects in Django Admin, after sync script has run during the night

What's the expected result?

What's the actual result?

Additional details / screenshot

cafca commented 4 years ago

Also, I noticed that the script does copy the database without setting the target system to maintenance mode. The app is still running during the backup process and executing database queries during the backup.

cafca commented 3 years ago

I found this in the documentation for Heroku Scheduler:

If you are using Heroku Scheduler and Container Registry as your deployment method, your task must be accessible from the web image. There is no way to specify a non-web image for task execution.

The Readme suggests that no web image is used.

ohrie commented 2 years ago

This is getting obsolete when migrating to Lightsail from Heorku.