Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

update_sqlite.py will add ZIM even if they are already there. #3

Open
letompouce opened this issue Sep 8, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@letompouce
Copy link
Member

Scenario:

  • Visualize: a new container is created, ansiblecubepp runs, installs packages and ZIM.
  • The hypervisor is rebooted, or the container is stopped.
  • The container is started: ansiblecubepp will run again, and the package_management role will run updatesqlite.py again.
  • update_sqlite.py will re-add the ZIM to the database
  • ZIM cards are shown twice in the ideascube web interface.

The update_sqlite.py script should not add these ZIM if a previous run already added them.

@letompouce letompouce added the bug Something isn't working label Sep 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant