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. Installation failed on fresh Ubuntu 20.04 - Init script failed

Installation failed on fresh Ubuntu 20.04 - Init script failed

Scheduled Pinned Locked Moved Solved Support
ubuntuinit scriptinstallation
9 Posts 3 Posters 1.8k 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.
    • holloschH Offline
      holloschH Offline
      hollosch
      wrote on last edited by
      #1

      Hi!
      I'm trying to install cloudron on fresh install of Ubuntu 20.04.3 LTS
      Can you help me?

      Following configuration:

      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 20.04.3 LTS
      Release: 20.04
      Codename: focal

      Provider: strato.de

      => Updating apt and installing script dependencies
      => Checking version
      => Downloading version 6.3.6 ...
      => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details

      Below parts of the /var/log/cloudron-setup.log:

      Running cloudron-setup with args : --
      OK:1 http://ftp.stratoserver.net/pub/linux/ubuntu focal InRelease
      OK:2 http://ftp.stratoserver.net/pub/linux/ubuntu focal-updates InRelease
      OK:3 http://ftp.stratoserver.net/pub/linux/ubuntu focal-security InRelease
      Paketlisten werden gelesen...
      Paketlisten werden gelesen...
      Abhängigkeitsbaum wird aufgebaut....
      ...
      
      
      
      Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
      
      Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
      Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
      Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
      Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
      libunbound8:amd64 (1.9.4-2ubuntu1.2) wird eingerichtet ...
      mysql-server-core-8.0 (8.0.26-0ubuntu0.20.04.2) wird eingerichtet ...
      cpp-9 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
      libc6-dev:amd64 (2.31-0ubuntu9.2) wird eingerichtet ...
      unbound-anchor (1.9.4-2ubuntu1.2) wird eingerichtet ...
      mysql-server-8.0 (8.0.26-0ubuntu0.20.04.2) wird eingerichtet ...
      update-alternatives: /etc/mysql/mysql.cnf wird verwendet, um /etc/mysql/my.cnf (my.cnf) im automatischen Modus bereitzustellen
      Renaming removed key_buffer and myisam-recover options (if present)
      mysqld will log errors to /var/log/mysql/error.log
      mysqld is running as pid 5180
      Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.
      unbound (1.9.4-2ubuntu1.2) wird eingerichtet ...
      Created symlink /etc/systemd/system/multi-user.target.wants/unbound.service → /lib/systemd/system/unbound.service.
      Created symlink /etc/systemd/system/unbound.service.wants/unbound-resolvconf.service → /lib/systemd/system/unbound-resolvconf.service.
      linux-headers-generic (5.4.0.81.85) wird eingerichtet ...
      libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
      cpp (4:9.3.0-1ubuntu2) wird eingerichtet ...
      gcc-9 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
      libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
      linux-generic (5.4.0.81.85) wird eingerichtet ...
      gcc (4:9.3.0-1ubuntu2) wird eingerichtet ...
      g++-9 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
      g++ (4:9.3.0-1ubuntu2) wird eingerichtet ...
      update-alternatives: /usr/bin/g++ wird verwendet, um /usr/bin/c++ (c++) im automatischen Modus bereitzustellen
      build-essential (12.8ubuntu1.1) wird eingerichtet ...
      Trigger für systemd (245.4-4ubuntu3.11) werden verarbeitet ...
      Trigger für man-db (2.9.1-1) werden verarbeitet ...
      Trigger für libc-bin (2.31-0ubuntu9.2) werden verarbeitet ...
      Trigger für initramfs-tools (0.136ubuntu6.6) werden verarbeitet ...
      Trigger für resolvconf (1.82) werden verarbeitet ...
      Trigger für linux-image-5.4.0-81-generic (5.4.0-81.91) werden verarbeitet ...
      /etc/kernel/postinst.d/initramfs-tools:
      update-initramfs: Generating /boot/initrd.img-5.4.0-81-generic
      E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
      update-initramfs: failed for /boot/initrd.img-5.4.0-81-generic with 1.
      run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
      dpkg: Fehler beim Bearbeiten des Paketes linux-image-5.4.0-81-generic (--configure):
       »installiertes linux-image-5.4.0-81-generic-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
      Fehler traten auf beim Bearbeiten von:
       linux-image-5.4.0-81-generic
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      
      nebulonN 1 Reply Last reply
      0
      • holloschH hollosch

        Hi!
        I'm trying to install cloudron on fresh install of Ubuntu 20.04.3 LTS
        Can you help me?

        Following configuration:

        No LSB modules are available.
        Distributor ID: Ubuntu
        Description: Ubuntu 20.04.3 LTS
        Release: 20.04
        Codename: focal

        Provider: strato.de

        => Updating apt and installing script dependencies
        => Checking version
        => Downloading version 6.3.6 ...
        => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details

        Below parts of the /var/log/cloudron-setup.log:

        Running cloudron-setup with args : --
        OK:1 http://ftp.stratoserver.net/pub/linux/ubuntu focal InRelease
        OK:2 http://ftp.stratoserver.net/pub/linux/ubuntu focal-updates InRelease
        OK:3 http://ftp.stratoserver.net/pub/linux/ubuntu focal-security InRelease
        Paketlisten werden gelesen...
        Paketlisten werden gelesen...
        Abhängigkeitsbaum wird aufgebaut....
        ...
        
        
        
        Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version
        
        Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
        Created symlink /etc/systemd/system/multi-user.target.wants/unattended-upgrades.service → /lib/systemd/system/unattended-upgrades.service.
        Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
        Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
        libunbound8:amd64 (1.9.4-2ubuntu1.2) wird eingerichtet ...
        mysql-server-core-8.0 (8.0.26-0ubuntu0.20.04.2) wird eingerichtet ...
        cpp-9 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
        libc6-dev:amd64 (2.31-0ubuntu9.2) wird eingerichtet ...
        unbound-anchor (1.9.4-2ubuntu1.2) wird eingerichtet ...
        mysql-server-8.0 (8.0.26-0ubuntu0.20.04.2) wird eingerichtet ...
        update-alternatives: /etc/mysql/mysql.cnf wird verwendet, um /etc/mysql/my.cnf (my.cnf) im automatischen Modus bereitzustellen
        Renaming removed key_buffer and myisam-recover options (if present)
        mysqld will log errors to /var/log/mysql/error.log
        mysqld is running as pid 5180
        Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.
        unbound (1.9.4-2ubuntu1.2) wird eingerichtet ...
        Created symlink /etc/systemd/system/multi-user.target.wants/unbound.service → /lib/systemd/system/unbound.service.
        Created symlink /etc/systemd/system/unbound.service.wants/unbound-resolvconf.service → /lib/systemd/system/unbound-resolvconf.service.
        linux-headers-generic (5.4.0.81.85) wird eingerichtet ...
        libgcc-9-dev:amd64 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
        cpp (4:9.3.0-1ubuntu2) wird eingerichtet ...
        gcc-9 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
        libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
        linux-generic (5.4.0.81.85) wird eingerichtet ...
        gcc (4:9.3.0-1ubuntu2) wird eingerichtet ...
        g++-9 (9.3.0-17ubuntu1~20.04) wird eingerichtet ...
        g++ (4:9.3.0-1ubuntu2) wird eingerichtet ...
        update-alternatives: /usr/bin/g++ wird verwendet, um /usr/bin/c++ (c++) im automatischen Modus bereitzustellen
        build-essential (12.8ubuntu1.1) wird eingerichtet ...
        Trigger für systemd (245.4-4ubuntu3.11) werden verarbeitet ...
        Trigger für man-db (2.9.1-1) werden verarbeitet ...
        Trigger für libc-bin (2.31-0ubuntu9.2) werden verarbeitet ...
        Trigger für initramfs-tools (0.136ubuntu6.6) werden verarbeitet ...
        Trigger für resolvconf (1.82) werden verarbeitet ...
        Trigger für linux-image-5.4.0-81-generic (5.4.0-81.91) werden verarbeitet ...
        /etc/kernel/postinst.d/initramfs-tools:
        update-initramfs: Generating /boot/initrd.img-5.4.0-81-generic
        E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
        update-initramfs: failed for /boot/initrd.img-5.4.0-81-generic with 1.
        run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
        dpkg: Fehler beim Bearbeiten des Paketes linux-image-5.4.0-81-generic (--configure):
         »installiertes linux-image-5.4.0-81-generic-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
        Fehler traten auf beim Bearbeiten von:
         linux-image-5.4.0-81-generic
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        
        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @hollosch can you send us a mail to support@cloudron.io with the server IP and put our support SSH key into your server? The public key is at https://docs.cloudron.io/support/#ssh-keys then we can check what exactly needs to be fixed in the installer.

        holloschH 1 Reply Last reply
        0
        • nebulonN nebulon

          @hollosch can you send us a mail to support@cloudron.io with the server IP and put our support SSH key into your server? The public key is at https://docs.cloudron.io/support/#ssh-keys then we can check what exactly needs to be fixed in the installer.

          holloschH Offline
          holloschH Offline
          hollosch
          wrote on last edited by
          #3

          @nebulon said in Installation failed on fresh Ubuntu 20.04 - Init script failed:

          @hollosch can you send us a mail to support@cloudron.io with the server IP and put our support SSH key into your server? The public key is at https://docs.cloudron.io/support/#ssh-keys then we can check what exactly needs to be fixed in the installer.

          Mail sent.

          nebulonN 1 Reply Last reply
          0
          • holloschH hollosch

            @nebulon said in Installation failed on fresh Ubuntu 20.04 - Init script failed:

            @hollosch can you send us a mail to support@cloudron.io with the server IP and put our support SSH key into your server? The public key is at https://docs.cloudron.io/support/#ssh-keys then we can check what exactly needs to be fixed in the installer.

            Mail sent.

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            @hollosch thanks. I am answering here to keep others informed.

            This seems to be a bug in the image flavor you are using. The issue is briefly outlined in https://askubuntu.com/questions/302951/update-initramfs-usr-share-initramfs-tools-hooks-fixrtc-failed-with-return-1 and the fix is to run

            chmod -x /usr/share/initramfs-tools/hooks/fixrtc
            

            first. I have no clue yet why this is needed or in fact what this fixrtc tool is supposed to do.

            Note that this is not overly related to Cloudron as any kind of package installation via apt failed with that reason, so maybe worth reporting upstream with your VPS provider.

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              Ok that was a bit too early, there is at least one other issue. Looks like grub is not used/configured correctly out of the box either...checking how to work around that correctly.

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                Ah ok so that was already hit some time back at https://forum.cloudron.io/topic/5243/cloudron-setup-script-fails-to-install-on-dedipath-com-vps-ubuntu-20-04/6

                Can you let us know which kind of virtualization your instance is based on? Also maybe for further reference, if you like to share this, the product at strato you have selected?

                holloschH 2 Replies Last reply
                0
                • nebulonN nebulon

                  Ah ok so that was already hit some time back at https://forum.cloudron.io/topic/5243/cloudron-setup-script-fails-to-install-on-dedipath-com-vps-ubuntu-20-04/6

                  Can you let us know which kind of virtualization your instance is based on? Also maybe for further reference, if you like to share this, the product at strato you have selected?

                  holloschH Offline
                  holloschH Offline
                  hollosch
                  wrote on last edited by
                  #7

                  @nebulon https://www.strato.de/server/linux-vserver/
                  It's the Linux v80 server.

                  1 Reply Last reply
                  0
                  • nebulonN nebulon

                    Ah ok so that was already hit some time back at https://forum.cloudron.io/topic/5243/cloudron-setup-script-fails-to-install-on-dedipath-com-vps-ubuntu-20-04/6

                    Can you let us know which kind of virtualization your instance is based on? Also maybe for further reference, if you like to share this, the product at strato you have selected?

                    holloschH Offline
                    holloschH Offline
                    hollosch
                    wrote on last edited by
                    #8

                    @nebulon THANKS for FIXING !!!

                    BrutalBirdieB 1 Reply Last reply
                    0
                    • holloschH hollosch

                      @nebulon THANKS for FIXING !!!

                      BrutalBirdieB Offline
                      BrutalBirdieB Offline
                      BrutalBirdie
                      Partner
                      wrote on last edited by
                      #9

                      ⚠️ PERSONAL OPINION ⚠️

                      Don't use Strato.
                      At first glance they seem like a good hoster, but they are not. Even if their pricing model seems competitive.
                      For basic stuff like a single Wordpress or something it might be fine, but I would not entrust them my systems.

                      I had so many customers throwing Strato out of the window in a fit of rage.

                      Just my personal opinion based on what I have witnessed.

                      Like my work? Consider donating a drink. Cheers!

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