cyllab / CalcUS

Quantum Chemistry Web Platform
https://calcus.readthedocs.io
GNU General Public License v3.0
65 stars 19 forks source link

Data disappears after each restart #16

Closed wxyhgk closed 1 year ago

wxyhgk commented 1 year ago

Every time I run bash start.sh, all my data disappears

RaphaelRobidas commented 1 year ago

Hello, thanks for reporting this issue. I will need some more information to figure out what could be the problem:

It seems possible that the database isn't getting written to disk for some reason, and so the data is lost when it restarts.

wxyhgk commented 1 year ago

Hello, thanks for reporting this issue. I will need some more information to figure out what could be the problem:

  • Your operating system (Windows/Mac OS/Linux)
  • Docker logs, especially of the postgres service. On Mac OS and Linux, you can get them with the command docker-compose logs postgres
  • If you are using Mac OS or Linux, the output of the command ls -l in the directory that contains start.sh

It seems possible that the database isn't getting written to disk for some reason, and so the data is lost when it restarts.

I have solve this problem , I use docker-compose up or docker-compose stop to solve this

RaphaelRobidas commented 1 year ago

Okay, I will close this issue then since it is resolved. Thank you for sharing your solution.