Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
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
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>>...
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`
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...
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...
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...
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...
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 ?
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 ?
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...
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...
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...
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...
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...
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...