skip to Main Content

i am trying to deploy a node.js app. after creating and installing modules using cpanel interface. when i run script, i get this error: Can’t acquire lock for app: app.
any idea?

6

Answers


  1. try a look at this:

    https://cloudlinux.zendesk.com/hc/en-us/articles/360010988820–NodeJS-Selector-not-Working-with-an-Error-Can-t-acquire-lock-for-app

    You need to access via terminal to kill the process.

    I’m still trying to run a node.js application that not expose a web interface but works like a bot.

    Login or Signup to reply.
  2. Remove .lock file at source /home/<repo>/nodevenv/node/

    Login or Signup to reply.
  3. My solution
    Open File Manager find .lock:

    /home/[username]/nodevenv/[domain]
    

    then remove .lock file

    Login or Signup to reply.
  4. I solved this by going the virtualenv folder and deleting the .lock file

    Login or Signup to reply.
  5. Delete .lock file from /home/nodevenv/

    Login or Signup to reply.
    • Remove lock from home/nodevenv/{domain}/.lock
    • Stop the app
    • Change node version to be up to date with your application
    • npm install all dependencies
    • Restart the app
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search