Category "pm2"

pm2 deploy production setup : executing post-setup `yarn && yarn dev` bash: yarn: command not found

I'm trying to use pm2 deploy production update to serve my NextJs app on remote server. I've have already installed yarn locally and also on remote server. It s

Process 'rumpostgreswk' running on linux and took 100% memory and CPU, where does it come from?

I have a question, I'm running a nodeJs server on a Digital Ocean droplet. I'm using pm2 for monitoring the application, everything looks fine. However suddenly

NUXT when is each dist folder used, html/.nuxt/dist/ html/dist/_nuxt/ html/static html/assets?

If I use: Nuxt @ v2.15.8 Environment: production Rendering: server-side Target: server In this case, which of all assets folders does NUXT use? Does NUXT in thi

Keeping node.js express running after logoff

I've setup a node.js app started with pm2 and all is working fine I've also tried adding watch and save options (see more about the windows service below) pm2 s

SSH pm2: command not found

When I run this command from my local machine... ssh [email protected] "pm2 reload all" I get this error... pm2: command not found Running the command in t

pm2 process using the old system Environment Variables on resurrection

I have created a node application that is for subscribing to an OPC-UA server and storing the data on our s3 bucket. I am using the node-opcua module for that p

PM2 "Two servers linked with the same server name"

I've a node server.js that is currenty runned with PM2. I put that on docker for use it with kubernetes and every time that I spawn a new machine PM2 monitor wa

how to run a vue js 2 app with pm2 library in linux(RHEL)?

I have a vue js app, which i run it locally with npm run serve command. I am trying to run it in a development linux ( RHEL) box with pm2 library, but it doesn'

Github Actions pm2: command not found

I am trying to auto-deploy the project and npm commands run perfectly but when it goes to a line where pm2 restarts the specific projects, then actions fails. G

pm2-logrotate install on offline linux machine

I want to install pm2-logrotate on linux machine where the machine is not having internet connectivity https://www.npmjs.com/package/pm2-logrotate

Getting errors when trying to start app via yarn & pm2

Receiving an error when attempting to start node (next.js) app via yarn and pm2. My google fu didn't turn up anything useful. I suspect the issue is with nvm, t

Deploying an Angular Universal App in Azure web app service - Linux based

I'm trying to deploy an Angular Universal App in Azure web app service (Linux webapp) using azure devops pipeline and build/release pipeline are successfully co

Backend Api error (502 bad gateway) from React Cilent to Express Server during deployment

I am trying to deploy my app on digital ocean (react-express app). During deployment, I used to make my requests to the following endpoint "http://localhost:800

pm2 command not working from a docker image

I have a pm2 command in my docker file which should run inside container when the container starts: CMD ["pm2", "start", "ecosystem.local.json"] CMD ["pm2", "lo

Error when using Google Cloud vision and pm2 with python3 script

I'm trying to run my script on a unbuntu server. One the the libraries the script requires is Google Cloud Vision. It works locally and on the server if I use t

How to kill the pm2 --no-daemon process

I'm using pm2 as the process manager of Node.js. In many cases, I think I will run it as a daemon process, but if you use it locally as debugging, I think that

What is the difference between pm2 restart and pm2 reload

I have a nodejs app running on server. When should I use pm2 restart,and when should pm2 reload be used? Referred to the pm2 documention here,but couldn't fig

How to add node run option --max-http-header-size and add name to pm2 start command

How would I start a pm2 process with the —max-http-header-size node option, as well as name the process. I have a server with multiple micro-services, one

Setting up websockets in a multi-instance node environment using PM2

My current setup is running multiple node instances using PM2 to manage the instances and act as a load balancer. I would like to implement some functionality

pm2 --ignore-watch not working

I have been using pm2 for some time now. Recently, I needed to add a custom log directory to my Express4 project called "actionLog". Since it is a directory tha