Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Install Cloudron 7.0.3 on Ubuntu 20.04.3 ESXi

Install Cloudron 7.0.3 on Ubuntu 20.04.3 ESXi

Scheduled Pinned Locked Moved Solved Support
13 Posts 2 Posters 1.7k Views 3 Watching
  • 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.
  • M mannyc1701

    @girish Docker Status: Screen Shot 2021-11-11 at 2.48.57 PM.png

    Docker Network & port 53:
    Screen Shot 2021-11-11 at 2.50.20 PM.png

    Thank you!

    girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #4

    @mannyc1701 docker seems OK. What is the lsof -i :53 output?

    M 1 Reply Last reply
    0
    • girishG girish

      @mannyc1701 docker seems OK. What is the lsof -i :53 output?

      M Offline
      M Offline
      mannyc1701
      wrote on last edited by
      #5

      @girish Its blank, no output.

      Screen Shot 2021-11-11 at 2.57.28 PM.png

      girishG 2 Replies Last reply
      0
      • M mannyc1701

        @girish Its blank, no output.

        Screen Shot 2021-11-11 at 2.57.28 PM.png

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #6

        @mannyc1701 Does nc -lu 172.18.0.1 53 work ? This tries to listen on UDP port 53. If it works, "it will just hang". Otherwise, it will print nc: Address already in use or something.

        And also nc -l 172.18.0.1 3003 ? This tries to listen on TCP port 3003.

        M 1 Reply Last reply
        0
        • M mannyc1701

          @girish Its blank, no output.

          Screen Shot 2021-11-11 at 2.57.28 PM.png

          girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #7

          @mannyc1701 also, have you tried rebooting the VM just in case and check if those services start up afterwards ? thanks!

          1 Reply Last reply
          0
          • girishG girish

            @mannyc1701 Does nc -lu 172.18.0.1 53 work ? This tries to listen on UDP port 53. If it works, "it will just hang". Otherwise, it will print nc: Address already in use or something.

            And also nc -l 172.18.0.1 3003 ? This tries to listen on TCP port 3003.

            M Offline
            M Offline
            mannyc1701
            wrote on last edited by
            #8

            @girish both show the same error, cannot assign requested address.
            Screen Shot 2021-11-11 at 3.05.26 PM.png

            The box screenshot mentions this error too, address 172.18.0.1 as not available.

            The local server network is 172.17.1.0/24.

            girishG 1 Reply Last reply
            0
            • M mannyc1701

              @girish both show the same error, cannot assign requested address.
              Screen Shot 2021-11-11 at 3.05.26 PM.png

              The box screenshot mentions this error too, address 172.18.0.1 as not available.

              The local server network is 172.17.1.0/24.

              girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by girish
              #9

              @mannyc1701 I can't see anything obvious. 172.18.0.0 is the internal docker network (internal to the VM). For some reason, services are unable to listen on that. Are other docker things running in docker ps ? Maybe a VM reboot helps, not sure.

              Out of curiosity, you can also do:

              docker run -ti cloudron/base:3.0.0 /bin/bash and then in the shell there, nc -l 0.0.0.0 3000 does that work?

              M 1 Reply Last reply
              0
              • girishG girish

                @mannyc1701 I can't see anything obvious. 172.18.0.0 is the internal docker network (internal to the VM). For some reason, services are unable to listen on that. Are other docker things running in docker ps ? Maybe a VM reboot helps, not sure.

                Out of curiosity, you can also do:

                docker run -ti cloudron/base:3.0.0 /bin/bash and then in the shell there, nc -l 0.0.0.0 3000 does that work?

                M Offline
                M Offline
                mannyc1701
                wrote on last edited by
                #10

                @girish here are the outputs:

                Screen Shot 2021-11-11 at 3.22.11 PM.png

                Prior to reboot after installation I ran ip addr output and could ping 172.18.0.1 & 172.18.0.2.
                Screen Shot 2021-11-11 at 3.25.39 PM.png

                this is the output after restart.
                Screen Shot 2021-11-11 at 3.26.22 PM.png
                docker ip changed to 172.19.0.1, I don't if that helps, it seems ip 172.18.0.1 is in use or configured and cannot be used but I can reach 172.18.0.2 without issue.

                girishG 1 Reply Last reply
                0
                • M mannyc1701

                  @girish here are the outputs:

                  Screen Shot 2021-11-11 at 3.22.11 PM.png

                  Prior to reboot after installation I ran ip addr output and could ping 172.18.0.1 & 172.18.0.2.
                  Screen Shot 2021-11-11 at 3.25.39 PM.png

                  this is the output after restart.
                  Screen Shot 2021-11-11 at 3.26.22 PM.png
                  docker ip changed to 172.19.0.1, I don't if that helps, it seems ip 172.18.0.1 is in use or configured and cannot be used but I can reach 172.18.0.2 without issue.

                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #11

                  @mannyc1701 said in Install Cloudron 7.0.3 on Ubuntu 20.04.3 ESXi:

                  cannot be used but I can reach 172.18.0.2 without issue

                  Thanks for hanging in there. The above is the core issue. Our code assumes the bridge gets the IP 172.18.0.1 . I am not sure why it gets it as 172.18.0.2 in ESXi . Maybe it was just a happy accident, but we had this assumption since forever.

                  Can you try this then:

                  • First, remove all existing containers: docker ps -aq | xargs -r docker rm -f
                  • Delete existing cloudron network: docker network rm cloudron
                  • Recreate cloudron network for the IP: docker network create --subnet=172.18.0.0/16 --ip-range=172.18.0.0/20 --gateway 172.18.0.1 cloudron
                  • Make cloudron code recreate containers: sed -e 's/48.20.0/48.19.0/' -i /home/yellowtent/platformdata/INFRA_VERSION
                  • Does systemctl restart unbound work after above? If it does, you can also do systemctl restart box which should also hopefully work.
                  M 1 Reply Last reply
                  1
                  • girishG girish

                    @mannyc1701 said in Install Cloudron 7.0.3 on Ubuntu 20.04.3 ESXi:

                    cannot be used but I can reach 172.18.0.2 without issue

                    Thanks for hanging in there. The above is the core issue. Our code assumes the bridge gets the IP 172.18.0.1 . I am not sure why it gets it as 172.18.0.2 in ESXi . Maybe it was just a happy accident, but we had this assumption since forever.

                    Can you try this then:

                    • First, remove all existing containers: docker ps -aq | xargs -r docker rm -f
                    • Delete existing cloudron network: docker network rm cloudron
                    • Recreate cloudron network for the IP: docker network create --subnet=172.18.0.0/16 --ip-range=172.18.0.0/20 --gateway 172.18.0.1 cloudron
                    • Make cloudron code recreate containers: sed -e 's/48.20.0/48.19.0/' -i /home/yellowtent/platformdata/INFRA_VERSION
                    • Does systemctl restart unbound work after above? If it does, you can also do systemctl restart box which should also hopefully work.
                    M Offline
                    M Offline
                    mannyc1701
                    wrote on last edited by
                    #12

                    @girish That did it, Thank you so much for helping me get this going!

                    girishG 1 Reply Last reply
                    0
                    • M mannyc1701

                      @girish That did it, Thank you so much for helping me get this going!

                      girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by girish
                      #13

                      @mannyc1701 thanks, I pushed a fix as well for next release - https://git.cloudron.io/cloudron/box/-/commit/fdefc780b4f687ec5ff508b1a37270492612f2a3

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search