How can I install the dokku MariaDB plugin?
According to the dokku plugin documentation here: https://github.com/progrium/dokku/blob/master/docs/plugins.md#installing-a-plugin I am trying to install the mariadb plugin. I’ve got a droplet with the One-click dokku install, and i am trying to install the plugin via this command:
dokku plugin:install https://github.com/dokku/dokku-mariadb.git mariadb
but I can’t seem to work around the error:
/var/lib/dokku/plugins/enabled/00_dokku-standard/install: line 16: /etc/init/dokku-redeploy.conf: Permission denied Connection to [MyDomainHere] closed.
Some things I’ve researched is trying to run this command as root:
sudo dokku plugin:install https://github.com/dokku/dokku-mariadb.git mariadb
but how does running the command as sudo on my local machine do anything on my docker instance? I setup the droplet with an ssh key, so I can’t log in as root and try to give to dokku user any new permissions.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.