After upgrade from paid repo dashlets are not working

We were still on the old repo and running 2.12.1-1.el8 and recently purchased a subscription for the paid repo for RHEL based instances.
After upgrading to icingaweb2 2.12.1-1 we lost all dashlets on the main dashoard. If we follow thinks the pages are showing correctly.

  • 2.12.1-1.el8 icingaweb2-2.9.5-1.el8.icinga.noarch
  • icinga/icinga-php-library 0.7.0
  • icinga/icinga-php-library 0.7.0
  • setup 2.9.5
  • doc 2.9.5
  • grafana 2.0.0b
  • monitoring 2.9.5
  • Firefox 131.0.3
  • Icinga2 r2.14.2-1
  • PHP 8.0.30
  • Rocky Linux release 8.10

Thanks for looking in to this

We found the problem. We were missing the document root in this nginx stanza.

   location ~ ^/icingaweb2(.+)? {
     root      /usr/share/icingaweb2/public;
     index     index.php;
     try_files $1 $uri $uri/ /icingaweb2/index.php$is_args$args;
   }

However why it did work with the previous version? Dunno.