Hello.
Does OCS Server latest version 2.9.2 run Under Ubuntu 22.04 LTS with PHP 8.1?
I setup all but I got this error went I access the GUI and setup the DB the first time.
[Mon May 30 22:03:10.137091 2022] [php:error] [pid 1158] [client 192.168.9.102:2161] PHP Fatal error: Uncaught TypeError: mysqli_fetch_object(): Argument #1 ($result) must be of type mysqli_result, bool given in /usr/share/ocsinventory-reports/ocsreports/install.php:138\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/install.php(138): mysqli_fetch_object()\n#1 /usr/share/ocsinventory-reports/ocsreports/require/header.php(91): require('...')\n#2 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('...')\n#3 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/install.php on line 138, referer: http://192.168.9.123/ocsreports/
Regards!!!