A Rails app I deployed on DigitalOcean using Dokku crashed and started returning 500 errors.
How can I restart it without pushing an empty commit?
An app may be restarted using the ps:restart command.
Dokku is an extensible, open source Platform as a Service that runs on a single server of your choice. Dokku supports building apps on the fly from a git push via either Dockerfile or by auto-detecting the language with Buildpacks, and then starts containers based on your built image.
Dokku uses git locally (i.e. not a docker image) to build its own copy of your app repo, including submodules. This is done as the dokku user. Therefore, in order to deploy private git submodules, you'll need to drop your deploy key in ~dokku/. ssh and potentially add github.com (or your VCS host key) into ~dokku/.
dokku ps:restart <app>
works for me logged in with dokku
system user.
Use dokku apps
to list your apps.
If you just want restart the web app, run dokku deploy myapp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With