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 will not install ubuntu 22.04 or 20.04

cloudron will not install ubuntu 22.04 or 20.04

Scheduled Pinned Locked Moved Unsolved Support
installation
23 Posts 2 Posters 2.9k 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    @linuxpowerhouse This seems like a DNS issue. Can you please try host us.archive.ubuntu.com on the server ? Does it return any results? If it doesn't, can you check the status of unbound - systemctl status unbound. You can also try systemctl restart unbound and try the host command again?

    1 Reply Last reply
    0
    • nebulonN nebulon marked this topic as a question on
    • L Offline
      L Offline
      linuxpowerhouse
      wrote on last edited by
      #3

      ohhh, i think you are right. ill do it asap.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        linuxpowerhouse
        wrote on last edited by
        #4

        it dose give me the "it seems like there is packages already installed issue, but i looked deeper into my proxmox dns and it looked like it changed.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          linuxpowerhouse
          wrote on last edited by linuxpowerhouse
          #5

          same issue this is the write out of unbound
          Screenshot_5.png

          it seems like when i install it on my server something breaks, the dns and the ability to finish the install. i never had this problem before or when i set up cloudron before. because now unbound is running , but it still can't upgrade or update packages.

          i get the "Some packages like nginx/docker/nodejs are already installed. Cloudron requires specific versions of these packages and will install them as part of it's installation. Please start with a fresh Ubuntu install and run this script again"

          i did a ./cloudron-setup --redo and got this

          Screenshot_6.png

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            @linuxpowerhouse What do you get when you run host us.archive.ubuntu.com ? Is that command failing and if so what is the error message?

            L 2 Replies Last reply
            0
            • girishG girish

              @linuxpowerhouse What do you get when you run host us.archive.ubuntu.com ? Is that command failing and if so what is the error message?

              L Offline
              L Offline
              linuxpowerhouse
              wrote on last edited by
              #7

              @girish Host us.archive.ubuntu.com not found: 2(SERVFAIL)

              but when i stop unbound i can get it working

              girishG 1 Reply Last reply
              0
              • girishG girish

                @linuxpowerhouse What do you get when you run host us.archive.ubuntu.com ? Is that command failing and if so what is the error message?

                L Offline
                L Offline
                linuxpowerhouse
                wrote on last edited by
                #8

                @girish Host us.archive.ubuntu.com not found: 2(SERVFAIL) fails, update fails and install fails

                1 Reply Last reply
                0
                • L linuxpowerhouse

                  @girish Host us.archive.ubuntu.com not found: 2(SERVFAIL)

                  but when i stop unbound i can get it working

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

                  @linuxpowerhouse that is strange, how does it start working with just stopping unbound ? How does your /etc/resolve.conf look like ? It has only 127.0.0.1 right (which is where unbound is listening) ?

                  As an additional thing to double check: Can you add do-ip6: false in the unbound config? For this edit /etc/unbound/unbound.conf.d/cloudron-network.conf and add the line in the server section.

                  server:
                          port: 53
                          interface: 127.0.0.1
                          interface: 172.18.0.1
                          ip-freebind: yes
                          do-ip6: yes
                          access-control: 127.0.0.1 allow
                          access-control: 172.18.0.1/16 allow
                          cache-max-negative-ttl: 30
                          cache-max-ttl: 300
                  

                  Then, systemctl restart unbound and then again host us.archive.ubuntu.com.

                  L 1 Reply Last reply
                  0
                  • girishG girish

                    @linuxpowerhouse that is strange, how does it start working with just stopping unbound ? How does your /etc/resolve.conf look like ? It has only 127.0.0.1 right (which is where unbound is listening) ?

                    As an additional thing to double check: Can you add do-ip6: false in the unbound config? For this edit /etc/unbound/unbound.conf.d/cloudron-network.conf and add the line in the server section.

                    server:
                            port: 53
                            interface: 127.0.0.1
                            interface: 172.18.0.1
                            ip-freebind: yes
                            do-ip6: yes
                            access-control: 127.0.0.1 allow
                            access-control: 172.18.0.1/16 allow
                            cache-max-negative-ttl: 30
                            cache-max-ttl: 300
                    

                    Then, systemctl restart unbound and then again host us.archive.ubuntu.com.

                    L Offline
                    L Offline
                    linuxpowerhouse
                    wrote on last edited by
                    #10

                    @girish this is my /etc/resolv.conf file

                    Screenshot_7.png

                    im still getting the same issue. when its running i get the host server error

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      linuxpowerhouse
                      wrote on last edited by
                      #11

                      Screenshot_8.png

                      i get this when i also tried to update,
                      and to maybe add a bit more when i went into the /etc/unbound/unbound.conf.d/cloudron-network.conf it was just 127.0.0.1 under the server section.

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        linuxpowerhouse
                        wrote on last edited by
                        #12

                        could it be a ubuntu version issue, or somthing that i am missing?

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #13

                          @linuxpowerhouse I would start over to understand where the issue lies.

                          • Start with fresh ubuntu 22.04
                          • Does apt update work now?
                          • Next, apt install unbound
                          • Does apt update still work after this?
                          L 1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #14

                            If we can get (SSH) access to the server, then maybe we can help you debug this as well. If this is the case, then you can write to support@cloudron.io.

                            1 Reply Last reply
                            0
                            • girishG girish

                              @linuxpowerhouse I would start over to understand where the issue lies.

                              • Start with fresh ubuntu 22.04
                              • Does apt update work now?
                              • Next, apt install unbound
                              • Does apt update still work after this?
                              L Offline
                              L Offline
                              linuxpowerhouse
                              wrote on last edited by
                              #15

                              @girish very weird, i did a fresh install, update works, and then install unbound (its running), and update still is working and the host comand

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

                                @linuxpowerhouse ah, awesome. So, it must be some Cloudron issue then. What happens if you install Cloudron at this point ?

                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  linuxpowerhouse
                                  wrote on last edited by
                                  #17

                                  ill do it and get back to you.

                                  1 Reply Last reply
                                  0
                                  • L Offline
                                    L Offline
                                    linuxpowerhouse
                                    wrote on last edited by
                                    #18

                                    okay, same issue. i get a failed install script. is there s a place i cant send the full log and maybe help you guys with the issue going on

                                    1 Reply Last reply
                                    0
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #19

                                      @linuxpowerhouse yes, you can put it in https://paste.cloudron.io . If it's private, please just send that link to support@cloudron.io .

                                      L 1 Reply Last reply
                                      0
                                      • L Offline
                                        L Offline
                                        linuxpowerhouse
                                        wrote on last edited by
                                        #20

                                        okay, ill send them an email. even looking through the logs its hard to tell where the issue is coming from. i looked through other issues and thought it was a ubuntu version issue but ive updated and not updated so many times that its very weird to me that it stops right near the end. thank you for your help.

                                        1 Reply Last reply
                                        0
                                        • girishG girish

                                          @linuxpowerhouse yes, you can put it in https://paste.cloudron.io . If it's private, please just send that link to support@cloudron.io .

                                          L Offline
                                          L Offline
                                          linuxpowerhouse
                                          wrote on last edited by
                                          #21

                                          @girish also this might be weird, but when echo nameserver 8.8.8.8 | sudo tee /etc/resolv.conf it fixes the download issue, i don't know if it correlates

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