WebFaction
Community site: login faq
1
1

There have been some bug fixes for ghost that I'd like to have. What is the best way to update Ghost from a one-click install? Pushing the code directly or is there an automated method?

asked 05 Dec '13, 13:34

rmuller
1515
accept rate: 0%


You can follow the Command line only on linux servers guide here:

http://docs.ghost.org/installation/upgrading/

Basically you should be able to copy over everything, but make sure to keep the content/ folder because that's where your data is. The Ghost guide also suggest you run:

$ npm install --production

to get new depencies.

After that you can run:

$ cd $HOME/webapps/Ghost_app_name
$ bin/stop && bin/start

To restart Ghost and apply the changes.

Make a backup first!

permanent link

answered 05 Dec '13, 15:31

jappinen
4814
accept rate: 50%

Is there going to be an automated update or do you have update ghost yourself?

permanent link

answered 10 Dec '13, 08:28

tomson
316
accept rate: 0%

We don't know what kind of changes customers make to their apps once they've been installed, so automated updates could stomp on those changes and break things. For this reason, there will not be an automated update.

(10 Dec '13, 10:34) seanf

Great. Thanks.

(10 Dec '13, 10:42) tomson

With apologies for chipping in on an old thread...

There's more discussion of this over at https://community.webfaction.com/questions/15903/how-do-i-upgrade-my-ghost-app

Re: automated updates/upgrades. I installed ghost as an npm module on Webfaction and it's easy to upgrade now (npm update is all I need). See https://github.com/mozz100/ghost-on-webfaction for details and a one-click webfaction install script.

I'd very much appreciate comments on this and whether it seems like a sensible way to do things.

permanent link

answered 24 Aug '15, 10:32

mozz
236
accept rate: 0%

Seems reasonable to me, although I strongly recommend that you modify your script so that it runs via python2.7 instead of python2.5 (to make it a bit more future-proof).

(24 Aug '15, 17:34) seanf
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:

×57
×27
×25

question asked: 05 Dec '13, 13:34

question was seen: 2,652 times

last updated: 24 Aug '15, 17:34

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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