dokku / dokku-mongo

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

mongo:link infinite loop #44

Closed internetstyle closed 8 years ago

internetstyle commented 8 years ago

I have an app that was working fine, but suddenly when trying to link a new database, the command mongo:link crashed, is an infinite loop. How to fix it?

internetstyle commented 8 years ago

Symptoms:

Trying: dokku mongo:link databasename appname Results: infinite loop.

Trying: dokku mongo:destroy databasename Results: Cannot delete linked service

Trying: dokku mongo:unlink databasename appname Results: Not linked to app appname

josegonzalez commented 8 years ago

Can you run those commands with dokku trace on and gist the output?

internetstyle commented 8 years ago

Follows the output of the three commands. Thanks.

https://gist.github.com/internetstyle/3d54ada58b01d8c5131a

josegonzalez commented 8 years ago

Seems like you hit a limit on the number of databases that can be linked to a given service using our built-in aliasing. Definitely still an issue. The workaround would be to manually define an alias, though that isn't currently possible.

I'm going to close this in favor of tracking the work here: https://github.com/dokku/dokku-redis/issues/52#issuecomment-243019725

josegonzalez commented 8 years ago

See dokku/dokku-redis/issues/64 for more information.