Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync script does not reliably sync data #333

Open
cafca opened this issue Apr 23, 2020 · 3 comments
Open

Sync script does not reliably sync data #333

cafca opened this issue Apr 23, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@cafca
Copy link
Contributor

cafca commented Apr 23, 2020

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?

  • It should be the same number

What's the actual result?

  • There are currently 286 projects in fixmyplatform and 276 in fixmyplatform-develop
  • Also, individual project data is not congruent (e.g. project 340)

Additional details / screenshot

  • Screenshot
@cafca cafca added the bug Something isn't working label Apr 23, 2020
@cafca
Copy link
Contributor Author

cafca commented Apr 23, 2020

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 cafca added the platform label May 5, 2020
@cafca
Copy link
Contributor Author

cafca commented Sep 8, 2020

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.

@cafca cafca removed the platform label Sep 24, 2020
@ohrie
Copy link
Contributor

ohrie commented Apr 11, 2022

This is getting obsolete when migrating to Lightsail from Heorku.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants