Skip to content

Failed to start containers: dokku.postgres.DB.ambassador #322

@rrr2rrr

Description

@rrr2rrr

Description of problem

Can't restart exposed postgres instance without an error
I am getting

root@Ubuntu-2204-jammy-amd64-base /temp_disk # dokku postgres:start lake
=====> Starting container
Error response from daemon: Cannot link to a non running container: /dokku.postgres.lake AS /dokku.postgres.lake.ambassador/postgres
Error: failed to start containers: dokku.postgres.lake.ambassador

Eventually, the container started and i needed to do expose one more time

dokku postgres:unexpose lake
dokku postgres:expose lake 5678

And everything is working!

How reproducible

dokku postgres:create lake
dokku postgres:expose lake 5678
dokku postgres:stop lake
dokku postgres:start lake

Actual Results

root@Ubuntu-2204-jammy-amd64-base /temp_disk # dokku postgres:expose tg 5678
-----> Service tg exposed on port(s) [container->host]: 5432->5678
root@Ubuntu-2204-jammy-amd64-base /temp_disk # dokku postgres:stop tg
=====> Pausing container
       Container paused
       Removing container
root@Ubuntu-2204-jammy-amd64-base /temp_disk # dokku postgres:start tg
=====> Starting container
Error response from daemon: Cannot link to a non running container: /dokku.postgres.tg AS /dokku.postgres.tg.ambassador/postgres
Error: failed to start containers: dokku.postgres.tg.ambassador

Expected Results

Without error

Environment Information

dokku version 0.34.7
postgres 1.37.0 enabled dokku postgres service plugin

How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:

physical server

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