dokku / dokku-mariadb

a mariadb plugin for dokku
MIT License
75 stars 26 forks source link

dokku mariadb:create <service> freezes #46

Closed j-a-m-l closed 8 years ago

j-a-m-l commented 8 years ago

I've traced the execution until functions#L257.

After stopping the command (Ctrl + c), the new service is frozen as "restarting" and can't be remove (it is detected as stopped), so the only way to really stop its container is sudo docker stop <id>.

dokku mariadb:logs <service> returns this (repeated more than 10 times):

error: database is uninitialized and password option is not specified
You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD
josegonzalez commented 8 years ago

Can you try master now? I did a bit of refactoring last night, guess it wasn't well tested.

j-a-m-l commented 8 years ago

Yeah! It worked flawlessly. Thank you