Closed jeromeperez closed 4 months ago
Thanks for reporting this, @jeromeperez. We'll have one of our maintainers look into it and see how we can help.
@jeromeperez The upgrade command isn't correct. You've found a mistake in our docs, thank you! It should be:
sudo docker compose -f docker-compose.yml up --pull always -d
Sorry about that; it was an oversight on our part.
Regarding your other steps, however, I'm concerned about the fact that you've pulled a fresh docker-compose.yml
file.
docker-compose.yml
with the new one? That's not needed (and could be a problem)SECRET_KEY
variable?If you change the SECRET_KEY
value between runs, it could very well cause the error you're seeing.
docker-compose.yml
file?I assume you were, but I'd like to confirm.
@jeromeperez The upgrade command isn't correct. You've found a mistake in our docs, thank you! It should be:
sudo docker compose -f docker-compose.yml up --pull always -d i rename my saved 0.1.4 file and after the sudo docker compose -f docker-compose.yml up --pull always -d command it's ok ;-)
Sorry about that; it was an oversight on our part.
Regarding your other steps, however, I'm concerned about the fact that you've pulled a fresh
docker-compose.yml
file.
- Did you already have Mathesar running on 0.1.4? From your closure of the previous issue Unable to reach server on port 8080 #3453 , it seems like you did.
- Did you replace your other
docker-compose.yml
with the new one? That's not needed (and could be a problem)- In particular, what did you do (if you replaced it) about copying over the value of the
SECRET_KEY
variable?If you change the
SECRET_KEY
value between runs, it could very well cause the error you're seeing.
- When you ran and got it back working on 0.1.4, were you using the older
docker-compose.yml
file?I assume you were, but I'd like to confirm.
Description
When i use
/etc/mathesar$ sudo docker compose -f /etc/mathesar/docker-compose.yml up --force-recreate --build service
the server doesn't accept connection if i use/etc/mathesar$ sudo docker compose -f /etc/mathesar/docker-compose.yml up
server is still in 0.1.4 versionExpected behavior
a functioning 0.1.5 version
To Reproduce
/etc/mathesar$ sudo wget https://github.com/mathesar-foundation/mathesar/raw/0.1.5/docker-compose.yml
Environment
Additional context
--> server doesn't accept connection![connexion_impossible](https://github.com/mathesar-foundation/mathesar/assets/22741807/d64ed8c6-2e84-4d34-95e8-fb095df69ee6)
--> server seems to be still in 0.1.4 version![no-upgrade0 1 5](https://github.com/mathesar-foundation/mathesar/assets/22741807/f95fe467-5a48-495d-b60a-c651dd938f3a)