MeshCental 2 Config File Issues
- 
 I'm trying to get Let's Encrypt working on my MC server. here is my entire config file, thoughts appreciated "__comment__" : "This is a sample configuration file, edit a section and remove the _ in front of the name. Refer to the user's guide for details.", "settings": { "Cert": "mc.beyondcompare.com", "RedirPort": 80, "MaxInvalidLogin": { "time": 10, "count": 10, "coolofftime": 10 }, }, "letsencrypt": { "email": "[email protected]", "names": "mc.beyondcompare.com", "rsaKeySize": 3072, "production": false }, }With this config.json file, mc won't start at all. 
 I'm going to look at the logs now that I've posted this.
- 
 @Dashrender 
 if you run mc from the command line, what error do you get?Edit: You may need to comment out the "Cert" line. That is equivalent to telling MC that you are using the following Cert at runtime. 
- 
 @pmoncho said in MC config file issues: Edit: You may need to comment out the "Cert" line. That is equivalent to telling MC that you are using the following Cert at runtime. Yeah, I definitely do not have that line with certs working properly. 
- 
 If you are running normally, hosted somewhere, add.. "WANonly": true, 
- 
 I recommend WebRTC, it's the difference between being normal, and being insanely fast. 
- 
 Your RedirPort is default, so you could comment it out. 
- 
 @scottalanmiller said in MC config file issues: I recommend WebRTC, it's the difference between being normal, and being insanely fast. Is that another line - like 
 "WebRTC": true,
 ?
- 
 @Dashrender said in MC config file issues: @scottalanmiller said in MC config file issues: I recommend WebRTC, it's the difference between being normal, and being insanely fast. Is that another line - like 
 "WebRTC": true,
 ?OK I looked it up in the manual - yes it is.. I just haven't gotten that far yet, I'm still trying to get LE to work. 
- 
 @Dashrender said in MC config file issues: @scottalanmiller said in MC config file issues: I recommend WebRTC, it's the difference between being normal, and being insanely fast. Is that another line - like 
 "WebRTC": true,
 ?Correct, another line. 
- 
 @Dashrender said in MC config file issues: @Dashrender said in MC config file issues: @scottalanmiller said in MC config file issues: I recommend WebRTC, it's the difference between being normal, and being insanely fast. Is that another line - like 
 "WebRTC": true,
 ?OK I looked it up in the manual - yes it is.. I just haven't gotten that far yet, I'm still trying to get LE to work. We moved to it early and really prefer it. 
- 
 OK weirdness - I followed the instructions to make mcstart and mcstop.. yet mcstop doesn't work... but if I type it in by hand sudo ./pkill -f node_modules/meshcentral it does kill it. 
 here is the ls -l
  
- 
 
- 
 @Obsolesce said in MC config file issues: @Dashrender said in MC config file issues: MC server Minecraft? It's meshcentral but i thought the same thing for a few seconds. Just messaged @Dashrender to tag 
- 
 @wirestyle22 said in MeshCental 2 Config File Issues: @Obsolesce said in MC config file issues: @Dashrender said in MC config file issues: MC server Minecraft? It's meshcentral but i thought the same thing for a few seconds. Just messaged @Dashrender to tag I tagged and corrected the title. 
- 
 @scottalanmiller said in MeshCental 2 Config File Issues: @wirestyle22 said in MeshCental 2 Config File Issues: @Obsolesce said in MC config file issues: @Dashrender said in MC config file issues: MC server Minecraft? It's meshcentral but i thought the same thing for a few seconds. Just messaged @Dashrender to tag I tagged and corrected the title. Too many acronyms in IT 
- 
 @scottalanmiller said in MeshCental 2 Config File Issues: @wirestyle22 said in MeshCental 2 Config File Issues: @Obsolesce said in MC config file issues: @Dashrender said in MC config file issues: MC server Minecraft? It's meshcentral but i thought the same thing for a few seconds. Just messaged @Dashrender to tag I tagged and corrected the title. Thanks. 
- 
 Here is my current config.json 
  Here is the directory listing from /opt/meshcentral/meshcentral-data 
  here is the error in /opt/meshcentral/stdout.txt when I load MC 
 ERROR: Unable to parse /opt/meshcentral/meshcentral-data/config.json.
  
- 
 @Dashrender Use cat, not tail, to show us the config. 
- 
 @scottalanmiller said in MeshCental 2 Config File Issues: @Dashrender Use cat, not tail, to show us the config. Thanks  
- 
 @Dashrender Extra comma at the end before the final brace. 




