When I log in to the web interface that is the error message i get and i cannot use the icinga itself. i hope someone can help me fix this.
— new installation —
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘icingawebdb.icinga_dbversion’ doesn’t exist, query was: SELECT icinga_dbversion.version FROM icinga_dbversion
Blind guess, you did not setup two databases (icinga2 and icingaweb2) or mixed them up. Can you share your /etc/icingaweb2/resources.ini (with passwords redacted off course)?
This is what I was expecting, you mixed up the databases. What you need is one database for icinga2 and another one for icingaweb2. You have just one database for both instead.
When you have followed those instructions then you should have both databases. In that case you just need to correct resource.ini directly or via icingweb Configuration/Application/Ressources.