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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Init script failed every Time

Init script failed every Time

Scheduled Pinned Locked Moved Support
installation
11 Posts 3 Posters 3.1k 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.
  • K Kirakodo

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

    ##############################################
             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 7.0.3 ...
    => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
    root@h2939339:~# tail -f /var/log/cloudron-setup.log
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-5.4.0-90-generic
    E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
    update-initramfs: failed for /boot/initrd.img-5.4.0-90-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-90-generic (--configure):
     »installiertes linux-image-5.4.0-90-generic-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück
    Fehler traten auf beim Bearbeiten von:
     linux-image-5.4.0-90-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    I have a VM Server from Strato with the newest ubuntu installed end ever get this problem
    What can I do?

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

    @kirakodo
    Personal opinion incomming: Don't use Strato.

    Did you try a clean up of apt?

    apt-get auto-remove && apt-get clean && apt-get update && apt-get upgrade
    

    Like my work? Consider donating a drink. Cheers!

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kirakodo
      wrote on last edited by
      #3

      I have tried this now but I get the same error

      BrutalBirdieB 1 Reply Last reply
      0
      • K Kirakodo

        I have tried this now but I get the same error

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

        @kirakodo If this is a fresh VM and there is no data to be lost can you try this?

        apt remove initramfs-tools
        
        apt clean
        
        apt install initramfs-tools
        

        Like my work? Consider donating a drink. Cheers!

        K 1 Reply Last reply
        0
        • BrutalBirdieB BrutalBirdie

          @kirakodo If this is a fresh VM and there is no data to be lost can you try this?

          apt remove initramfs-tools
          
          apt clean
          
          apt install initramfs-tools
          
          K Offline
          K Offline
          Kirakodo
          wrote on last edited by
          #5

          @brutalbirdie ok I tried but the cloudron install faild but with a difrent error

          
          ##############################################
                   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 7.0.3 ...
          => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
          root@h2939339:~# tail -f /var/log/cloudron-setup.log
          Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
          Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
          update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
          grub2-common (2.04-1ubuntu26.13) wird eingerichtet ...
          Trigger für systemd (245.4-4ubuntu3.13) werden verarbeitet ...
          Trigger für man-db (2.9.1-1) werden verarbeitet ...
          Trigger für install-info (6.7.0.dfsg.2-5) werden verarbeitet ...
          Trigger für libc-bin (2.31-0ubuntu9.2) werden verarbeitet ...
          sed -e 's/^GRUB_CMDLINE_LINUX="\(.*\)"$/GRUB_CMDLINE_LINUX="\1 cgroup_enable=memory swapaccount=1 panic_on_oops=1 panic=5"/' -i /etc/default/grub
          sed: can't read /etc/default/grub: No such file or directory
          
          
          K 1 Reply Last reply
          0
          • K Kirakodo

            @brutalbirdie ok I tried but the cloudron install faild but with a difrent error

            
            ##############################################
                     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 7.0.3 ...
            => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
            root@h2939339:~# tail -f /var/log/cloudron-setup.log
            Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
            Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/systemd/system/grub-initrd-fallback.service.
            update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
            grub2-common (2.04-1ubuntu26.13) wird eingerichtet ...
            Trigger für systemd (245.4-4ubuntu3.13) werden verarbeitet ...
            Trigger für man-db (2.9.1-1) werden verarbeitet ...
            Trigger für install-info (6.7.0.dfsg.2-5) werden verarbeitet ...
            Trigger für libc-bin (2.31-0ubuntu9.2) werden verarbeitet ...
            sed -e 's/^GRUB_CMDLINE_LINUX="\(.*\)"$/GRUB_CMDLINE_LINUX="\1 cgroup_enable=memory swapaccount=1 panic_on_oops=1 panic=5"/' -i /etc/default/grub
            sed: can't read /etc/default/grub: No such file or directory
            
            
            K Offline
            K Offline
            Kirakodo
            wrote on last edited by
            #6

            @kirakodo and when i now try the setup I get

            Error: Some packages like nginx/docker/nodejs are already installed. Cloudron requires specific versions of these packages and will install them as part of it's installation. Please start with a fresh Ubuntu install and run this script again.
            
            
            BrutalBirdieB 1 Reply Last reply
            0
            • K Kirakodo

              @kirakodo and when i now try the setup I get

              Error: Some packages like nginx/docker/nodejs are already installed. Cloudron requires specific versions of these packages and will install them as part of it's installation. Please start with a fresh Ubuntu install and run this script again.
              
              
              BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by BrutalBirdie
              #7

              @kirakodo
              You should really start with a fresh VM as the message suggests.
              And when you reset the VM the first thing you should do is a apt-get update and apt-get upgrade and a reboot

              Like my work? Consider donating a drink. Cheers!

              K 1 Reply Last reply
              0
              • BrutalBirdieB BrutalBirdie

                @kirakodo
                You should really start with a fresh VM as the message suggests.
                And when you reset the VM the first thing you should do is a apt-get update and apt-get upgrade and a reboot

                K Offline
                K Offline
                Kirakodo
                wrote on last edited by
                #8

                @brutalbirdie ok i did it but i get the same error what i postet at first

                BrutalBirdieB 1 Reply Last reply
                1
                • K Offline
                  K Offline
                  Kirakodo
                  wrote on last edited by
                  #9

                  Finaly I solved the problem
                  What I did after I mage a fresch ubuntu:

                  apt-get auto-remove && apt-get clean && apt-get update && apt-get upgrade
                  apt remove initramfs-tools
                  apt clean
                  apt install initramfs-tools
                  sudo apt-get --reinstall install grub-pc
                  apt clean
                  reboot
                  
                  wget https://cloudron.io/cloudron-setup
                  chmod +x cloudron-setup
                  ./cloudron-setup
                  

                  This works for me

                  robiR 1 Reply Last reply
                  2
                  • K Kirakodo

                    @brutalbirdie ok i did it but i get the same error what i postet at first

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

                    @kirakodo said in Init script failed every Time:

                    ok i did it but i get the same error what i postet at first

                    This indicated the the VM from Strato is bad in the first palce. More so the VM Ubuntu Image.
                    If they even fail to deliver a working Ubuntu from the get go, big red flag!

                    Like I said, personal opinion, don't use Strato!

                    Like my work? Consider donating a drink. Cheers!

                    1 Reply Last reply
                    0
                    • K Kirakodo

                      Finaly I solved the problem
                      What I did after I mage a fresch ubuntu:

                      apt-get auto-remove && apt-get clean && apt-get update && apt-get upgrade
                      apt remove initramfs-tools
                      apt clean
                      apt install initramfs-tools
                      sudo apt-get --reinstall install grub-pc
                      apt clean
                      reboot
                      
                      wget https://cloudron.io/cloudron-setup
                      chmod +x cloudron-setup
                      ./cloudron-setup
                      

                      This works for me

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #11

                      @kirakodo what is the output of this command that tests IO on your system?

                       dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync ; rm /tmp/test1.img
                      
                      

                      Conscious tech

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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