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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Cloudron install fails (...Init script failed. See /var/log/cloudron-setup.log for details)

Scheduled Pinned Locked Moved Solved Support
9 Posts 7 Posters 736 Views
    • 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 Offline
    L Offline
    logmilo
    wrote on last edited by
    #1

    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 :)))

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to logmilo on last edited by
    #2

    @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.

    scookeS 1 Reply Last reply
    1
  • scookeS Offline
    scookeS Offline
    scooke
    replied to nebulon on last edited by
    #3

    @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

    girishG 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #4

    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 sky tech

    1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to scooke on last edited by
    #5

    @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.

    humptydumptyH 1 Reply Last reply
    0
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    replied to girish on last edited by
    #6

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

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

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

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to humptydumpty on last edited by
    #8

    @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
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #9

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

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.