Ghost won't restart /'No installed ghost instances found'

  • How was Ghost installed and configured?
    Ghost was installed in docker containers using ghost-docker image

  • What Node version, database, OS & browser are you using?
    OS: Debian GNU/Linux, v10
    Node Version: v12.19.1
    Ghost Version: 3.38.2
    Ghost-CLI Version: 1.15.2
    Environment: production
    browser - google

  • What errors or information do you see in the console?
    System stack check skipped
    :information_source: Checking system compatibility [skipped]
    :heavy_multiplication_x: Validating config
    :heavy_check_mark: Checking folder permissions
    :heavy_check_mark: Checking file permissions
    :heavy_check_mark: Checking memory availability
    :heavy_check_mark: Checking binary dependencies
    :heavy_check_mark: Checking free space
    One or more errors occurred.

  1. Validating config

Error detected in the production configuration.

Message: Port ‘2368’ is in use.
Configuration Key(s): server.port
Current Value(s): 2368

Help: Run ghost config <key> <new value> for each key to fix the issue.

  • What steps could someone else take to reproduce the issue you’re having?

I am trying to change the url of the website being hosted in the container, by using ghost config command . Then I try to restart ghost, I get above error when I do ‘ghost restart’ command and when I check for ghost instance using command ghost status it says ‘No installed ghost instances found’

Can anyone please help me how to fix this? appreciate the help in advance.

Docker uses ENV vars rather than the config file. You’ll need to change Ghost’s config via your Docker setup and upgrade Ghost that way rather than using Ghost-CLI. Docs for using Docker are here

Note that the Docker image is a community project and not officially supported. If you need help using it or run into issues you should open an issue on their repo.

Ok. Thank you Kevin.