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

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 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

1 participant