WebFaction
Community site: login faq

Or is there any way to make the ghost cli tool work?

asked 15 Aug '17, 08:39

hakimjonas
215
accept rate: 0%


You should follow the instructions here to get to the latest version: How can I upgrade Ghost 0.11 to 1.5.1?

After you've done that, you can use ghost-cli for future upgrades.

permanent link

answered 15 Aug '17, 17:16

seanf
12.2k21736
accept rate: 37%

Correct, we did not add ghost-cli to our installer until v 1.5.1.

(15 Aug '17, 17:57) seanf

Thank you Sean for the fast reply. I guess this is new since I couldn't see ghost cli in my 1.4 install.

For anyone following i'd like to add that for this to work you need to do the following:

  1. Navigate to your ghost apps root:

cd webapps/[application_root]

  1. Add the application’s bin directory to your PATH environment variable:

export PATH=$PWD/bin/:$PATH

  1. Navigate to your ghost directory:

cd ghost

  1. Use ghost-cli:

ghost update --no-setup-linux-user


*edited to make user user dont have trouble updating

permanent link

answered 15 Aug '17, 17:42

hakimjonas
215
accept rate: 0%

edited 14 Jun, 21:55

If you get a system error upon restarting ghost

Message: The path /home/username/webapps/ is not readable by other users on the system

follow the steps above by hakimjonas to get access to ghost-cli, then:

  1. Navigate to your ghost apps root
  2. Add the application’s bin directory to your PATH environment variable. Enter export PATH=$PWD/bin/:$PATH and press Enter
  3. Navigate to your ghost directory (cd ghost)
  4. start ghost with ghost start --no-setup-linux-user

the --no-setup-linux-user is available during install, but works to skip permission checks at restart too.

permanent link

answered 15 Mar, 09:42

pecus
113
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×27
×25
×1

question asked: 15 Aug '17, 08:39

question was seen: 1,199 times

last updated: 14 Jun, 21:55

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM