-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Description of problem
After the host reboots, the apps are wrongly deployed.
I have 2 apps currently on the site:
The first a Rails+Postgres app dashboard, with the main domain added to it. (e.g. example.com)
The second a static site mqtt-web, with a subdomain added to it. (e.g. mqtt.example.com)
After rebooting, it appears that the subdomain now points the first app, thus generating a Rails "We're sorry, but something went wrong." page when visited.
The main domain doesn't work with a Bad Gateway error.
To fix this, I have to do a dokku ps:restartall.
This is reproducible every time I restart the server, and will require me to do the above fix before the apps are properly deployed to the respective domains.
Output of dokku report and docker ps -a before/after the dokku ps:restartall
Environment details (AWS, VirtualBox, physical, etc.): AWS EC2 t2.micro, Ubuntu 16.04
How was Dokku installed?: As per README.md
wget https://raw.githubusercontent.com/dokku/dokku/v0.10.5/bootstrap.sh
sudo DOKKU_TAG=v0.10.5 bash bootstrap.sh
How reproducible: Always. Happens every sudo reboot now.
Steps to Reproduce:
sudo reboot now- Visit domain & subdomain