Closed stratosgear closed 4 years ago
@stratosgear I see the problem. The database structure has changed since the Docker support was added and the https://github.com/brettkromkamp/contextualise/blob/master/sql_init.sh has not been updated accordingly. I'll fix that specific problem later today.
@stratosgear Should be fixed with this commit: https://github.com/brettkromkamp/contextualise/commit/72dcff1367096dfccd70952c3aa6ba07599447fb
Could you checkout the master branch and try again (I have not incorporated your suggested fix - could you submit a PR to address that specific issue)?
Yes the new sql_init.sh
fixes the issue.
Had to:
docker volume rm contextualize_pg_data
)before the changes would take effect, but they did right after I did the above.
Thanks!
My Docker knowledge is sketchy at best. Any suggestions for improvements are more than welcome ;)
Nothing wrong with the steps I took to fix the errors, there is nothing to improve here. I just listed the steps as a convenience to anyone else that came across the same issue.
I just wanted to quickly test out the dockerized version of the app and I came across two issues. I solved the first but did not want to invest more time on the other.
First one was an error with postgres:
That fix was easy, I just added an environment section to the
db
services indocker-compose.yml
:But then upon login in I got another:
As this seems to be more application specific I did not delve any further.