Problems installing Icinga agent on Ubuntu 20.04

Hi.

I am trying to install the Icinga agent on Ubuntu 20.04 (Focal) and have run into an issue.

When running the icinga2 node wizard it crashes when trying to enter the Reconfiguring Icinga stage.
The error code is:
critical/Application: Error: boost::filesystem::copy_file: Permission denied: “/etc/icinga2/features-available/api.conf”, “/etc/icinga2/features-available/api.conf.orig”

I am running the command as root.

When I check /etc/passwd I cant find the Icinga user. Is hasn’t been created during installation.
Have anyone else had this issue or do someone know how I can fix this.

Hi @jens.bavenmark,

as you already know by now, we haven’t released any 20.04 packages yet.
I’m still interested in how you installed those packages. Did you use the snapshot repository?

Greetings
Noah

Hi @nhilverling

Actually it was a colleague of mine that installed it and I was brought in when it didn’t work.

He ran the normal command we have for installing the Icinga repository:

   curl https://packages.icinga.com/icinga.key | apt-key add -
   echo "deb http://packages.icinga.com/ubuntu icinga-$(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/icinga2.list
   echo "deb-src http://packages.icinga.com/ubuntu icinga-$(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/icinga2.list

After that he could install it but with some issues with setup as you know.

After checking the logs from apt I found that the packages probably came from archive.ubuntu.com and not Icingas own repos.