Ghost Install: Systemd Process Error!

I recently started exploring Ghost CMS and I am hopeful to get it running soon.

  • What’s your URL? This is the easiest way for others to debug your issue
    URL - iamgrt.com.

  • What version of Ghost are you using?
    Ghost-CLI version: 1.15.3
    Ghost version: 3.40.5

  • What configuration?
    Ubuntu 20.04 - 3 CPU - 3 GB RAM

  • What browser?
    Firefox

  • What errors or information do you see in the console?

A SystemError occurred.

Message: Systemd process manager has not been set up or is corrupted.
Help: Run ghost setup systemd and try again.

When I run - ghost setup systemd - I am getting the following error:

  1. ProcessError

Message: EACCES: permission denied, open ‘/tmp/iamgrt-com/ghost_iamgrt-com.service’

My ghost doctor response:

Blockquote :heavy_check_mark: Checking system Node.js version
:heavy_check_mark: Checking logged in user
:heavy_check_mark: Ensuring user is not logged in as ghost user
:heavy_check_mark: Checking if logged in user is directory owner
:heavy_check_mark: Checking current folder permissions
System checks failed with message: ‘Missing package(s): nginx’
Some features of Ghost-CLI may not work without additional configuration.
For local installs we recommend using ghost install local instead.
? Continue anyway? Yes
System stack check skipped
:information_source: Checking system compatibility [skipped]
:heavy_check_mark: Checking for a MySQL installation

  • sudo systemctl is-active ghost_iamgrt-com
    :heavy_check_mark: Validating config
    :heavy_check_mark: Checking folder permissions
    :heavy_check_mark: Checking file permissions
    :heavy_check_mark: Checking content folder ownership
    :heavy_check_mark: Checking memory availability
    :heavy_check_mark: Checking binary dependencies
    :heavy_check_mark: Checking free space

My ghost run response:

The ghost run command is used by the configured Ghost process manager and for debugging. If you’re not running this to debug something, you should run ghost start instead.

  • sudo node current/index.js
    [2021-01-12 04:32:37] ERROR ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client.
    “Unknown database error”
    Error ID: 500
    Error Code: ER_NOT_SUPPORTED_AUTH_MODE
  • What steps could someone else take to reproduce the issue you’re having?

It looks like my learning curve is very steep with Ghost CMS installation and I am moving from one issue to the other.

I hope to get some help from my fellow members of the forum. I greatly appreciate your kind help. Thank you.

I think the problem with your mysql auth mode…

You can follow the ghost official installation guide here How to install & setup Ghost on Ubuntu 16.04, 18.04 and 20.04

Thanks for your response, @inoryum. I managed to fix the issue. My MySQL db had some issues and I had to reinstall it.

Secondly, I also had to work on the conf files to make the site work on Apache and also enable HTTPS for it.

Thanks for your inputs. I appreciate.

Glad you figured this out. Cheers!

1 Like