Open wackytobaccy opened 10 years ago
Did you find the solution for this?
Heh, nope.
It looks like you should be able to use the link command to point to the right DB name:
dokku postgresql:link APP_NAME_REDACTED APP_NAME_REDACTED-db
This is what I'm getting if I try that:
-----> Setting config vars and restarting APP_NAME
DATABASE_URL: postgres://root:REDACTED@REDACTED:/db
-----> Releasing APP_NAME ...
-----> Release complete!
-----> Deploying APP_NAME ...
-----> Checking status of PostgreSQL
Found image postgresql/APP_NAME database
Checking status... stopped.
cat: /home/dokku/.postgresql/volume_APP_NAME: No such file or directory
Weird that it's looking for APP_NAME instead of APP_NAME-db (which is the name of my db).
Just what I got today, when I had to restart my machine. This is holding me back from using the plugin in production.
So I've got this plugin running on a DigitalOcean. I Power Cycled the instance on accident. Now my app won't start at all. Here's the output on pushing to the DO instance.
Note that the database name is not
APP_NAME_REDACTED
, but actuallyAPP_NAME_REDACTED-db
. Also,ll
in/home/dokku/.postgresql
gives this:My instance has 512 mb of ram.