Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
-
In what Plesk versions Node.js is available for installation?
-
What Node.js versions are available for installation in Plesk?
-
How to check Node.js version installed with Plesk via a command-line interface?
-
How to change Node.js version for a domain?
Answer
-
Node.js is available for installation starting from Plesk Onyx with any Plesk license edition.
-
Node.js versions that are available for installation via Plesk Installer:
- Node.js 12
- Node.js 10
- Node.js 8
Note: The implementation of Node.js 14 is planned in Q1 2021
-
To find out what Node.js versions are already installed on a Plesk server, run the command:
# plesk ext nodejs --versions
-
To find out which Node.js version is used by a domain application, run the command:
# plesk ext nodejs --get-version -domain example.com
-
-
In Plesk, go to Domains > example.com > Node.js > click on a version and select one from a drop-down menu.
Comments
20 comments
Hi! When can you enable NodeJS 10 on linux servers?
Hi @Luis Mendieta,
Currently, we don't have any particular ETA.
I'd recommend you following the article to receive notifications.
Be sure we'll update it as soon as NodeJS 10 for Linux servers is supported.
Please update to at least Node 10 ASAP - all the other node versions are insecure and end of live!
We can't really use Node on Linux this way.
@George Petrov
There is work in progress on adding the latest Node.js version to Plesk and to drop the ones that reached the end of life.
The article will be updated when any additional information is available.
ETA for this ?
Thanks
Hello,
Right now there is no exact ETA but as soon as there will be additional information, this article will be updated.
The information after new version being added will be also present at Plesk Change Log.
So the last NodeJS extension update is from 2017 ... are you serious? Do you know how much has changed since then in NodeJS and all old version are already deprecated and end of life...
This makes it impossible to run any decent NodeJS app on Plesk and make the support of it more a marketing joke then real production ready case.
Hello @George,
Thank you for the valuable feedback.
Indeed, current experience with Plesk for professional concentrated on Node.js is far from optimal.
According to the information I have, the current approach for updating supported Node.js versions is to be changed to be more up to date.
Please, stay tuned for this article updates and thank you for understanding.
Hello,
If you not see new version Node.JS (10,12) in Plesk , you must reinstall extension Node.JS after that all be fine!
Hello @Евгений,
Thank you for the comment.
It may be useful for other Pleskians!
Hello, I am new to this Plesk and currently I only see NodeJS Ver 8,10, & 12. But one of my component requires NodeJS ver 9.10. I don't see an option in Plesk with this version to select.
I went into Tools & Setting > Updates > Web hosting > NodeJS is already selected so no option to select my version.
How do I install NodeJS 9.10 to my account?
Any help is appreciated.
Hi, Rajesh Kannivadi!
In Plesk installer, "NodeJS" is not divided into versions like PHP. Once you install it, Plesk installs all the versions it provides. At this moment NodeJS 9 is not provided, only versions 8,10 and 12.
So I recommend upgrading your app to version 10.
Thank you!
Hi there,
Is there any update regarding NodeJS V14?
Also what is the last supported version of NodeJS V12?
I'm running on 12.4.0 but there is 12.18.3 already available
Is there an official way to install other NodeJS Versions like NodeJS 14 that are not yet automatically installed?
Thanks in advance!
Hello Lukas Weber
NodeJS 14 becomes LTS at the end of October, according to this document: https://nodejs.org/en/about/releases/
Shortly after this, we plan to include NodeJS 14 in Plesk.
NodeJS 12 is planned to be updated in one of the upcoming Plesk updates.
>Is there an official way to install other NodeJS Versions like NodeJS 14 that are not yet automatically installed?
It may be installed only automatically, please, wait for the upcoming updates.
Hello Ivan Postnikov
Thank you very much for your answer.
I would like to know three additional things:
The NodeJS support just seems a little half-hearted to me. I don't understand why there is no support for stable versions and why there are no frequent updates after a security patch gets released. I would really like the plugin to have a dropdown with all versions that are currently available and if it is not installed, it gets downloaded and installed automatically from the official NodeJS server. I don't understand the issues with that. Is it that much effort to make a new version available?
I'm not developing the plugin and there certainly are things that I do not know but it would be very nice if you guys would tell why it is like that...
Have a nice day and thanks for your patience
Hello Lukas Weber
It takes a bit more time to clarify. I will let you know once when receive the info.
Hello Ivan Postnikov
Thanks for your response. No worries - I'm happy to wait and looking forward to your response
Have a nice day
Lukas
Hello Lukas Weber
I've received answers to your questions:
> Are only LTS versions supported or is this subject to change in the future?
Current plans are to support LTS versions only.
> Will future security patches also be delayed for so long or is this updates policy changing in the near future? (e.g. 12.4.0 to 12.18.3)
Node.js 14 is now the latest LTS version with the “active LTS” phase started at Oct 27 2020. It's currently planned to deliver this version is Plesk Obsidian 18.0.33, which is expected at the beginning of Q1 2021. As for the update speed, our RnD team does its best to deliver updates as soon as possible. However, sometimes there may be delays.
> Are there plans to enable manual installation of nodejs versions to recieve the latest features introduced from stable versions in the future?
There are no plans to enable manual installations for Node.js so far.
Thank you for understanding.
Hello Ivan Postnikov
Although this was not the result I was hoping for I really appreciate the communication and openness regarding my questions.
Thank you very much for taking the time to answer and providing more background on how the support of NodeJS will continue in the future.
Have a nice day
Lukas
Hi
Any downsides of just pasting in the node binaries and adding them like so ?
plesk sbin nodemng register /opt/plesk/node/14.x.x/bin/node
Thank you
Please sign in to leave a comment.