App Manager is trying to use OLD nodejs10 folder
Hi All,
I had my app manager working before xmas as Im testing using this for the reverse proxy.
My app is still working however I believe I have screwed up by installing node within my cpanel profile but also via WHM... (can that happen!?)
Anyway i have:
installed npm via whm
installed node via whm
node -v
v17.3.1
Now if i run the app via SSH it runs using the port specified.
If i start the app manager it fails giving me this html error:
/bin/sh: /opt/cpanel/ea-nodejs10/bin/node: No such file or directory
Now from what I can understand phusion is looking in nodejs10 for the node application howveer my node app files are in ea-nodejs16 now...
How can i make app manager use the correct node installation to run my app?
-
Hello! Could you provide me with the output of the following commands? yum list installed | grep node yum list available | grep ea-node0 -
Hi Anthony and thanks so much for your response. cpanel-ng-whm-link-server-nodes.noarch 30-1.cp11100 installed cpanel-perl-532-tree-dag.node.noarch 1.31-1.cp1198 installed cpanel-perl-532-tree-multinode.noarch 1.0.13-1.cp1198 installed ea-nodejs16.x86_64 16.13.1-2.2.1.cpanel @EA4 nodejs.x86_64 1:6.17.1-1.el7 @epel
ea-nodejs10.x86_64 10.24.1-2.2.1.cpanel EA4 ea-nodejs10-debuginfo.x86_64 10.24.1-2.2.1.cpanel EA4
npm - v = 8.3 node -v = v17.3.1 Now i may have screwed things up more... but i really needed to get some testing done.. I deleted the nodejs10 folder and then renamed the nodejs16 -> nodejs10 The app manager is now working. Although it it working i appreicate I have probably caused 'other' issues. Also, for the sake of adding information, in EASYAPACHE4 (additional packages) i have nodejs16 (16.13.1-2.2.1.cpanel) installed.... As you can tell I'm very new to all of this so have most likely done things the wrong way and screwed this myself.0 -
If things are working well, I would be inclined to just let it go. If something happens in the future there will likely be errors to troubleshoot from. 0
Please sign in to leave a comment.
Comments
3 comments