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
A

aksanoble

@aksanoble
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Installation: init script failed
    A aksanoble

    Wondering if this is related to grub?

    Support installation

  • Installation: init script failed
    A aksanoble

    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
    
    
    Support installation

  • Installation: init script failed
    A aksanoble

    My intent was to setup a server at home and keep it always on. Ubuntu 22.04. I have the log file handy with me and can share.

    Support installation

  • Installation: init script failed
    A aksanoble

    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 error init 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.

    Support installation
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search