# Cannot Install Ghost on Plesk Obsidian with Nods.js

**URL:** <https://forum.ghost.org/t/cannot-install-ghost-on-plesk-obsidian-with-nods-js/27401>\
**Category:** Installation\
**Created:** [December 17, 2021, 4:15pm UTC](https://forum.ghost.org/t/cannot-install-ghost-on-plesk-obsidian-with-nods-js/27401 "2021-12-17T16:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![FifthRate](https://avatars.discourse-cdn.com/v4/letter/f/6a8cbe/32.png) [@FifthRate](https://forum.ghost.org/u/FifthRate)\
**Post date:** [February 15, 2022, 4:38pm UTC](https://forum.ghost.org/t/cannot-install-ghost-on-plesk-obsidian-with-nods-js/27401/5 "2022-02-15T16:38:18Z")

</div>

Hi there! Here are the exact steps I used to get it to work. Fortunately, it’s pretty easy.

- Upload the latest version of ghost zip file to the domain directory of your choice in Plesk and extract all of the files into that directory (eg [domain.com](http://domain.com))
- In that same directory, create a new file named **.npmrc** and add this single line **“scripts-prepend-node-path=true”**
- Modify the file /core/shared/config/defaults.json file to point to the domain you’ve chose (eg [https://domain.com](https://domain.com))
- Create a database with the name “ghost” and specify your login credentials.
- Update the file /core/shared/config/env/config.production.json with a database client of **mysql** , database name: “ghost”, and correct login credentials. At one time, I specified a mariadb as the client, and that is incorrect. You must specify **mysql**.

The first few lines of my config.production.json look like this:

```auto
{
    "database": {
        "client": "mysql",
        "connection": {
            "host" : "localhost",
			"port" : "3306",
            "user" : "your_username",
            "password" : "your_password",
            "database" : "ghost"

```

Once those changes are made, go to the node.js settings. Here are what mine look like:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/a/e/aea380a2f7cc317f3c801e68a990dc515476946a.png)  
One you have established the proper settings for your domain name, click the NPM install button and wait. You should see no errors, but you may see a few warnings which you can ignore.  
Click “restart app” and then attempt to navigate to [domain.com/ghost](http://domain.com/ghost). You may get a page saying you need to reload. Wait a few moments and then reload the page.

---

_[View the full topic](https://forum.ghost.org/t/cannot-install-ghost-on-plesk-obsidian-with-nods-js/27401)._
