Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0"

Might be php-fpm, run over the install doco for php-fpm and ensure it’s setup correctly with the new version: Installing LibreNMS - LibreNMS Docs

If it’s php-fpm at fault, you might have success with this shortcut too: Upgrading Ubuntu 20 to Ubuntu 22 and PHP 8.1 - #5 by murrant