• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

nodejs

  1. Z

    Question I want to reinstall Plesk Node

    I’m running plesk repair command and facing error. Strangely it is not happening with "plesk repair all" but with "installation". The errors are all about missing Plesk node related files and directories. The files listed below are the ones pointed out by Plesk repair. I do not use Node so I do...
  2. T

    Question Passenger Phusion logs for nodeJs app

    Hi, I really struggle to output log for my nodeJs application. How can I easily display application logs while in ssh please ?
  3. Alexey Sobolev

    Important Updated Node.JS application hosting support

    Good day, everyone! In an effort to make Plesk a better tool for Node.JS developers and those who want to provide Node.JS application hosting to their clients, we have made several significant improvements over the past few months. I’d like to take this chance to highlight those improvements...
  4. Sebastian Thomas

    Issue Trying to access Nodejs configuration for domain results in "There is no web hosting configured on domain."

    Since the latest Plesk Obsidian update of the nodejs extension to 2.1.0 we encounter an error when trying to access the configuration. Anyone else noticed this?
  5. P

    Issue Plesk NodeJS Server CORS error

    Good evening. I'm having a similar problem to the following: https://support.plesk.com/hc/en-us/articles/115001338265-How-to-set-up-CORS-cross-origin-resource-sharing-in-Plesk-for-Linux- . In my case I'm trying to run a NodeJs server. http2 & Nginx are active. The NodeJS server is directly...
  6. M

    Issue Node.js run scripts with no output

    Hi. I have a problem with running Node.js scripts in Plesk. When I run some scripts in the "Run Script" section of the Node.js plugin, it takes a lots of time running the script, but it never prints any output. For example when I run "start" script no output is shown, and when I try to run this...
  7. S

    Issue Run Node.js Application from a Subdirectory

    Hello, I hope someone can help me run a node.js app exclusively from a sub-directory on Plesk. I am trying to run Ghost CMS (uses node.js) when accessed in a subdirectory only. I got Ghost CMS to work on Plesk (see the journey I went through here if interested: Cannot Install Ghost on Plesk...
  8. M

    Issue Node.js/Express routing doesn't work

    I'm using express routing in my plesk node.js application. It works locally, but not in plesk node enviroment. For example, when i go to a route URL, it gives me a 404 error. By the way, i'm using this repository for reference. Thanks in advance for any answer!
  9. P

    Issue How to configure the WordPress and Nodejs together on a single domain?

    Hi all, I am working on two different projects, one project is in Nodejs, and the other is in WordPress and I am trying to deploy both projects together with the use of Plesk panel on a single domain. We want our node project should run on <our_domain>/ and if we got to <our_domain>/blog then...
  10. D

    Question How to configure a fixed process pool for NodeJS with Passenger

    I need that my NodeJS applications don't shut down automatically when a requests completes. But I am not able to reconfigure Passegner for that. According to the passenger documentation: But I cannot find where to configure the start parameters for Passenger. I suspect that Nginxs is who...
  11. cipcip

    Question Nodejs cron job

    Hello, I am trying to create a cron job from a node-js application. I am adding my full path : /usr/bin/nodejs /var/www/vhosts/something/parser.js I get the following output: /usr/bin/nodejs: No such file or directory If I open my terminal and check the installation using: 1. which node...
  12. P

    Question NodeJS - Execute ESM code

    Hello, Is it possible to execute ESM javascript code ? I try to use SvelteKit which generates ESM code but it seems that only CSJ is possible. I use NodeJS 16 (I added it to Plesk). You can find mode info about the bug here : [adapter-node] Cannot use import statement outside a module · Issue...
  13. U

    Issue Domain user uses nodejs version wich not exist

    Hello, i have a problem, in my plesk interface the sysuser only uses nodejs v8.10.0 but this version does not exist on my server. the next problem is that i can change the version in the nodejs interface for any app but the user still uses version v8.10.0 when i start any script like 'build'...
  14. B

    Issue Restrict Access to REST API

    I have an NodeJS REST API running on Ubuntu Server on port 8080 I have used ```ProxyPass``` and ```ProxyPassReverse``` to **api.domain.tdl** Can anyone help to restrict the access to ``localhost`` and Server's IP I have tried nginx conf ``` allow xx.xx.xx.xx; allow 127.0.0.1; deny all; ```...
  15. M

    Question ws websocket , Connection has not stublished , https (mixed content)

    I am newbie to Websocket i found this project on github, and i want to integrate this project to my old PHP project in plesk vps client.js : connection.onopen = function () { console.log("Connected to the server"); }
  16. Timatix

    Question npm is not available via customer ssh account

    Hi guys, i tried to setup a blog with Ghost. For that I had to install and enable the NodeJS extension. That worked perfectly. I've permitted the user the ssh access and the login is possible. But if the user types "npm" into the console, the response is only bash: npm: command not found. I've...
  17. N

    Issue npm install not longer working

    Since newest I can't install npm packages anymore. I get the following message: $ /opt/plesk/node/12/bin/npm install npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! npm...
  18. U

    Question NodeJS stops when start another NodeJS App

    Hello, i am new to the hole Plesk hosting stuff, but get into a problem. My current versions: Ubuntu 18.04.5 LTS‬ Plesk Obsidian 18.0.32 NodeJS Extension i have two Domains www.aaa.de <- aktiv www.bbb.de <- Locked in domain www.aaa.de i have two sub-domains 1.aaa.de 2.aaa.de on both i use...
  19. P

    Question How to setup a custom error page for my Node.JS App?

    Hello Community, How can I change the default node.js error page ("can't get /url") from server side? The /error_docs folder is filled. I tried everything I could think of: -activate/disable nginx proxy option -setting proxy_intercept_errors on; in the additional nginx settings -explicitly...
  20. M

    Question Set up ReactJS app with a NodeJS/Express backend

    Hello, I'm trying to figure out how to properly set up a react app that is using a node/express backend. I already have the nodejs extension downloaded and install from Plesk. I've created my domain and connected Plesk with my Git repo. I've pulled all my files from my repo to the /httpdocs...
Back
Top