From a technical point of view it is ok to have multiple events in your local database, but when the local database gets too large it might start to slow down the server.
What you don’t want to do is to start deleting data in the application itself, because this will also remove the data from the cloud database.
The solution is to reset the local database, which allows you to start with a clean database without deleting data on the cloud.

Before resetting the database, make sure that all competition data is synchronized to the cloud. Updates that have not been synchronized will be lost after the database reset.

Follow these steps to reset the database:

  1. Open the local database web page: http://localhost:5984/_utils
  2. On the home page of the web page, you will see the list of local databases, normally containing a single item called ‘scoreexpress’
  3. Remove the local database by clicking on the bin icon next to the database name. You will need to confirm the deletion by typing the name of the database.
  4. Now create the scoreexpress database again, by clicking the ‘Create Database’ button at the top of the page.
  5. In Docker desktop, restart the scoreexpress-app container. It is possible that the app will fail at the first restart. If this happens, restart it again.

Once the database is reset, you will need to synchronize the user account information again the ScoreExpress application.Then you are ready to download an event to the local server

Réaction

Était-ce utile?

Oui Non
Vous avez indiqué que ce sujet ne vous a pas été utile ...
Pouvez-vous SVP laisser un commentaire nous disant pourquoi? Merci!
Merci pour vos commentaires.

Laissez votre avis sur ce sujet.

Valider