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 Cloudron install fails (...Init script failed. See /var/log/cloudron-setup.log for details)

    Support
    7
    9
    614
    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.
    • L
      logmilo last edited by

      Hi,
      I'm running into script failed error while installing Cloudron:

      logmilo@logmilo-virtual-machine:~$ sudo ./cloudron-setup
      
      ##############################################
               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
      => Downloading version 6.3.5 ...
      => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
      

      Log:

      logmilo@logmilo-virtual-machine:~$ tail -f /var/log/cloudron-setup.log
      Reading state information...
      The following package was automatically installed and is no longer required:
        docker-scan-plugin
      Use 'sudo apt autoremove' to remove it.
      Suggested packages:
        aufs-tools cgroupfs-mount | cgroup-lite
      The following packages will be DOWNGRADED:
        containerd.io docker-ce docker-ce-cli
      0 upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not upgraded.
      E: Packages were downgraded and -y was used without --allow-downgrades.
      

      So it seems like i am running into some script problem. I tried to download the suggested packages but nothing work.
      Did i do anything wrong? Please let me know.
      Thanh you :)))

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

        @logmilo welcome here! It seems your base system already had a docker version installed newer than what Cloudron provides. Which Ubuntu version is this and on which VPS provider?

        Maybe you can initialize the instance with pristine Ubuntu 20.04 and do not upgrade the system prior to running the cloudron-setup script. Cloudron will update relevant packages on its own as well as doing security updates to the system automatically.

        scooke 1 Reply Last reply Reply Quote 1
        • scooke
          scooke @nebulon last edited by

          @nebulon This is the second similar support post I've seen recently. Maybe there's been more. The text on https://www.cloudron.io/get.html seems clear to me, Create a fresh Ubuntu Focal 20.04 x64 server and run these commands, but maybe the word "fresh" is not being understood. Maybe people are thinking they shouldn't have any functioning webapps running, not realizing that the underlying software (Apache, nginx, docker) is also included.

          In your answer here you use "pristine" instead of "fresh". Maybe those Install directions (also on https://docs.cloudron.io/installation/) need to be a little more verbose about what "fresh" and "pristine" means?

          Or, make the error message clearer, along the lines of:

          This script has detected that nginx/apache/docker/etc., are already installed on this server. Cloudron will install all that is needed and does not need to upgrade nor downgrade any existing software. Please réinitialise the server, start fresh, and run this script again.

          A life lived in fear is a life half-lived

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

            Perhaps something like this is clearer.

            "Cloudron is designed to be installed on a brand new install of Ubuntu Linux, without any additional modifications or upgrades.

            Installing on instances other than that may cause installations to fail and further hidden issues down the road."

            Life of Advanced Technology

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

              @scooke right.. we have used 'vanilla' as well in the past and many people were not familiar with that term. So, we changed it 'new' I think for a short period before going with 'fresh'.

              But generally nobody reads those things đŸ˜› So, I am going to implement your next suggestion which is to abort and give a proper error message if nginx/apache/docker are already installed.

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

                @girish WTH am I the only one who reads them? I was browsing through the docs last night just for "fun".. no joke.

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

                  OK, added a check. https://git.cloudron.io/cloudron/box/-/commit/ef56bf988812a476d9e1edfb35db9143464dc24f

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

                    @humptydumpty ha ha, didn't mean to overly generalize. I think some people live by copy/paste and don't completely follow instructions, especially those who are just testing things out and want to get to it quickly.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User last edited by

                      How about "virgin" --- or is that stretching a point? đŸ¤¡

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