silversword411 2022-08-09 22:48:38 -04:00
parent 1257c4bc3a
commit a3f1c0fa24
No known key found for this signature in database
GPG Key ID: CF805301BBB8CC0C

View File

@ -21,6 +21,38 @@ Make sure you understand how MeshCentral works with your browser using chrome de
"AgentWsCompression": false,
```
### Unable to update server
Generally the problem is that MeshCentral can't find the npm tool and so, can't run it to see if there is a new version. You can fix this by setting the path to npm in the config.json like this:
```json
{
"settings": {
"npmPath": "c:\\npm.exe",
"npmProxy": "http://1.2.3.4:80"
}
}
```
The problem could also be that you need a proxy, the configuration line to that is above.
You can also manually update. Just stop your server and so this:
```bash
mv node_modules node_modules_bak
npm install meshcentral
node node_modules/meshcentral
```
Then wait for all optional modules to install, then once the server starts hit ctrl-c and start up the server again. You can also use the following to help you start/stop the server:
```bash
node node_modules/meshcentral --install
node node_modules/meshcentral --uninstall
node node_modules/meshcentral --start
node node_modules/meshcentral --stop
```
### Port Troubleshooting on server
If you're getting a `port 4433 is not available` error, this is because someone else is using this port, very likely another instance of MeshCentral. If your MeshCentral server is bound to ports 81/444 MeshCentral could not get port 80/443 and got the next available ones.