Installation failed on fresh Ubuntu 20.04 - Init script failed
-
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: focalProvider: 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 detailsBelow 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)
-
@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.
-
@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.
-
@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. -
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?
-
️ 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.