Replies: 5 comments 7 replies
-
It seems to think you are using mongodb, what's ur config.json like? |
Beta Was this translation helpful? Give feedback.
-
Guys please can you help me UBUNTU 20.04.6 LTS X86_64 `root@meshcentral:~$ node -v root@meshcentral:~$ /usr/bin/node -v i am having the same issue after upgrading from version 1.1.13 to version 1.1.16 My config.json Where can i find the Log Files to see what the issue is? If i need to upgrade NODE how do i do that? any help greatly appreciated |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the link and explanation
I have done as per your instructions
Please find the output via cli
***@***.***:~# *node -v*
v20.9.0
***@***.***:~# */usr/bin/node -v*
v20.9.0
*I did reboot the Meshcentral server However I KEEP GETTING THE FOLLOWING
ERROR:*
This site can’t be reached
*mesh.mywebsite.com <http://mesh.mywebsite.com>* refused to connect.
I have tried to see what is going on
***@***.***:/opt# *sudo systemctl status meshcentral.service*
● meshcentral.service - MeshCentral Server
Loaded: loaded (/etc/systemd/system/meshcentral.service; enabled;
vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue
2023-11-21 04:51:59 UTC; 4s ago
Process: 4279 ExecStart=/usr/bin/node
/opt/meshcentral/node_modules/meshcentral (code=exited, status=1/FAILURE)
Main PID: 4279 (code=exited, status=1/FAILURE)
***@***.***:/opt#
I have restored from my backup
Any help greatly appreciated
|
Beta Was this translation helpful? Give feedback.
-
si458 Thank you for your support Is the mesherrors.log file inside meshcentral-data? Is the any data inside it - YES I have restarted the Meschcentral Server The NODE Upgrade has completed and i can Login with 2FO The problem is that it does log me in then for a brief moment i can see my Meshcentral Web Page and Devices then it Automatically LOGS ME OUT Any ideas? |
Beta Was this translation helpful? Give feedback.
-
si458 Thank you very much for your quick response, much appreciated Yes it was a Plugin that was the issue I just disabled the plugins option in the config.json file then did a reboot All is functional and working Thank you very much for a Fantastic Application |
Beta Was this translation helpful? Give feedback.
-
After upgrading to version 1.1.15 I'm seeing the following in the error log:
-------- 11/1/2023, 5:53:19 PM ---- 1.1.15 --------
node:internal/modules/cjs/loader:1051
throw err;
^
Error: Cannot find module 'mongodb'
Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at module.exports.CreateDB (/opt/mc/node_modules/meshcentral/db.js:812:9)
at CreateMeshCentralServer.obj.StartEx (/opt/mc/node_modules/meshcentral/meshcentral.js:807:28)
at CreateMeshCentralServer.obj.Start (/opt/mc/node_modules/meshcentral/meshcentral.js:438:66)
at /opt/mc/node_modules/meshcentral/meshcentral.js:4103:24
at /opt/mc/node_modules/meshcentral/meshcentral.js:3887:9
at ChildProcess.exithandler (node:child_process:414:7) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/mc/node_modules/meshcentral/db.js',
'/opt/mc/node_modules/meshcentral/meshcentral.js'
]
}
-------- 11/1/2023, 5:53:19 PM ---- 1.1.15 --------
Node.js v20.9.0
Everything seems to be working at the moment, just concerned I might have an issue still. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions