这是indexloc提供的服务,不要输入任何密码
Skip to content

Apps wrongly deployed after host reboot #2999

@shrmnk

Description

@shrmnk

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:

  1. sudo reboot now
  2. Visit domain & subdomain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions