You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just merged in a commit which upgrades the version of postgres in the docker image. After I pulled this commit down to my local dev environment, I got an error telling me that my database was not compatible with this version of postgres.
The easiest way to fix this is to blow away docker and re-run docker compose up.
I opened Docker Desktop and went through each of the sections: Containers, Images, Volumes, Builds. I deleted everything that mentioned "hostedgpt"
I ran docker compose up in one terminal tab. It pulled down the image and rebuilt everything. I saw some database query errors as things were starting up, which surprised me.
Just to be safe in another terminal tab I ran docker compose run base rails db:setup. It seemed like it was already setup by this point so I don't think that was necessary.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We just merged in a commit which upgrades the version of postgres in the docker image. After I pulled this commit down to my local dev environment, I got an error telling me that my database was not compatible with this version of postgres.
The easiest way to fix this is to blow away docker and re-run
docker compose up.
docker compose up
in one terminal tab. It pulled down the image and rebuilt everything. I saw some database query errors as things were starting up, which surprised me.docker compose run base rails db:setup
. It seemed like it was already setup by this point so I don't think that was necessary.After this, just http://localhost:3000 and sign up again.
Beta Was this translation helpful? Give feedback.
All reactions