Postgis custom version
Hi there,
Im trying to create a database of postgis at a custom version (im doing a migration to railway, the old hosting uses this version).
But it is reporting this error every time it deploys.
Solution:Jump to solution
deploy the postgres database from the
+ New
button
as fast as you can, abort/cancel the active build/deployment
set the start command to /bin/sh -c "unset PGPORT; docker-entrypoint.sh postgres --port=5432"
replace the image in the service settings...22 Replies
Project ID:
c1dd7561-a531-42dd-aacd-2cfeaa266423
c1dd7561-a531-42dd-aacd-2cfeaa266423
what version are you trying to deploy?
13-master
Solution
deploy the postgres database from the
+ New
button
as fast as you can, abort/cancel the active build/deployment
set the start command to /bin/sh -c "unset PGPORT; docker-entrypoint.sh postgres --port=5432"
replace the image in the service settingssneaky, its deploying
in the future you will be able to swap the image before deploying so you dont have to do that dance
looks good to me
but it does not allow me to connect from pgadmin (on my machine)
what image are you swapping to
it also tells me that its running on the correct port
not the correct port
one second
ah i might have an idea why
i do too, one second
set the start command to
that works, thank you!
no problem!
do you plan on removing the tcp proxy from the service?
i dont think so, my client also needs to have access to it from his pc
is there any downside?
postgres doesnt like it
updated start command so that you can remove the tcp proxy without issues
you might not need to disable the tcp proxy for this database, but i think its a good think to know
ah right
thank you very much for the quick help!
no problem!