cairis-platform / cairis

Computer Aided Integration of Requirements and Information Security - Server
https://cairis.org
Apache License 2.0
148 stars 57 forks source link

Restarting MySQL corrupts the installation #672

Closed jtagcat closed 9 months ago

jtagcat commented 9 months ago

Steps to reproduce the behaviour

Using jtagcat:docker from https://github.com/cairis-platform/cairis/pull/671

  1. docker compose up -d
  2. Wait 3 minutes for initialization
  3. docker compose down
  4. docker compose up -d
  5. Open the webpage

UI POST 400 /make_session image

Even if all data (including /tmp) is persisted in the MySQL container, and you only restart it, this is the result.

Workaround

I switched it from MySQL to MariaDB. Magically works. Didn't find the cause in an hour.