ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    MeshCental 2 Config File Issues

    IT Discussion
    meshcentral meshcentral 2 lets encrypt dashrender
    6
    30
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender
      last edited by Dashrender

      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.

      pmonchoP ObsolesceO 2 Replies Last reply Reply Quote 0
      • pmonchoP
        pmoncho @Dashrender
        last edited by pmoncho

        @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.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @pmoncho
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            If you are running normally, hosted somewhere, add..

            "WANonly": true,

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              I recommend WebRTC, it's the difference between being normal, and being insanely fast.

              DashrenderD 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Your RedirPort is default, so you could comment it out.

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @scottalanmiller
                  last edited by

                  @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,
                  ?

                  DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @Dashrender
                    last edited by

                    @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.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Dashrender
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender
                          last edited by

                          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
                          ccaba972-0387-48ec-9454-e7932a3a5a5d-image.png

                          DashrenderD 1 Reply Last reply Reply Quote 0
                          • ObsolesceO
                            Obsolesce @Dashrender
                            last edited by

                            @Dashrender said in MC config file issues:

                            MC server

                            Minecraft?

                            wirestyle22W 1 Reply Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22 @Obsolesce
                              last edited by wirestyle22

                              @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

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @wirestyle22
                                last edited by

                                @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.

                                wirestyle22W DashrenderD 2 Replies Last reply Reply Quote 1
                                • wirestyle22W
                                  wirestyle22 @scottalanmiller
                                  last edited by wirestyle22

                                  @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

                                  1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @scottalanmiller
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • DashrenderD
                                      Dashrender
                                      last edited by

                                      Here is my current config.json
                                      8df5a373-bd1f-4383-92de-0fed13421496-image.png

                                      Here is the directory listing from /opt/meshcentral/meshcentral-data
                                      04a0c402-8f51-42a7-ac83-2b86083431fc-image.png

                                      here is the error in /opt/meshcentral/stdout.txt when I load MC
                                      ERROR: Unable to parse /opt/meshcentral/meshcentral-data/config.json.
                                      79dce82a-edab-4e16-a63b-71f8a2b14caa-image.png

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Dashrender
                                        last edited by

                                        @Dashrender Use cat, not tail, to show us the config.

                                        DashrenderD 1 Reply Last reply Reply Quote 1
                                        • DashrenderD
                                          Dashrender @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in MeshCental 2 Config File Issues:

                                          @Dashrender Use cat, not tail, to show us the config.

                                          Thanks

                                          8b3ab83c-30a5-4e18-b5cf-2571fa4de224-image.png

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Dashrender
                                            last edited by

                                            @Dashrender Extra comma at the end before the final brace.

                                            ObsolesceO DashrenderD 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post