Solved Installation not working on clean ubuntu focal server
-
hello we are trying to install Cloudron on a clean ubuntu focal server but it ends up with a error:
==> Cloudron Start
media500:
==> Configuring docker
Failed to enable unit: Unit file apparmor.service does not exist.followed this instructions:
wget https://cloudron.io/cloudron-setup
chmod +x ./cloudron-setup
./cloudron-setup -
Hi and welcome here!
On which VPS provider is this?
-
@nebulon Glad to be here, this is on Hetzner, a dedicated machine type EX62
Leter i tried on a 18.04 ubuntu that worked Flawless, but i loved to get it going on a 20.04 machine.
-
Did you use a Hetzner image of 20.04 or an official ISO from Ubuntu to install?
-
@subven I used the Hetzner image .
-
@kyzoe-be appears that on this specific image
apparmor
is not installed by default apparently. Can you try runningapt install apparmor
prior to attempting installing Cloudron? If this works, we have to add this as an explicit dependency in the installer. -
@nebulon said in Installation not working on clean ubuntu focal server:
apt install apparmor
going to spin up a new instance directly, heppy to test it
-
@nebulon said in Installation not working on clean ubuntu focal server:
apt install apparmor
So i installed a brand new ubuntu 20.04 Focal from the Hetzner robot. We are talking Dedicated servers here, a EX62 one.
// Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-47-generic x86_64)
did before anything a apt install apparmor throwing this at me...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apparmor is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package 'apparmor' has no installation candidate
tried to run the install sequence, like it is on cloudron.io
##############################################
Cloudron Setup (latest)
##############################################Follow setup logs in a second terminal with:
$ tail -f /var/log/cloudron-setup.logJoin us at https://forum.cloudron.io for any questions.
=> Installing software-properties-common
Could not install software-properties-common (for add-apt-repository below). See /var/log/cloudron-setup.logfrom cloudron-setup.log
Running cloudron-setup with args : --
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package software-properties-commonSo i don't get it anymore, yesterday it did a lot more. Today the image seems again to be changed....
-
I can give you access if you like?
-
Hetzners standard images seem to use the minimal image --> https://docs.hetzner.com/de/robot/dedicated-server/operating-systems/standard-images
How about downloading and using the official server installer ISO from Ubuntu --> https://ubuntu.com/download/server (Option 3)?
-
@kyzoe-be ah ok, sorry I didn't check upfront what the package or metapackage name on focal is. If you want that we debug this directly on your machine as you indicated, please add our support key from https://docs.cloudron.io/support/#ssh-keys and send a mail with ip/port to support@cloudron.io
-
@nebulon email sent
-
For some reason installing apparmor on that server worked fine. We have put it as an explicit dependency now https://git.cloudron.io/cloudron/box/-/commit/6ff2c5f7577f88862fed8c47626ea999170597d4
-
@nebulon i just read the mail. Was i too fast after the clean install. i don't understand it at all. Glad it was solved.
-
@kyzoe-be ah that could actually be a good point about the timing, some VPS images will run a apt-get upgrade after booting, which may cause some inconsistency when this happens early on in the background
-
Anyway i am happy to upgrade tomorrow to a paid package, this is truly great support!
Thanks!