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
I get an error message regards to postgresql when i run git push dokku master
remote: cat: /home/dokku/.postgresql/port_myappname: No such file or directory To dokku@myipaddress:myappname ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'dokku@myipaddress:myappname'
I linked postgresql database with the app through dokku postgresql:link appname databasename
Any idea how it can be fixed?
The text was updated successfully, but these errors were encountered:
I had the same error and I could fix it by changing line 30 in the pre-deploy script from
PG_PORT="cat $DOKKU_ROOT/.postgresql/port_$APP"
to
PG_PORT=5432
After that deployment worked as expected again.
The error occurs when the docker container for postgresql has exited. In this case the script tries to get port information from the port_appname file which does not exist. However, I could not figure out when and where this file is supposed to be created by the plugin.
I get an error message regards to postgresql when i run
git push dokku master
remote: cat: /home/dokku/.postgresql/port_myappname: No such file or directory To dokku@myipaddress:myappname ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'dokku@myipaddress:myappname'
I linked postgresql database with the app through
dokku postgresql:link appname databasename
Any idea how it can be fixed?
The text was updated successfully, but these errors were encountered: