I’m new to digital ocean and trying to deploy my go app using dokku to an ubuntu machine. When I’m pushing to the server this is the output:
-----> Cleaning up… -----> Building testapp from herokuish… -----> Setting config vars CURL_CONNECT_TIMEOUT: 5 -----> Setting config vars CURL_TIMEOUT: 30 -----> Adding BUILD_ENV to build environment… -----> Go app detected -----> Checking Godeps/Godeps.json file. -----> Installing go1.4… done -----> Running: godep go install -tags heroku ./… -----> Discovering process types Procfile declares types -> web -----> Releasing testapp (dokku/testapp:latest)… -----> Deploying testapp (dokku/testapp:latest)… -----> DOKKU_SCALE file not found in app image. Generating one based on Procfile… -----> New DOKKU_SCALE file generated =====> web =0 -----> Running post-deploy -----> Setting config vars DOKKU_APP_RESTORE: 1 =====> Application deployed: remote: /var/lib/dokku/plugins/enabled/00_dokku-standard/commands: line 190: /home/dokku/VHOST: No such file or directory http://
To dokku@162.243.5.252:testapp
What is this error? How to clean deploy my app?
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!
Apparently vhosts are enabled on your app but you don’t have a /home/dokku/VHOST file. You can either create this file or run the following command for your application:
dokku config:set testapp NO_VHOST=1
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.