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. Cloudron Setup on Contabo - VPS L Instances - Ubuntu 22.04 x64

Cloudron Setup on Contabo - VPS L Instances - Ubuntu 22.04 x64

Scheduled Pinned Locked Moved Solved Support
contaboinstallation
24 Posts 6 Posters 4.0k Views 6 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.
  • girishG girish

    @cilleyperson yes, your suspicion is correct. you have to uninstall bind before installing cloudron.

    But, the setup script already has code to disable bind9. I am wondering why that doesn't work. Can you please try:

    systemctl stop bind9
    systemctl disable bind9
    

    Does the above work?

    C Offline
    C Offline
    cilleyperson
    wrote on last edited by
    #3

    @girish So I actually went ahead and completely removed the bind9 packages from the OS and ran the install again. Slightly different message in the journal output this time:

    Dec 09 14:27:15 vmi1119358.contaboserver.net unbound[19504]: [1670596035] unbound[19504:0] error: can't bind socket: Cannot assign requested addres>
    Dec 09 14:27:15 vmi1119358.contaboserver.net unbound[19504]: [1670596035] unbound[19504:0] error: cannot open control interface ::1 8953
    Dec 09 14:27:15 vmi1119358.contaboserver.net unbound[19504]: [1670596035] unbound[19504:0] fatal error: could not open ports
    Dec 09 14:27:15 vmi1119358.contaboserver.net systemd[1]: unbound.service: Main process exited, code=exited, status=1/FAILURE
    

    So now port 8953 is the one that cannot be bound. Very strange. Is there anything else that people know about that is unique to Contabo that my be causing this? I also have the ability to upload custom iso images. Is there an ISO image for cloudron that I could use right out of the gate?

    Thanks!

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #4

      Can you run ss -lptn 'sport = :8953' as root on your server to find out which process is using that port now?

      Also maybe it can only not bind to port for ipv6? Is ipv6 enabled on that instance?

      C 1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • nebulonN nebulon

        Can you run ss -lptn 'sport = :8953' as root on your server to find out which process is using that port now?

        Also maybe it can only not bind to port for ipv6? Is ipv6 enabled on that instance?

        C Offline
        C Offline
        cilleyperson
        wrote on last edited by
        #5

        @nebulon Here is the output from that command:

        ss -lptn 'sport = :8953'
        State           Recv-Q           Send-Q                      Local Address:Port                       Peer Address:Port           Process
        

        So it doesn't look like there is anything running on that port.

        I honestly don't need ipv6 on these hosts. Is there a best practice to disable this on Ubuntu 22.04?

        Thanks!

        C 1 Reply Last reply
        0
        • C cilleyperson

          @nebulon Here is the output from that command:

          ss -lptn 'sport = :8953'
          State           Recv-Q           Send-Q                      Local Address:Port                       Peer Address:Port           Process
          

          So it doesn't look like there is anything running on that port.

          I honestly don't need ipv6 on these hosts. Is there a best practice to disable this on Ubuntu 22.04?

          Thanks!

          C Offline
          C Offline
          cilleyperson
          wrote on last edited by
          #6

          @cilleyperson I followed the instructions to disable ipv6 on a fresh 22.04 install but still no luck. I disabled ipv6 using the process shown here:

          https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-22-04-lts-jammy-jellyfish

          I think it may have actually caused more issues than it resolved as I received a dpkg error for the nginx install this time, which was new.

          I am at a loss in terms of where to go from here. I am using the base Contabo Ubuntu 22.04 install. Seems like it shouldn't be causing this many issues out of the box.

          nebulonN 1 Reply Last reply
          0
          • C cilleyperson

            @cilleyperson I followed the instructions to disable ipv6 on a fresh 22.04 install but still no luck. I disabled ipv6 using the process shown here:

            https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-22-04-lts-jammy-jellyfish

            I think it may have actually caused more issues than it resolved as I received a dpkg error for the nginx install this time, which was new.

            I am at a loss in terms of where to go from here. I am using the base Contabo Ubuntu 22.04 install. Seems like it shouldn't be causing this many issues out of the box.

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #7

            @cilleyperson have you tried to spin up a fresh instance with ipv6 enabled? Possibly this is a contabo side switch, while creating the instance.

            C 1 Reply Last reply
            0
            • nebulonN nebulon

              @cilleyperson have you tried to spin up a fresh instance with ipv6 enabled? Possibly this is a contabo side switch, while creating the instance.

              C Offline
              C Offline
              cilleyperson
              wrote on last edited by
              #8

              @nebulon I have tried this on a completely fresh Contabo VPS L instance and the same thing happens, the Unbound service fails, causing the install script to fail in the same manner as what I first reported.

              It seems like this all has something to do with the IPv6 settings with the VM but I can't be sure. I wish I knew what others have done in the past to get Cloudron working on Contabo.

              Digital Ocean is getting too expensive in terms of monthly costs for me as an individual to run my apps on the platform, so Contabo looked like the best way to solve for that challenge. Unfortunately it seems like there is something fundamentally different about their Ubuntu images causing the Cloudron installer to fail.

              C 1 Reply Last reply
              0
              • C cilleyperson

                @nebulon I have tried this on a completely fresh Contabo VPS L instance and the same thing happens, the Unbound service fails, causing the install script to fail in the same manner as what I first reported.

                It seems like this all has something to do with the IPv6 settings with the VM but I can't be sure. I wish I knew what others have done in the past to get Cloudron working on Contabo.

                Digital Ocean is getting too expensive in terms of monthly costs for me as an individual to run my apps on the platform, so Contabo looked like the best way to solve for that challenge. Unfortunately it seems like there is something fundamentally different about their Ubuntu images causing the Cloudron installer to fail.

                C Offline
                C Offline
                cilleyperson
                wrote on last edited by
                #9

                @cilleyperson I am going to try one more thing. I am going to use the vanilla Ubuntu ISO as a custom image to install from and try and use that to re-build my VPS with. Maybe that will allow me to bypass whatever is causing this problem.

                C 1 Reply Last reply
                2
                • C cilleyperson

                  @cilleyperson I am going to try one more thing. I am going to use the vanilla Ubuntu ISO as a custom image to install from and try and use that to re-build my VPS with. Maybe that will allow me to bypass whatever is causing this problem.

                  C Offline
                  C Offline
                  cilleyperson
                  wrote on last edited by
                  #10

                  @cilleyperson Ok, so we have success! Turns out, whatever image Contabo uses by default is not something that Cloudron likes at all. I used a custom image with the vanilla 22.04.1 ISO and it works fine.

                  Not sure if the system recognized my complete allotment of RAM and disk space though. Going to need to see what is happening there.

                  C 1 Reply Last reply
                  3
                  • C cilleyperson

                    @cilleyperson Ok, so we have success! Turns out, whatever image Contabo uses by default is not something that Cloudron likes at all. I used a custom image with the vanilla 22.04.1 ISO and it works fine.

                    Not sure if the system recognized my complete allotment of RAM and disk space though. Going to need to see what is happening there.

                    C Offline
                    C Offline
                    cilleyperson
                    wrote on last edited by
                    #11

                    @cilleyperson I've got it! Managed to resize the logical volume to take advantage of all the space on my Contabo VPS.

                    So it looks like while it is a bit more work on Contabo, and you need to pay the small monthly fee for custom OS image hosting, everything does work pretty well.

                    I may turn this whole experience into a how-to in the future so people can learn from what I did to get this working.

                    jdaviescoatesJ 1 Reply Last reply
                    3
                    • C cilleyperson

                      @cilleyperson I've got it! Managed to resize the logical volume to take advantage of all the space on my Contabo VPS.

                      So it looks like while it is a bit more work on Contabo, and you need to pay the small monthly fee for custom OS image hosting, everything does work pretty well.

                      I may turn this whole experience into a how-to in the future so people can learn from what I did to get this working.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #12

                      @cilleyperson said in Cloudron Setup on Contabo - VPS L Instances - Ubuntu 22.04 x64:

                      I may turn this whole experience into a how-to in the future so people can learn from what I did to get this working.

                      Yes, please do! 🙏

                      I think their German locations run on 100% hydro power (although this is not at all clear - I've asked them multiple times and am struggling to get a definitive answer, and have received conflicting answers from their email support vs social media) so I'm thinking of giving them a try (actually already bought 250gb of object storage from them in a recent sale)

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #13

                        Ah very good you got down to the issue. Unfortunately its not uncommon that VPS provider tweak their Ubuntu images in ways which interfere with Cloudron and those are inherently hard to debug then.

                        C 1 Reply Last reply
                        2
                        • nebulonN nebulon

                          Ah very good you got down to the issue. Unfortunately its not uncommon that VPS provider tweak their Ubuntu images in ways which interfere with Cloudron and those are inherently hard to debug then.

                          C Offline
                          C Offline
                          cilleyperson
                          wrote on last edited by
                          #14

                          @nebulon One last follow-up for anyone else out there looking at this and trying to install Cloudron on Contabo VPS instances. Here are the steps I went through:

                          • Setup Contabo account with the instance(s) of your choosing (I am using the VPS L size)
                          • Add on custom image storage for your Contabo account (at the time of writing this was $1.49 extra per month for 25 GB of image sotorage
                          • Follow the instructions to download the standard Ubuntu server image to your Contabo custom image storage (at the time of writing this was version 22.04.1)
                          • Make sure your Contabo VPS has cloud-init enabled so that you can use the custom image
                          • Go through the Contabo re-install process for your VPS selecting the custom image for the OS
                          • Follow the instructions to enable VNC viewer access to your Contabo VPS instance so that you can complete the Ubuntu install
                          • Go through the standard Ubuntu install process using the VNC viewer connection
                          • I would recommend using the logical volume option to handle your hard disk creation and then edit the logical volume group at installation to use the full amount of disk space available.
                          • Make sure you enable the SSH server so that you do not need to leave VNC access enables since this is a security issue
                          • Once Ubuntu is installed, reboot your server, disable VNC access, and go through the rest of the steps using an SSH connection
                          • I would recommend using a certificate for your SSH connections if possible, it is safer than having SSH exposed with only password authentication on the internet.
                          • Follow the Cloudron installation instructions to pull down the latest version and complete the setup process on your server.

                          I'll working on making a more detailed tutorial in the coming weeks, but this should get someone headed in the right direction if they are in the same situation I was.

                          girishG 1 Reply Last reply
                          2
                          • C cilleyperson has marked this topic as solved on
                          • C cilleyperson

                            @nebulon One last follow-up for anyone else out there looking at this and trying to install Cloudron on Contabo VPS instances. Here are the steps I went through:

                            • Setup Contabo account with the instance(s) of your choosing (I am using the VPS L size)
                            • Add on custom image storage for your Contabo account (at the time of writing this was $1.49 extra per month for 25 GB of image sotorage
                            • Follow the instructions to download the standard Ubuntu server image to your Contabo custom image storage (at the time of writing this was version 22.04.1)
                            • Make sure your Contabo VPS has cloud-init enabled so that you can use the custom image
                            • Go through the Contabo re-install process for your VPS selecting the custom image for the OS
                            • Follow the instructions to enable VNC viewer access to your Contabo VPS instance so that you can complete the Ubuntu install
                            • Go through the standard Ubuntu install process using the VNC viewer connection
                            • I would recommend using the logical volume option to handle your hard disk creation and then edit the logical volume group at installation to use the full amount of disk space available.
                            • Make sure you enable the SSH server so that you do not need to leave VNC access enables since this is a security issue
                            • Once Ubuntu is installed, reboot your server, disable VNC access, and go through the rest of the steps using an SSH connection
                            • I would recommend using a certificate for your SSH connections if possible, it is safer than having SSH exposed with only password authentication on the internet.
                            • Follow the Cloudron installation instructions to pull down the latest version and complete the setup process on your server.

                            I'll working on making a more detailed tutorial in the coming weeks, but this should get someone headed in the right direction if they are in the same situation I was.

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #15

                            @cilleyperson I signed up with Contabo and created a new server now . I managed to reproduce your installation issue, investigating.

                            1 Reply Last reply
                            1
                            • girishG girish has marked this topic as unsolved on
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #16

                              There is a bug in unbound on Ubuntu 22 that it listens on the control interface (port 8953) by default. I have reported the issue on the unbound mailing list, let's see what they say.

                              jdaviescoatesJ 1 Reply Last reply
                              1
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #17

                                reported - https://github.com/NLnetLabs/unbound/issues/806

                                1 Reply Last reply
                                2
                                • girishG girish

                                  There is a bug in unbound on Ubuntu 22 that it listens on the control interface (port 8953) by default. I have reported the issue on the unbound mailing list, let's see what they say.

                                  jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #18

                                  @girish said in Cloudron Setup on Contabo - VPS L Instances - Ubuntu 22.04 x64:

                                  There is a bug in unbound on Ubuntu 22 that it listens on the control interface (port 8953) by default. I have reported the issue on the unbound mailing list, let's see what they say.

                                  But @cilleyperson didn't seem to have the issue with a vanilla install of Ubuntu 22, only on Contabo's version of it, no?

                                  I use Cloudron with Gandi & Hetzner

                                  girishG C 2 Replies Last reply
                                  0
                                  • jdaviescoatesJ jdaviescoates

                                    @girish said in Cloudron Setup on Contabo - VPS L Instances - Ubuntu 22.04 x64:

                                    There is a bug in unbound on Ubuntu 22 that it listens on the control interface (port 8953) by default. I have reported the issue on the unbound mailing list, let's see what they say.

                                    But @cilleyperson didn't seem to have the issue with a vanilla install of Ubuntu 22, only on Contabo's version of it, no?

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #19

                                    @jdaviescoates it's a bit convoluted....

                                    on contabo, ipv6 is disabled in the kernel. This should not be needed but this is the default. Unbound fails to start when control port is enabled on a non ipv6 server.

                                    robiR 1 Reply Last reply
                                    2
                                    • girishG girish

                                      @jdaviescoates it's a bit convoluted....

                                      on contabo, ipv6 is disabled in the kernel. This should not be needed but this is the default. Unbound fails to start when control port is enabled on a non ipv6 server.

                                      robiR Offline
                                      robiR Offline
                                      robi
                                      wrote on last edited by
                                      #20

                                      @girish does their support know about this?

                                      Conscious tech

                                      S 1 Reply Last reply
                                      1
                                      • robiR robi

                                        @girish does their support know about this?

                                        S Offline
                                        S Offline
                                        SirFiChi
                                        wrote on last edited by
                                        #21

                                        Wow. I had cloudron running on Ubuntu 18.04, backuped the server last night and tried four times to install coudron now.
                                        Bad luck. I first tought about doing it in the holidays, but now I stuck with a disabled server.... -.-

                                        Floh Klare
                                        Vorstandsvorsitzender
                                        OpenSource Television e.V.
                                        https://Verein.OS-Television.de

                                        S 1 Reply Last reply
                                        0
                                        • S SirFiChi

                                          Wow. I had cloudron running on Ubuntu 18.04, backuped the server last night and tried four times to install coudron now.
                                          Bad luck. I first tought about doing it in the holidays, but now I stuck with a disabled server.... -.-

                                          S Offline
                                          S Offline
                                          SirFiChi
                                          wrote on last edited by SirFiChi
                                          #22

                                          Buy me a beer!

                                          Installation on Contabo VPS:

                                          1. Fresh installed server with Ubuntu 22.04
                                          2. Enable IPv6 as root
                                          enable_ipv6
                                          
                                          1. Follow the Cloudron installation
                                          wget https://cloudron.io/cloudron-setup
                                          chmod +x ./cloudron-setup
                                          ./cloudron-setup
                                          
                                          1. Reboot the server

                                          Sources:
                                          2. https://contabo.com/blog/de/ipv6-auf-ihrem-server-einrichten/
                                          3. https://www.cloudron.io/get.html

                                          Floh Klare
                                          Vorstandsvorsitzender
                                          OpenSource Television e.V.
                                          https://Verein.OS-Television.de

                                          1 Reply Last reply
                                          5
                                          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