WebFaction
Community site: login faq

Hello,

Through SSH I upgraded my installation of Ghost from v0.9.0 to the latest version available to date (v0.10.0).

After unzipping the new version and replacing the old files, I entered the command npm install --production. It worked without problems, but when I tried to launch it through the script bin/start the server didn't work (I got a 502 - Bad Gateway error). I saw on the log files that forever was complaining about a missing config.example.js file, so after some days of research I tried to modify the bin/start script to make it work again.

This is the new bin/start script I'm actually using:

https://gist.github.com/fmaida/f13149cd1954c5bb79eb1d825ebaa858

With this modified script file I can launch Ghost and so far it seems to work properly, but since I'm no linux expert and I put together this script by cutting and pasting things from here and there, I'd like to ask if this script is written properly and won't blow any of the webfaction servers ;-)

Thank you and best regards

asked 07 Sep '16, 12:57

Cesco
2919
accept rate: 0%

edited 07 Sep '16, 13:00


Looks ok to me :)

permanent link

answered 07 Sep '16, 18:23

seanf
12.2k41836
accept rate: 37%

Thank you very much for having checked it out for me.

(08 Sep '16, 13:50) Cesco
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:

×103
×27
×4
×1

question asked: 07 Sep '16, 12:57

question was seen: 2,148 times

last updated: 08 Sep '16, 13:50

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