I'm trying to install cloudron on fresh install of Ubuntu 20.04.2.0 LTS (Focal Fossa)
##############################################
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 6.3.6 ...
=> Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
Below is the /var/log/cloudron-setup.log
Running cloudron-setup with args : --
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,163 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [251 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [847 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [178 kB]
Fetched 2,768 kB in 2s (1,636 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.8.2-0ubuntu2).
curl is already the newest version (7.68.0-1ubuntu2.6).
software-properties-common is already the newest version (0.98.9.5).
ubuntu-standard is already the newest version (1.450.2).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
readonly SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
readonly arg_infraversionpath="${SOURCE_DIR}/../src"
function die {
echo $1
exit 1
}
export DEBIAN_FRONTEND=noninteractive
readonly ubuntu_codename=$(lsb_release -cs)
readonly ubuntu_version=$(lsb_release -rs)
# hold grub since updating it breaks on some VPS providers. also, dist-upgrade will trigger it
apt-mark hold grub* >/dev/null
apt-get -o Dpkg::Options::="--force-confdef" update -y
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists...
apt-get -o Dpkg::Options::="--force-confdef" upgrade -y
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
fwupd fwupd-signed libfwupd2 libfwupdplugin1 ubuntu-advantage-tools
The following packages will be upgraded:
base-files motd-news-config update-notifier-common
3 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 198 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 motd-news-config all 11ubuntu5.4 [4,544 B]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 base-files amd64 11ubuntu5.4 [60.6 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 update-notifier-common all 3.192.30.9 [133 kB]
Fetched 198 kB in 0s (473 kB/s)
(Reading database ... 73387 files and directories currently installed.)
Preparing to unpack .../motd-news-config_11ubuntu5.4_all.deb ...
Unpacking motd-news-config (11ubuntu5.4) over (11ubuntu5.3) ...
Preparing to unpack .../base-files_11ubuntu5.4_amd64.deb ...
Warning: Stopping motd-news.service, but it can still be activated by:
motd-news.timer
Unpacking base-files (11ubuntu5.4) over (11ubuntu5.3) ...
Setting up base-files (11ubuntu5.4) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
motd-news.service is a disabled or a static unit, not starting it.
(Reading database ... 73387 files and directories currently installed.)
Preparing to unpack .../update-notifier-common_3.192.30.9_all.deb ...
Unpacking update-notifier-common (3.192.30.9) over (3.192.30.8) ...
Setting up motd-news-config (11ubuntu5.4) ...
Setting up update-notifier-common (3.192.30.9) ...
Installing new version of config file /etc/cron.weekly/update-notifier-common ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.4git20200323-0ubuntu6.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-81-generic
apt-mark unhold grub* >/dev/null
echo "==> Installing required packages"
==> Installing required packages
debconf-set-selections <<< 'mysql-server mysql-server/root_password password password'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password password'
# this enables automatic security upgrades (https://help.ubuntu.com/community/AutomaticSecurityUpdates)
# resolvconf is needed for unbound to work property after disabling systemd-resolved in 18.04
gpg_package=$([[ "${ubuntu_version}" == "16.04" ]] && echo "gnupg" || echo "gpg")
mysql_package=$([[ "${ubuntu_version}" == "20.04" ]] && echo "mysql-server-8.0" || echo "mysql-server-5.7")
apt-get -y install --no-install-recommends \
acl \
apparmor \
build-essential \
cifs-utils \
cron \
curl \
debconf-utils \
dmsetup \
$gpg_package \
ipset \
iptables \
libpython2.7 \
linux-generic \
logrotate \
$mysql_package \
nfs-common \
openssh-server \
pwgen \
resolvconf \
sshfs \
swaks \
tzdata \
unattended-upgrades \
unbound \
unzip \
xfsprogs
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version (2.2.53-6).
cron is already the newest version (3.0pl1-136ubuntu1).
dmsetup is already the newest version (2:1.02.167-1ubuntu1).
ipset is already the newest version (7.5-1~exp1).
iptables is already the newest version (1.8.4-3ubuntu2).
logrotate is already the newest version (3.14.0-4ubuntu3).
unzip is already the newest version (6.0-25ubuntu1).
xfsprogs is already the newest version (5.3.0-1ubuntu2).
debconf-utils is already the newest version (1.5.73).
pwgen is already the newest version (2.08-2).
resolvconf is already the newest version (1.82).
sshfs is already the newest version (3.6.0+repack+really2.10-0ubuntu1).
swaks is already the newest version (20190914.0-1).
apparmor is already the newest version (2.13.3-7ubuntu5.1).
build-essential is already the newest version (12.8ubuntu1.1).
cifs-utils is already the newest version (2:6.9-1ubuntu0.1).
curl is already the newest version (7.68.0-1ubuntu2.6).
gpg is already the newest version (2.2.19-3ubuntu2.1).
linux-generic is already the newest version (5.4.0.81.85).
mysql-server-8.0 is already the newest version (8.0.26-0ubuntu0.20.04.2).
nfs-common is already the newest version (1:1.3.4-2.5ubuntu3.4).
openssh-server is already the newest version (1:8.2p1-4ubuntu0.3).
tzdata is already the newest version (2021a-0ubuntu0.20.04).
unattended-upgrades is already the newest version (2.3ubuntu0.1).
libpython2.7 is already the newest version (2.7.18-1~20.04.1).
unbound is already the newest version (1.9.4-2ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
echo "==> installing nginx for xenial for TLSv3 support"
==> installing nginx for xenial for TLSv3 support
curl -sL http://nginx.org/packages/ubuntu/pool/nginx/n/nginx/nginx_1.18.0-2~${ubuntu_codename}_amd64.deb -o /tmp/nginx.deb