dokku / dokku-mongo

a mongo plugin for dokku
MIT License
174 stars 32 forks source link

Mongo has broken and dokku after #90

Closed dilame closed 7 years ago

dilame commented 7 years ago

When i try to connect to mongo i see something like

2017-08-22T07:29:29.722+0300 W NETWORK  [thread1] Failed to connect to 193.124.176.156:2227, reason: errno:61 Connection refused
2017-08-22T07:29:29.722+0300 F -        [thread1] Invalid access at address: 0x0
2017-08-22T07:29:29.753+0300 F -        [thread1] Got signal: 11 (Segmentation fault: 11).

I don't know how to hadle it, but i dont want to. There's no important data, so i just want to destry it and create new. But i cant

root@ih622285:~# dokku mongo:destroy production
 !     WARNING: Potentially Destructive Action
 !     This command will destroy production MongoDB service.
 !     To proceed, type "production"

> production
-----> Deleting production
       Deleting container data
-----> Stopping container
Error response from daemon: No such container: dokku.mongo.production.ambassador

What to do? 😄

josegonzalez commented 7 years ago

This is definitely a bug. Seems like maybe it was exported, but the ambassador container doesn't exist. We should check if that exists and then stop it if so.

dilame commented 7 years ago

Do you need an extra information from me?

josegonzalez commented 7 years ago

Nope, I see where the error is, now I just need to fix it :)