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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Installation runs into "Failed to get release information" (fresh Hetzner Ubuntu 22.04 Server)

    Support
    hetzner installation
    3
    10
    344
    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.
    • K
      kk_cloudron last edited by

      Hi everyone,

      I started a fresh Ubuntu 22.04 VPS at Hetzner Cloud:

      Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-41-generic x86_64)
      
       * Documentation:  https://help.ubuntu.com
       * Management:     https://landscape.canonical.com
       * Support:        https://ubuntu.com/advantage
      
        System information as of Fri Jul 15 03:59:53 PM UTC 2022
      
        System load:  0.0               Processes:             146
        Usage of /:   5.6% of 37.23GB   Users logged in:       0
        Memory usage: 9%               
        Swap usage:   0%               
      
      
      0 updates can be applied immediately.
      

      but when I try to install Cloudron the setup runs into an error while checking for release informations:

      ##############################################
               Cloudron Setup (latest)
      ##############################################
      
       Follow setup logs in a second terminal with:
       $ tail -f /var/log/cloudron-setup.log
      
       Join us at https://forum.cloudron.io for any questions.
      
      => Updating apt and installing script dependencies
      => Checking version
      Failed to get release information
      

      I have already checked various hints from other posts, but none led to the solution. Do you maybe have any ideas?

      I hope anyone can help.

      Kai

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @kk_cloudron last edited by

        @kk_cloudron Can you please try this on the server?

        curl "https://api.cloudron.io/api/v1/releases?boxVersion="
        
        K 1 Reply Last reply Reply Quote 0
        • K
          kk_cloudron @girish last edited by

          @girish This runs into

          # curl "https://api.cloudron.io/api/v1/releases?boxVersion="
          curl: (7) Couldn't connect to server
          

          There is no error output with other targets.

          subven 1 Reply Last reply Reply Quote 0
          • subven
            subven @kk_cloudron last edited by

            @kk_cloudron take a look if the Firewall at Hetzner Robot is turned on. If so, turn it off ^^

            K 1 Reply Last reply Reply Quote 0
            • K
              kk_cloudron @subven last edited by

              @subven Hehe, nice try 😉

              My steps after reading your post:

              • Firewall was opened at 80 and 443. - not working
              • Disabled Hetzner firewall - still not working
              • Checking iptables:
              # iptables -L
              Chain INPUT (policy ACCEPT)
              target     prot opt source               destination
              
              Chain FORWARD (policy ACCEPT)
              target     prot opt source               destination
              
              Chain OUTPUT (policy ACCEPT)
              target     prot opt source               destination
              
              • Checking ufw:
              # ufw status
              Status: inactive
              
              • Checking other curl targets:
              # curl "google.de"
              <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
              <TITLE>301 Moved</TITLE></HEAD><BODY>
              <H1>301 Moved</H1>
              The document has moved
              <A HREF="http://www.google.de/">here</A>.
              </BODY></HTML>
              
              • Ping api.cloudron.io:
              # ping -v api.cloudron.io
              ping: connect: Network is unreachable
              
              • Ping just cloudron.io:
              # ping -v cloudron.io
              PING cloudron.io(2600:1f18:80f:e00:fa5d:db49:3bf:3f22 (2600:1f18:80f:e00:fa5d:db49:3bf:3f22)) 56 data bytes
              64 bytes from 2600:1f18:80f:e00:fa5d:db49:3bf:3f22 (2600:1f18:80f:e00:fa5d:db49:3bf:3f22): icmp_seq=1 ttl=43 time=89.6 ms
              
              • Open api.cloudron.io in browser:
              Cannot GET /
              

              Do you get a positive result when ping or curl api.cloudron.io?

              girish 1 Reply Last reply Reply Quote 0
              • subven
                subven last edited by

                Do u use IPv6? If so can you try to disable the IPv6 interface and just use IPv4? Hetzner has IPv6 only plans for their Cloud VPS but it should not fail due to ipv6. Since you have Firewall, Network or DNS issues there is no harm in trying.

                Your output for ping -v api.cloudron.io is odd...you should at least be able to resolve to 3.209.21.239.

                @kk_cloudron

                Do you get a positive result when ping or curl api.cloudron.io?

                root@my:~# ping -v api.cloudron.io
                PING api.cloudron.io (3.209.21.239) 56(84) bytes of data.
                
                K 1 Reply Last reply Reply Quote 1
                • girish
                  girish Staff @kk_cloudron last edited by

                  @kk_cloudron said in Installation runs into "Failed to get release information" (fresh Hetzner Ubuntu 22.04 Server):

                  Do you get a positive result when ping or curl api.cloudron.io?

                  The ping is not supposed to work. The curl should just return a 404 since there is nothing at the root path.

                  $ curl https://api.cloudron.io
                  <!DOCTYPE html>
                  <html lang="en">
                  <head>
                  <meta charset="utf-8">
                  <title>Error</title>
                  </head>
                  <body>
                  <pre>Cannot GET /</pre>
                  </body>
                  </html>
                  
                  1 Reply Last reply Reply Quote 0
                  • K
                    kk_cloudron @subven last edited by kk_cloudron

                    @subven I only use IPv6. So turning it off will be difficult

                    @girish All right. Thank you for the info. is there another way to pinpoint the cause of the problem?

                    I read somewhere that there may be problems with the images offered by Hetzner. Is it still relevant? Should I try installing a different image or is there a list of the required packages so I can compare?

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kk_cloudron @kk_cloudron last edited by

                      "solved" - but I don't know for sure the exact reason that caused this. I set up a new server with both: IPv4 and IPv6.
                      So best explanation/guess: the installation only works if there is also an IPv4

                      girish 1 Reply Last reply Reply Quote 2
                      • Topic has been marked as solved  K kk_cloudron 
                      • girish
                        girish Staff @kk_cloudron last edited by

                        @kk_cloudron that is correct, Cloudron requires IPv4 and does not work on IPv6 only servers (yet).

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB