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

Internal Server Error #16

Open
Albert-is-an-undefined-variable opened this issue Mar 8, 2022 · 2 comments
Open

Internal Server Error #16

Albert-is-an-undefined-variable opened this issue Mar 8, 2022 · 2 comments

Comments

@Albert-is-an-undefined-variable

Good morning,

I have tried to install your application through docker compose, the 3 images are running okey but the port 5000 shows the following message
Captura de pantalla de 2022-03-08 17-26-34

I was wondering if you have any clue of what might be happening.

Thanks in advance for your time and attention

@romaingrx
Copy link

Maybe you should check the output of the docker-compose to get a clue about why there is an internal error. Just remove the "-d" argument to run it in foreground.

@thejanky
Copy link
Collaborator

thejanky commented Apr 1, 2022

Hey,
there was a problem with the postgres:latest pointing to a newer major release that was incompatible with the existing database dump. I pushed commit ( 1f4f766 ) that should resolve the issue for now.
Since the postgres-container won't rebuild an already existing database, you have to either run:

  • docker-compose down (If it is still runnning)
  • sudo rm -rf /srv/docker/postgresql/ (Note: This will permanently delete the existing postgresql-database and all of its contents! Make sure that you do not have any postgresql database using the same folder!)
  • docker-compose up -d

or run the following command inside the postgresql container using docker exec -it mesa_dna_sim_postgres_1 bash:

  • psql -U postgres
  • Now change the password for user "dna_sim" with the following command: \password dna_sim
  • Enter the new password: test1337 (if you change it to anything else: make sure to change it inside the docker-compose file accordingly and run docker-compose down && docker-compose up -d afterwards!)

These steps are only required if you already ran docker-compose up -d for the MESA repository and thus have an existing postgresql database!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants