openshift-ghost-quickstart icon indicating copy to clipboard operation
openshift-ghost-quickstart copied to clipboard

11.3 requires Node 6 ?

Open anonymouce opened this issue 8 years ago • 6 comments

anonymouce avatar Dec 08 '16 12:12 anonymouce

11.3 requires any Node above 0.10.x. It may be Node.js 4, Node.js 5... and of course Node.js 6.

23W avatar Dec 08 '16 14:12 23W

So I can still upgrade from 10.1 !! without breaking.

anonymouce avatar Dec 08 '16 17:12 anonymouce

OpenShift Node.js cartridge supports only 0.10 version of Node and they have no plans to upgrade it to anything newer.

MunGell avatar Dec 08 '16 22:12 MunGell

You can update to latest Node.js version. Based on this url https://hub.openshift.com/quickstarts/243-node-js-latest

By default, the Node.js version is determined by querying semver.io/node/stable. A different URL can be specified either via NODE_VERSION_URL environment variable or by setting .openshift/NODE_VERSION_URL marker in your application repository. For instance, you'd get the latest 0.10.x (0.10.41 as of Jan 24, 2015) by putting this in NODE_VERSION_URL variable or .openshift/NODE_VERSION_URL marker: https://semver.io/node/resolve/0.10

checkout this https://github.com/ramr/nodejs-custom-version-openshift

vineetchoudhary avatar Dec 09 '16 05:12 vineetchoudhary

@MunGell , can you try to use .openshift/markers/NODEJS_VERSION marker for update the NodeJs in our cartridge up to 6.9.2 , as @vineetchoudhary mentioned? Hmm, this method requires to copy .openshift/action_hooks/ from https://github.com/ramr/nodejs-custom-version-openshift repository. Am I right?

23W avatar Dec 09 '16 06:12 23W

This method requires installing nodejs executable. It is also noted as a "not production ready" by the authors of the cartridge. I personally think this method makes whole PaaS idea redundant - it is almost as reliable and simple as setting up a DigitalOcean server for Ghost from a template...

MunGell avatar Dec 09 '16 22:12 MunGell