# Error to install ghost locally in Ubuntu ( 22.04 )

**URL:** <https://forum.ghost.org/t/error-to-install-ghost-locally-in-ubuntu-22-04/30197>\
**Category:** Installation\
**Created:** [May 18, 2022, 9:15am UTC](https://forum.ghost.org/t/error-to-install-ghost-locally-in-ubuntu-22-04/30197 "2022-05-18T09:15:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![officialrajdeepsingh](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/officialrajdeepsingh/32/39608_2.png) [@officialrajdeepsingh](https://forum.ghost.org/u/officialrajdeepsingh)\
**Post date:** [May 18, 2022, 9:15am UTC](https://forum.ghost.org/t/error-to-install-ghost-locally-in-ubuntu-22-04/30197/1 "2022-05-18T09:15:43Z")

</div>

Today I installed Ghost, a fresh installation in ubuntu. But I found an error `Message: Ghost process exited with code: null `.

```auto
ghost install local
Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.
https://careers.ghost.org/product-engineer-node-js

✔ Checking system Node.js version - found v16.15.0
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for latest Ghost version
✔ Setting up install directory
✔ Downloading and installing Ghost v4.47.4
✔ Finishing install process
✔ Configuring Ghost
✔ Setting up an instance
✖ Starting Ghost
One or more errors occurred.

1) GhostError

Message: Ghost process exited with code: null

Debug Information:
    OS: Ubuntu, v22.04 LTS
    Node Version: v16.15.0
    Ghost Version: 4.47.4
    Ghost-CLI Version: 1.19.3
    Environment: development
    Command: 'ghost install local'

Additional log info is available in : /home/rajdeepsingh/.ghost/logs/ghost-cli-debug-2022-05-18T08_58_53_853Z.log

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

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

```

**I’m also testing with `ghost doctor.`**

```auto
ghost doctor
Found a development config but not a production config, running in development mode instead

Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.
https://careers.ghost.org/product-engineer-node-js

✔ Checking system Node.js version - found v16.15.0
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space

```

I also run **`ghost update --force`** to solve my error, but it is not working.  
Any advice to solve the error, plz tell me in the comment section.  
Thanks for help

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [May 18, 2022, 3:43pm UTC](https://forum.ghost.org/t/error-to-install-ghost-locally-in-ubuntu-22-04/30197/2 "2022-05-18T15:43:41Z")

</div>

Can you share the log files?

---

<div class="post-metadata">

**Author:** ![officialrajdeepsingh](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/officialrajdeepsingh/32/39608_2.png) [@officialrajdeepsingh](https://forum.ghost.org/u/officialrajdeepsingh)\
**Post date:** [May 18, 2022, 5:32pm UTC](https://forum.ghost.org/t/error-to-install-ghost-locally-in-ubuntu-22-04/30197/3 "2022-05-18T17:32:57Z")

</div>

logfile

```auto
Debug Information:
    OS: Ubuntu, v22.04 LTS
    Node Version: v16.15.0
    Ghost Version: 4.47.4
    Ghost-CLI Version: 1.19.3
    Environment: development
    Command: 'ghost install local'
Message: Ghost process exited with code: null
Stack: Error: Ghost process exited with code: null
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/ghost-cli/lib/utils/local-process.js:68:24)
    at ChildProcess.emit (node:events:527:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

```
