Init script failed every Time
-
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? -
@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
-
@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.
-
@brutalbirdie ok i did it but i get the same error what i postet at first
-
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
-
@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!