dokku / dokku-mongo

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

mongo:connect-admin not working #73

Closed tofuness closed 8 years ago

tofuness commented 8 years ago

Currently using dokku 0.6.5 and latest version of dokku-mongo.

When I run dokku mongo:connect-admin xyz I get:

/var/lib/dokku/plugins/enabled/mongo/commands: line 23: 
/var/lib/dokku/plugins/enabled/mongo/subcommands/connect-admin: Permission denied

Let me know if I can help in any way. Thank you!

josegonzalez commented 8 years ago

What is that file owned by?

tofuness commented 8 years ago

Found this: image

So I tried doing chmod 755 connect-admin and now when I run dokku mongo:connect-admin xyz I get this error: MongoDB service mongo:connect-admin does not exist.

josegonzalez commented 8 years ago

I fixed the command permissions, a bug in the code itself, and added tests. If you update, you should be able to use that command just fine now.

tofuness commented 8 years ago

Great work, @josegonzalez .