Broken _api package, no stage directory


I installed icinga2 + icingaweb2 and could monitor some Linux hosts. However, when I tried to either put a comment or schedule a downtime, nothing happens. From icinga log, I found this:
" critical/Downtime: Config package broken: Error: Cannot repair package ‘_api’, please check the troubleshooting docs.

[2020-02-18 03:06:37 +0100] critical/ThreadPool: Exception thrown in event handler:
Error: Could not create downtime.
(0) icinga2: icinga::Downtime::AddDowntime(boost::intrusive_ptricinga::Checkable const&, icinga::String const&, icinga::String const&, double, double, bool, icinga::String const&, double, icinga::String const&, icinga::String const&, icinga::String const&, boost::intrusive_ptricinga::MessageOrigin const&) (+0xb47) [0x9c68d7]
(1) icinga2: icinga::ScheduledDowntime::CreateNextDowntime() (+0x497) [0xa65047]
(2) icinga2: icinga::ScheduledDowntime::TimerProc() (+0x223) [0xa65bd3]
(3) /usr/lib64/icinga2/sbin/icinga2() [0x785a9c]
(4) icinga2: icinga::timer::Call() (+0x28) [0xb6f428]
(5) /usr/lib64/icinga2/sbin/icinga2() [0x90e903]
(6) icinga2: boost::asio::detail::executor_op<boost::asio::detail::work_dispatcher<bool icinga::ThreadPool::Post<std::function<void ()> >(std::function<void ()>, icinga::SchedulerPolicy)::{lambda()#1}>, std::allocator, boost::asio::detail::scheduler_operation>::do_complete(void*, std::allocator*, boost::system::error_code const&, unsigned long) (+0x106) [0xc068f6]
(7) /usr/lib64/icinga2/sbin/icinga2() [0x638011]
(8) /usr/lib64/icinga2/sbin/icinga2() [0x638362]
(9) icinga2: boost_asio_detail_posix_thread_function (+0xf) [0x82e47f]
(10) (+0x7e65) [0x7f1f882d4e65]
(11) clone (+0x6d) [0x7f1f87ffd88d]

I follow the Troubleshooting docs, however I could not find the “active-stage” file, there are only two files: active.conf and include.conf

ll /var/lib/icinga2/api/packages/_api/ -ah

total 8.0K
drwx------. 2 icinga icinga 45 Feb 18 15:51 .
drwx------. 3 icinga icinga 18 Feb 7 15:12 …
-rw-r–r--. 1 icinga icinga 417 Feb 7 15:12 active.conf
-rw-r–r--. 1 icinga icinga 25 Feb 7 15:12 include.conf

May you know what I did miss here?

Thanks in advance!


which versions of Icinga 2 and Icinga Web 2 you are using?

Icinga 2:

Run the following command on the CLI:

icinga2 -V

Icinga Web 2:

Navigate to:

System -> About

Best regards

Hi Michael,

icinga2 -V

icinga2 - The Icinga 2 network monitoring daemon (version: 2.11.2-1)

Icinga web: 2.7.3



I reinstalled icinga2 and it is working now.