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

    Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80

    IT Discussion
    meshcentral ubuntu 19.04 lets encrypt port 80
    5
    38
    2.5k
    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.
    • black3dynamiteB
      black3dynamite
      last edited by

      I wonder if you need do this?
      edd43171-c079-4340-b9a4-0ede09a1d04b-image.png
      http://info.meshcentral.com/downloads/MeshCentral2/MeshCentral2InstallGuide-0.0.7.pdf

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

        @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

        My apologies. It is going to 1024 and https to 1025.

        Did you forget to run as root? Those are unprivileged ports.

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

          If you run as non-root (I know the new directions seem to point people to avoid this, but the ones we used when everyone originally got this up and running all pointed us to use root) you have a lot of additional complications that you likely want to avoid. I highly recommend sticking to root for almost anyone deploying this.

          pmonchoP 1 Reply Last reply Reply Quote 1
          • pmonchoP
            pmoncho @black3dynamite
            last edited by

            @black3dynamite said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

            I wonder if you need do this?
            edd43171-c079-4340-b9a4-0ede09a1d04b-image.png
            http://info.meshcentral.com/downloads/MeshCentral2/MeshCentral2InstallGuide-0.0.7.pdf

            That did it. Ugh. I totally forgot about this because I upgrade from 16.04 to 18.04 to and then to 18.10 and did not have that issue. Apparently I now have that issue.

            Thanks. Boy, I did learn alot over the last two days. Now I have a go to check in the future..

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

              @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

              That did it. Ugh. I totally forgot about this because I upgrade from 16.04 to 18.04 to and then to 18.10 and did not have that issue. Apparently I now have that issue.

              That setcap setting is "by the version", so if Node updates, the setting would need to update.

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

                @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                If you run as non-root (I know the new directions seem to point people to avoid this, but the ones we used when everyone originally got this up and running all pointed us to use root) you have a lot of additional complications that you likely want to avoid. I highly recommend sticking to root for almost anyone deploying this.

                I do run as a non-root user. I will probably install as root in the near future. I installed as non-root as it seemed more secure but I do see the issue that it presents also.

                Thanks for the help.

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

                  @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                  @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                  That did it. Ugh. I totally forgot about this because I upgrade from 16.04 to 18.04 to and then to 18.10 and did not have that issue. Apparently I now have that issue.

                  That setcap setting is "by the version", so if Node updates, the setting would need to update.

                  Thanks. I thought it was a OS thing. I didn't put 2 and 2 together. Ugh. I know better now.

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

                    @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                    I installed as non-root as it seemed more secure but I do see the issue that it presents also.

                    Installing as root is one piece, running as root is another. You should be able to just run the current install as root to fix at least that problem.

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

                      @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                      @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                      I installed as non-root as it seemed more secure but I do see the issue that it presents also.

                      Installing as root is one piece, running as root is another. You should be able to just run the current install as root to fix at least that problem.

                      I would need to move it outside of home dir to something like /opt?

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

                        @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                        I would need to move it outside of home dir to something like /opt?

                        Should, of course. No software ever goes in the /home directory. But need to? No, root can use any directory.

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

                          @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                          @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                          I would need to move it outside of home dir to something like /opt?

                          Should, of course. No software ever goes in the /home directory. But need to? No, root can use any directory.

                          Will work on this. Thanks

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

                            @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                            @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                            @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                            I would need to move it outside of home dir to something like /opt?

                            Should, of course. No software ever goes in the /home directory. But need to? No, root can use any directory.

                            Will work on this. Thanks

                            If you are using NeDB, it is super simple to move the data file. If you are using MongoDB, the database is always still there on the same port.

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @scottalanmiller
                              last edited by

                              @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                              @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                              @scottalanmiller said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                              @pmoncho said in Ubuntu 19.04 upgraded from 18.10 - Meshcentral not redirecting port 80:

                              I would need to move it outside of home dir to something like /opt?

                              Should, of course. No software ever goes in the /home directory. But need to? No, root can use any directory.

                              Will work on this. Thanks

                              If you are using NeDB, it is super simple to move the data file. If you are using MongoDB, the database is always still there on the same port.

                              Until MongoDB is gone!

                              1 Reply Last reply Reply Quote 1
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post