• 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

Search results

  1. T

    Question Display log of commands in Deploy actions

    My solution was to write it to a txt file and read that file (very hacky by the way XD). Here is my full deploy command: # BACKEND DEPLOY export PATH=$PATH:/opt/plesk/node/16/bin && cd ./folder1 && rm -f deploy.log && npm i >> deploy.log 2>> deploy.log && npm run build >> deploy.log 2>>...
  2. T

    Question Passenger Phusion logs for nodeJs app

    Hi, thanks for those useful infos. I am not willing to buy passenger commercial version though. Too bad plesk cannot integrate with PM2! I managed to use PM2 but it was a real pain to setup. So now to access my logs in real time it's easy as `pm2 logs my-app` or `pm2 logs all`
  3. T

    Important Updated Node.JS application hosting support

    Hi, I have spent two days figuring out how to use custom port for nodeJs website. Impossible to edit nginx conf to forward / to :9999/. Impossible to disable nodeJs app nor bypass passenger for website as I want to use PM2, which is way better IMO. The only way it did work is by modifying...
  4. T

    Issue All website content deleted!

    Hi @Rasp, the alert looks exactly like the one of a normal website so I didn't exactly red the message. Also like I have said, the concept of main domain is really blurry and really not emphasized throught the app. It's counterintuitive and there is at first sight no reason to have a main...
  5. T

    Issue All website content deleted!

    Ok that's the case...but so counterintuitive! And so dangerous for sites in production. I don't think this concept of primary domain have a meaning...since it is juste the first domain recorded, that for my case was a test (hello world). Also this should be more obvious that there is a primary...
  6. T

    Issue All website content deleted!

    Hi, I was removing at the same time 2 of my 4 websites with different domain names but ALL WHERE DELETED! I did it via the red cross menu item available on the website card resume in the "website and domains" page. So I firstly deleted one, clicked on the confirm, then deleted the second...
  7. T

    Question Duplicate (copying) existing website config

    Hi, here is the list of settings I need to copy: nodeJs app settings git deploy actions and settings hosting params (root folder) I'm not sure I understand what you mean by service plan ?
  8. T

    Question Duplicate (copying) existing website config

    Thanks, will it copy all site setup ? Not only files ? Also I have an error when I try to import: I don't use PHP since is a nodeJs project. Any clues ?
  9. T

    Issue Node.JS and SSL - Permission denied while trying to get certificates

    Hi @PiTiNiNjA I struggle to put my nodeJs server in https, what is the port you use ? And how do you call it from frontend ? I am looking for https://myDomain.com/api to redirect to https://myDomain.com:9999/api where 9999 is the port I actually started my nodeJs app on Looking forward to hear...
  10. T

    Question Duplicate (copying) existing website config

    Hi, I really struggle to find something on the subject. I have to configure 6 "websites" that nearly have the same configuration. I'll be glad that it exists a functionality to copy existing website and change only the few settings that differ. How can I handle that please ? I have tried...
  11. 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 ?
  12. T

    Resolved Install PM2 in Plesk.

    I managed to install it! It's very different for debian than for ubuntu. I had to do `sudo su` command before all and being the admin user in the debian server Then apt update && apt install sudo curl && curl -sL https://raw.githubusercontent.com/Unitech/pm2/master/packager/setup.deb.sh | sudo...
  13. T

    Resolved Install PM2 in Plesk.

    Hi same problem here, I installed it globally (I had to do it with sudo user). But then impossible to call pm2 command. It is found in `/opt/plesk/node/18/bin/pm2` but since I do `/opt/plesk/node/18/bin/pm2 status ` I have the error message: `usr/bin/env: ‘node’: No such file or directory` Pm2...
  14. T

    Forwarded to devs Git "additional deployment actions" sometimes not working

    Posting there because some might found this useful as it is related to PATH: To add the `npm` and `node` commands available you have to export to path like: `export PATH=$PATH:/opt/cpanel/ea-nodejs16/bin/` (note: this will not permanentlmy change your path variable) Find additional infos on...
  15. T

    Issue Cannot cd in deploy actions

    Hi, I have tried multiple things in deploy actions: `ls > output.log` => output the content of main folder (backend/ frontend/) `cd ./backend/ && ls > output.log` => output nothing `cd ./backend/ > output.log` => output an empty file I was awaiting at least an error message. Why can't I cd in...
  16. T

    Question Display log of commands in Deploy actions

    Hi, is there a way to see the real time output of deploy actions please ? In my case I need to run a sequence of npm commands on my nodejs project and it will be way easier to see output of the cli. Thanks for your lights
Back
Top