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 Install Failed

    Support
    installation
    3
    7
    501
    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.
    • W
      woke last edited by girish

      I have a VPS with my hosting provider and just installed a fresh Ubuntu 18.04LTS OS, updated everything, and then followed the instructions to install Cloudron. For some reason, I keep getting an error during the same part of the install.

      This is what the error says:
      => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details"

      Inside the log, at the bottom, I see this failure:
      "# debconf-set-selection of unattended-upgrades/enable_auto_updates + dpkg-reconfigure does not work
      cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/20auto-upgrades

      echo "==> Installing node.js"
      ==> Installing node.js
      mkdir -p /usr/local/node-10.18.1
      curl -sL https://nodejs.org/dist/v10.18.1/node-v10.18.1-linux-x64.tar.gz | tar zxvf - --strip-components=1 -C /us$

      gzip: stdin: unexpected end of file
      tar: Child returned status 1
      tar: Error is not recoverable: exiting now"

      Any idea what the cause is?

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        Hm this looks like a temporary issue with the nodejs.org server. Can you try again by simply rerunning the cloudron-setup script again with the same arguments?

        Maybe retry a bit later if it still fails.

        1 Reply Last reply Reply Quote 0
        • W
          woke last edited by

          So I just waited about 10 hours and then completely reinstalled Ubuntu 18.04LTS, went through the install setup again, and got stuck at the exact same spot.

          "=> Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details"

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

            @woke Can you try the following on the server:

            cd tmp
            
            curl -sL https://nodejs.org/dist/v10.18.1/node-v10.18.1-linux-x64.tar.gz | tar zvxf -
            
            1 Reply Last reply Reply Quote 0
            • W
              woke last edited by

              Here is what I received:
              ":~# curl -sL https://nodejs.org/dist/v10.18.1/node-v10.18.1-linux-x64.tar.gz | tar zvxf -

              gzip: stdin: unexpected end of file
              tar: Child returned status 1
              tar: Error is not recoverable: exiting now"

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

                @woke Thanks, you are supposed to see something like this:

                root@localhost:/tmp# curl -sL https://nodejs.org/dist/v10.18.1/node-v10.18.1-linux-x64.tar.gz | tar zvxf -
                node-v10.18.1-linux-x64/
                node-v10.18.1-linux-x64/CHANGELOG.md
                node-v10.18.1-linux-x64/share/
                node-v10.18.1-linux-x64/share/man/
                node-v10.18.1-linux-x64/share/man/man1/
                ...
                

                Looks like some networking issue. Can you try first, if you can just download it?

                wget https://nodejs.org/dist/v10.18.1/node-v10.18.1-linux-x64.tar.gz
                

                If that doesn't work, then

                host nodejs.org
                ping nodejs.org
                

                I get:

                root@localhost:/tmp# ping nodejs.org
                PING nodejs.org(2606:4700:10::6814:172e (2606:4700:10::6814:172e)) 56 data bytes
                64 bytes from 2606:4700:10::6814:172e (2606:4700:10::6814:172e): icmp_seq=1 ttl=61 time=1.34 ms
                64 bytes from 2606:4700:10::6814:172e (2606:4700:10::6814:172e): icmp_seq=2 ttl=61 time=1.45 ms
                64 bytes from 2606:4700:10::6814:172e (2606:4700:10::6814:172e): icmp_seq=3 ttl=61 time=1.38 ms
                
                1 Reply Last reply Reply Quote 0
                • W
                  woke last edited by

                  @girish Thanks for the assistance.

                  Apparently this was caused by a misconfigured IPv6 / Ubuntu installation script which my host helped me diagnose and correct. Thank you for your help, I'm glad I stumbled upon Cloudron.

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