I have followed all the steps to installing Dokku One-Click DigitalOcean Image to Run a Ruby on Rails App. Everything works fine until i want to run dokku postgresql:link app_name database_name. I get this error “Database is not initialized correctly” and i have been stuck like this for a while.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Have you created your Postgres storage area with initdb? <br>eg. initdb -D /usr/local/pgsql/data (as postgres user)
I followed all the steps countless times but nothing seemed to work. After i pushed it to the server i ran dokku postgresql:create app_name again and went along with rest of the steps and it ended up working just fine.
I followed all the steps countless times but nothing seemed to work. After i pushed it to the server i ran dokku postgresql:create app_name again and went along with rest of the steps and it ended up working just fine.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.