I have followed the steps to connect via ssh to the droplet (ssh firstname.lastname@example.org). I access the droplet and the installation of ghost starts but I get an error in the SSL certificate and it does not launch ghost. Then, when I try to use the “ghost status” command I get the following error:
You can’t run commands as the ‘root’ user. Switch to your regular user, or create a new user with regular account privileges and use this user to run ‘ghost ls’. For more information, see https://ghost.org/docs/install/ubuntu/#create-a-new-user.
I use the command “sudo -i -u ghost-mgr” to access ghost-cli and use the command “service ghost restart”. I am prompted for the root password but I get a configuration error when I enter the password set on droplet creation.
How can I launch the ghost service correctly and fix the root problems?
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!