-
@Alexey I did everything described in the link you mentioned above. I do believe that Jot Server was installed correctly.
When I check the forever process using this command line:
forever list
I get this result:
(node:26054) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:26054) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
info: Forever processes running
data: uid command script forever pid id logfile uptime
data: [0] StUH /usr/bin/node app.js 26386 26397 /root/.forever/StUH.log 1:20:48:5.690999999991618
Is there any other way to check whether Jot Server is run as background process/daemon like "node app.js" or not?
Thanks
-
Hello!
Yes, you can check if the node is active, you should run this command:
ps ax | grep node
It shows the all processes with node js. You need to find line with path_to_jot_server/app.js . If it exists, then it is running.
Also may be you forgot to install the all dependencies using command:
npm install
You may provide me with server details via PM, I can check.
-
I have checked, indeed the node is active.
I run the command:
ps ax | grep node
and it gave me this result:
21007 pts/0 S+ 0:00 grep --color=auto node
26386 ? Ssl 0:00 /usr/bin/node /usr/lib/node_modules/forever/bin/monitor app.js
26397 ? Sl 0:12 /usr/bin/node /home/xxxxxx/xxxxxx/app.js
Also I installed all dependecies using the command line: npm install when installing Jot server. 69 packages were installed as I described in the link (post) below and you told me back then that everythig was good.
https://una.io/d/jot-server-installation-and-messenger
Anyway, I double-checked whether all the dependencies were installed using:
npm list
npm list --global
npm list -g
It gave me a long list of installed npm packages and their dependencies like this:
/root
└─┬ forever@4.0.1
├── async@1.5.2
├─┬ cliff@0.1.10
│ ├── colors@1.0.3 extraneous
│ ├── eyes@0.1.8
│ └── winston@0.8.3 deduped
├── clone@2.1.2
├── colors@0.6.2
├─┬ configstore@4.0.0
│ ├─┬ dot-prop@4.2.1
│ │ └── is-obj@1.0.1
etc... (the list is long)
Also, it gave me some errors like:
npm ERR! extraneous: colors@1.0.3 /root/node_modules/cliff/node_modules/colors
npm ERR! extraneous: cliff@0.1.9 /root/node_modules/broadway/node_modules/cliff
npm ERR! extraneous: eventemitter2@0.4.14 /root/node_modules/broadway/node_modules/eventemitter2
npm ERR! extraneous: winston@0.8.0 /root/node_modules/broadway/node_modules/winston
etc... (the list is long)
I don't know what those errors mean, but as you call tell, all the dependencies were installed.
I am sending you my server details via PM so that you can check.
Thanks.
-