• 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

node

  1. sabirboi04

    Issue Node App Not Working

    I've hosted a node app on plesk that node app having google login ok so when i tried to login via google that redirected to callback path url with 403 error. but the same app im using in another vps (with only nginx server) with same configuration that actually works. please give solution. and...
  2. A

    Resolved SvelteKit Enviroment Variables

    Hello, I got some issues running SvelteKit with how the docs recommend doing, firstly I do use an entry.cjs file for the startup file in Plesk, but by following the docs https://kit.svelte.dev/docs/adapter-node#deploying I'm unsure on how to deal with the environment variables, like in the...
  3. B

    Issue All my nodeJS sites having nginx 502 Error after restoring bakcup

    Hello, I'm facing a big issue with plesk and nodejs. I initially had a centos with plesk and because centos was to old i decided to migrate to ubuntu 22.$ I've made a backup of my plesk server with backup manager and I installed ubuntu on it. Then I installed Plesk on the brand new ubuntu server...
  4. D

    Issue Problems running NODE

    I have problems uploading a web page with node First I got this error /usr/share/passenger/helper-scripts/node-loader.js:80 return originalRequire.apply(this, arguments); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module...
  5. W

    Question Replacing cPanel with Plesk and multi-server questions

    After using cPanel for more than a decade, we're looking at our options. My question is about using Plesk for web hosting and email. We're considering (and have been for a while) using cPanel's mail-only node to shift mail functions off to lower-cost VPS-based servers while keeping hosting on...
  6. F

    Issue Plesk automatically uninstalls global node packages

    Hello, on my server runs a tool, that requires a global node package (pm2). It happend now the second time, that this global package was removed automaticly. No manual update happens, no server restart, it just got removed. The last time was yesterday at 04:58:09pm Servertime. A second ago it...
  7. J

    Question Laravel + nodejs + Phusion passenger

    Hi, When I deploy (with git) my Laravel (php) project I have a strange problem. All routes to my app work, except the / (the root) So for example /order works without any problems. When I call the root / I get a message from Phusion passenger, like in the attached image. Does anyone have an...
  8. BrinsleyP

    Issue Plesk Repair dont fix this

    Hello to every. How to fix this issue? root@server:~# plesk repair all -y Reconfiguring the Plesk installation Reconfiguring the Plesk installation ............................ [FAILED] - Started bootstrapper repair procedure (fast mode). This may take a while. - Certain...
  9. 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!
  10. M

    Question How does node work on plesk?

    Greetings, I wrote an application in node that uses a web server node set on port 3000 on this web server I created a client-side GUI (fontEnd) that allows you to do some operations such as: - CLICK A BUTTON 'Start program number 2' - CLICK A BUTTON 'Stop program number 2' - Change program...
  11. 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...
  12. M

    Question Bad Gateway error (502) on nginx

    I followed 502 Bad Gateway nginx : How to solve? but can not resolve my issue on Obsidian: My localhost is listening on port 5000 - netstat -aon shows tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN and Apache is up and running - (checked with service apache2 status), Fail2Ban is not installed...
  13. G

    Resolved Node App Deployment Error

    Hi! I'm trying to deploy a Node App in Plesk, but when I access my domain, it gives an error: "We're sorry, but something went wrong." It provides an Error ID and mentions phusion passenger, but Idon't know where to find such logs. From other threads, I have already run command `dpkg -l |...
  14. P

    Question NodeJS Clustering on Plesk Onyx

    Hello, I'm running an NodeJS application Plesks, everything works fine! Somehow I'm trying to adapt Node Clustering into the server with below codes: const cluster = require('cluster'); const http = require('http'); const numCPUs = require('os').cpus().length; if (cluster.isMaster) {...
  15. Peter Carlsson

    Question Show live output on build

    Hi guys, I run Node and i works great but when i run script build i have to wait for a long time and then i get the output. Is it possible to get the output "live" like when i run build in terminal?
  16. chapterjason

    Question NodeJS and Yarn in chrooted environment

    Hey, I followed this instructions to configure my chrooted env for the domain user, like it is written here. I currently use this script to configure the env. echo reset ./update_chroot.sh --rebuild echo add php ./update_chroot.sh --add /opt/plesk/php/7.1/bin/php mkdir...
  17. DevStudio

    Resolved Angular Install

    Greetings I am working with (Angular 4 not to be mistaken with AngularJS) in PLESK (centOS) 64-bit Set up steps go nicely as per Angular Docs Once installed and set up the project can be seen on port 4200 http://localhost:4200/ In my case my.ip.address:4200 or mydomain.com:4200 This does not...
  18. James Newton

    Question Installing Meteor in a Plesk-friendly way?

    Hello helpful Plesk people, I have a brand new server on which Plesk Onyx is installed, and I'm trying to get Meteor to run on it. A search for "meteor" in this forum has returned no results, and all the online tutorials I can find make no mention of Plesk. I encounter a series of errors when...
  19. Fedor Usakov

    Question How can I use custom error pages via Node.js?

    Hello. Can I set Node.js to use error pages from error_docs? (How?) Or I have to declare each page manually? Thanks.
  20. A

    Issue Node Env Variable Length

    Hello, I've noticed that in a node application, if you add custom environment variables, there appears to be an issue in regards to the total length of the key-names and the values. If anyone has encountered this and resolved it (or worked around it), some help would be great. Here are the...
Back
Top