Installation: init script failed
-
Hello!
Cloudron new user here. I'm trying to setup Cloudron on a desktop machine at home. (Fresh Ubuntu installation along with Dual boot with windows). The installation script failed with the errorinit script failed.Didn't find anything obvious that failed in
/var/log/cloudron-setup.log. What should I look for in that file to help debug. -
N nebulon marked this topic as a question on
-
Adding the last few lines...
echo "==> Ensuring python $python_package" ==> Ensuring python python3.10 apt-get install -y --no-install-recommends $python_package # Install python which is required for npm rebuild Reading package lists... Building dependency tree... Reading state information... python3.10 is already the newest version (3.10.12-1~22.04.2). python3.10 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. # do not upgrade grub because it might prompt user and break this script echo "==> Enable memory accounting" ==> Enable memory accounting apt-get -y --no-upgrade --no-install-recommends install grub2-common Reading package lists... Building dependency tree... Reading state information... Skipping grub2-common, it is already installed and upgrade is not set. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. 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 update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.2.0-26-generic Found initrd image: /boot/initrd.img-6.2.0-26-generic Found linux image: /boot/vmlinuz-5.15.0-82-generic Found initrd image: /boot/initrd.img-5.15.0-82-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. done echo "==> Install collectd" ==> Install collectd # without this, libnotify4 will install gnome-shell apt-get install -y libnotify4 libcurl3-gnutls --no-install-recommends Reading package lists... Building dependency tree... Reading state information... libcurl3-gnutls is already the newest version (7.81.0-1ubuntu1.13). libcurl3-gnutls set to manually installed. libnotify4 is already the newest version (0.7.9-3ubuntu5.22.04.1). libnotify4 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. # https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1872281 if [[ "${ubuntu_version}" == "22.04" ]]; then readonly launchpad="https://launchpad.net/ubuntu/+source/collectd/5.12.0-9/+build/23189375/+files" cd /tmp && wget -q "${launchpad}/collectd_5.12.0-9_amd64.deb" "${launchpad}/collectd-utils_5.12.0-9_amd64.deb" "${launchpad}/collectd-core_5.12.0-9_amd64.deb" "${launchpad}/libcollectdclient1_5.12.0-9_amd64.deb" cd /tmp && apt install -y --no-install-recommends ./libcollectdclient1_5.12.0-9_amd64.deb ./collectd-core_5.12.0-9_amd64.deb ./collectd_5.12.0-9_amd64.deb ./collectd-utils_5.12.0-9_amd64.deb && rm -f /tmp/collectd_*.deb echo -e "\nLD_PRELOAD=/usr/lib/python3.10/config-3.10-x86_64-linux-gnu/libpython3.10.so" >> /etc/default/collectd else if ! apt-get install -y --no-install-recommends collectd collectd-utils; then # FQDNLookup is true in default debian config. The box code has a custom collectd.conf that fixes this echo "Failed to install collectd, continuing anyway. Presumably because of http://mailman.verplant.org/pipermail/collectd/2015-March/006491.html" fi if [[ "${ubuntu_version}" == "20.04" ]]; then echo -e "\nLD_PRELOAD=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so" >> /etc/default/collectd fi fi -
Looks like some collectd related failure (if those are the last log lines):
readonly launchpad="https://launchpad.net/ubuntu/+source/collectd/5.12.0-9/+build/23189375/+files" cd /tmp && wget -q "${launchpad}/collectd_5.12.0-9_amd64.deb" "${launchpad}/collectd-utils_5.12.0-9_amd64.deb" "${launchpad}/collectd-core_5.12.0-9_amd64.deb" "${launchpad}/libcollectdclient1_5.12.0-9_amd64.deb" cd /tmp && apt install -y --no-install-recommends ./libcollectdclient1_5.12.0-9_amd64.deb ./collectd-core_5.12.0-9_amd64.deb ./collectd_5.12.0-9_amd64.deb ./collectd-utils_5.12.0-9_amd64.deb && rm -f /tmp/collectd_*.deb echo -e "\nLD_PRELOAD=/usr/lib/python3.10/config-3.10-x86_64-linux-gnu/libpython3.10.so" >> /etc/default/collectdCan you run the above manually line by line and check if it works ?
-
J james has marked this topic as solved on
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