I upgraded check_mk from 1.6.p24 to 2.0.0p6 but get an error

Hello Christan,
I made a backup of asd2 site 1.6 version on RHEL7 and restored it on a RHEL8 server. Then I tried to upgrade asd2 site from 1.6 to 2.0.p6 on the RHEL8 server. Even when I use an empty main.mk I get the same issue.
Kind regards