# Install ghost without command line

**URL:** <https://forum.ghost.org/t/install-ghost-without-command-line/6828>\
**Category:** Installation\
**Created:** [April 14, 2019, 7:22pm UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828 "2019-04-14T19:22:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anmol26s](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anmol26s/32/1823_2.png) [@anmol26s](https://forum.ghost.org/u/anmol26s)\
**Post date:** [April 14, 2019, 7:22pm UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/1 "2019-04-14T19:22:49Z")

</div>

I did a package for Ghost [Yunohost](https://yuonhost.org) which helped people to install,remove,upgrade,backup and restore Ghost blogging platform on Debian based server.

> **[GitHub - YunoHost-Apps/ghost\_ynh: Ghost package for YunoHost](https://github.com/YunoHost-Apps/ghost_ynh)**
>
> Ghost package for YunoHost. Contribute to YunoHost-Apps/ghost\_ynh development by creating an account on GitHub.

It was working, but yesterday someone reported an _404 not file not found issue_ for the source file [https://ghost.org/zip/ghost-latest.zip](https://ghost.org/zip/ghost-latest.zip) . Issue: [[Ghost] Blogging platform - #24 by notkaa - Apps - YunoHost Forum](https://forum.yunohost.org/t/ghost-blogging-platform/5332/24)

Has the source been removed from here? If yes, how should I build Ghost without command-line. I had looked at this topic: [Is it possible to run Ghost without installing Ghost CLI?](https://forum.ghost.org/t/is-it-possible-to-run-ghost-without-installing-ghost-cli/1676) but it did not hellped me as the link provided there don’t work anymore.

I want manual way to configure Ghost. Database creation, user creation,Nginx config,dependencies including nodejs and yarn, systemd are taken care by Yunohost scripts.

I would need the file where the config setting would be done and the migration commands.

I tried to install from Gost from the Gost’s github repo: [GitHub - TryGhost/Ghost: Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.](https://github.com/TryGhost/Ghost).  
Added the domain, database settings and port in the config.production.json.  
But while running `NODE_ENV=production knex-migrator init` I got this error.

```
 knex-migrator init
51347 DEBUG + ynh_exit_properly
51348 WARNING [2019-04-14 21:57:57] ERROR
51348 DEBUG + local exit_code=1
51348 WARNING 
51348 DEBUG + '[' 1 -eq 0 ']'
51348 WARNING NAME: InternalServerError
51348 DEBUG + trap '' EXIT
51349 WARNING MESSAGE: Please provide a file named MigratorConfig.js in your project root.
51349 DEBUG + set +eu
51349 WARNING 
51349 DEBUG + echo -e '!!\n ghost'\''s script has encountered an error. Its execution was cancelled.\n!!'
51349 WARNING level:normal
51350 DEBUG + type -t ynh_clean_setup
51350 WARNING 
51350 DEBUG + ynh_die
51350 WARNING empty
51350 DEBUG + local legacy_args=mc 

```

Can someone provide me with the exact commands to configure Ghost?

---

<div class="post-metadata">

**Author:** ![anmol26s](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anmol26s/32/1823_2.png) [@anmol26s](https://forum.ghost.org/u/anmol26s)\
**Post date:** [April 14, 2019, 9:46pm UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/2 "2019-04-14T21:46:31Z")

</div>

I have manage to install ghost, but I am getting this page in browser.

# 500

```
## The currently active theme "casper" is invalid.

[Go to the front page →](https://domain.tld/)

### Theme errors

```

Systemd error:

```
at trim_prefix (/var/www/ghost/node_modules/express/lib/router/index.js:315:13)
at /var/www/ghost/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/var/www/ghost/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/ghost/node_modules/express/lib/router/index.js:275:10)
at Layer.handle_error (/var/www/ghost/node_modules/express/lib/router/layer.js:67:12)
at trim_prefix (/var/www/ghost/node_modules/express/lib/router/index.js:315:13)
at /var/www/ghost/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/var/www/ghost/node_modules/express/lib/router/index.js:335:12)
Error: ENOENT: no such file or directory, open '/var/www/ghost/core/server/public/ghost.min.css'
```

---

<div class="post-metadata">

**Author:** ![Aileen](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/aileen/32/9846_2.png) [@Aileen](https://forum.ghost.org/u/Aileen)\
**Post date:** [April 15, 2019, 7:11am UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/3 "2019-04-15T07:11:42Z")

</div>

Hey @anmol26s

> [@anmol26s](#):
>
> It was working, but yesterday someone reported an _404 not file not found issue_ for the source file [https://ghost.org/zip/ghost-latest.zip](https://ghost.org/zip/ghost-latest.zip)

You are right, the source is missing! We moved the [https://ghost.org/](https://ghost.org/) site over to use Gatsby and this route got forgotten 😬

I just added a fix, so [https://ghost.org/zip/ghost-latest.zip](https://ghost.org/zip/ghost-latest.zip) should work again in a couple of minutes! Thanks for pointing our attention to it 🤗

---

<div class="post-metadata">

**Author:** ![anmol26s](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anmol26s/32/1823_2.png) [@anmol26s](https://forum.ghost.org/u/anmol26s)\
**Post date:** [April 15, 2019, 7:30am UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/4 "2019-04-15T07:30:19Z")

</div>

Its working again thanks for fixing the link.

BTW it would be good if this ghost-latest zip could be on github with releases tag.

---

<div class="post-metadata">

**Author:** ![Aileen](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/aileen/32/9846_2.png) [@Aileen](https://forum.ghost.org/u/Aileen)\
**Post date:** [April 15, 2019, 9:23am UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/5 "2019-04-15T09:23:08Z")

</div>

You mean those: [Releases · TryGhost/Ghost · GitHub](https://github.com/TryGhost/Ghost/releases) ?

---

<div class="post-metadata">

**Author:** ![anmol26s](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/anmol26s/32/1823_2.png) [@anmol26s](https://forum.ghost.org/u/anmol26s)\
**Post date:** [April 15, 2019, 12:34pm UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/6 "2019-04-15T12:34:33Z")

</div>

I don’t know why but I get this error with those releases: [Install ghost without command line - #2 by anmol26s](https://forum.ghost.org/t/install-ghost-without-command-line/6828/2), but the ghost-latest zip works well.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [April 29, 2019, 12:34pm UTC](https://forum.ghost.org/t/install-ghost-without-command-line/6828/7 "2019-04-29T12:34:34Z")

</div>

Closed on April 29, 2019, 12:34pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
