By petebikes
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.
Any ideas?
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I figured out how to work around this, if you log in to the droplet as root, you can run the install plugin command. Reset the root password on the droplet via the web interface and you should be good to go
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.