Issue running ghost on ubuntu Ubuntu 16.04.6 (LTS) x64

Hi Ghost community,

I’m excited to be a part of this group and to be using ghost. I am over wordpress haha.
I am currently installing ghost on a digital ocean droplet and am having an issue when I try to run ghost start

  • What’s your URL? This is the easiest way for others to debug your issue
    NA

  • What version of Ghost are you using?
    Ghost Version: 3.5.1 Ghost-CLI Version: 1.13.1

  • What configuration?

OS: Ubuntu, v16.04.6 LTS /n
Node Version: v10.19.0
Ghost Version: 3.5.1
Ghost-CLI Version: 1.13.1
  • What browser?
    NA
  • What errors or information do you see in the console?
2) GhostError

Message: CREATE DATABASE `ghost_prod` CHARACTER SET utf8mb4; - EE_STAT: Can't get stat of './ghost_prod' (Errcode: 13 - Permission denied)

Suggestion: journalctl -u ghost_mydomainname-com -n 50
  • What steps could someone else take to reproduce the issue you’re having?
    When I run the suggestion journalctl -u ghost_sustainablepineapple-com -n 50
    I get the following:
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
No journal files were opened due to insufficient permissions.

Any help is appreciated, thanks

Are you sure you have the correct database information?
Make sure you provide fixed informations “host, User, Database, Password” or provide information of a user who can create users and databases such as MySQL root user.

I have the user set as root and the password I created in mysql set inside ghost when I do the inital site build. Where would I change the other configurations for User and Database? Or is that necessary if I have the mysql set to root?

Are you using the DigitalOcean marketplace one-click install Ghost Droplet?

No, I created my own ubuntu instance as I wanted to learn some linux while I build this site.

1 Like

This is the full output when I run ghost start

user@ghost-droplet:/var/www/ghost$ ghost start
+ sudo systemctl is-active ghost_website-name-com
+ sudo systemctl reset-failed ghost_website-name-com
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
+ sudo systemctl is-active ghost_website-name-com
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking binary dependencies
+ sudo systemctl start ghost_website-name-com
+ sudo systemctl stop ghost_website-name-com
✖ Starting Ghost: website-name-com
A GhostError occurred.

Message: CREATE DATABASE `ghost_prod` CHARACTER SET utf8mb4; - EE_STAT: Can't get stat of './ghost_prod' (Errcode: 13 - Permission denied)
Suggestion: journalctl -u ghost_website-name-com -n 50

Debug Information:
    OS: Ubuntu, v16.04.6 LTS
    Node Version: v13.8.0
    Ghost Version: 3.5.1
    Ghost-CLI Version: 1.13.1
    Environment: production
    Command: 'ghost start'

Additional log info available in: /home/user/.ghost/logs/ghost-cli-debug-2020-02-21T06_27_44_405Z.log

Try running ghost doctor to check your system for known issues.