This is a little view of my error.log:
[Thu Oct 15 11:27:30.972535 2020] [mpm_prefork:notice] [pid 2233] AH00169: caught SIGTERM, shutting down
ocsinventory-server: Bad setting. `IPDISCOVER_LINK_TAG_NETWORK` is not set. Default: `0`
ocsinventory-server: Bad setting. `IPDISCOVER_LINK_TAG_NETWORK` is not set. Default: `0`
[Thu Oct 15 11:27:55.898281 2020] [mpm_prefork:notice] [pid 1088] AH00163: Apache/2.4.38 (Ubuntu) mod_perl/2.0.10 Perl/v5.28.1 configured -- resuming normal operations
[Thu Oct 15 11:35:37.408996 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: Use of undefined constant SSL_KEY - assumed 'SSL_KEY' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 97
[Thu Oct 15 11:35:37.409041 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: Use of undefined constant SSL_CERT - assumed 'SSL_CERT' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 97
[Thu Oct 15 11:35:37.409064 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: Use of undefined constant CA_CERT - assumed 'CA_CERT' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 97
[Thu Oct 15 11:35:37.409073 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: Use of undefined constant SERVER_PORT - assumed 'SERVER_PORT' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 97
[Thu Oct 15 11:35:37.409083 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: Use of undefined constant SSL_MODE - assumed 'SSL_MODE' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 156
[Thu Oct 15 11:35:37.409091 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 156
[Thu Oct 15 11:35:37.409151 2020] [php7:warn] [pid 1110] [client 10.35.80.64:59485] PHP Warning: mysqli_real_connect() expects parameter 6 to be integer, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 177
[Thu Oct 15 11:35:37.409207 2020] [php7:error] [pid 1110] [client 10.35.80.64:59485] PHP Fatal error: Uncaught Error: Call to a member function select_db() on null in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php:188\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/header.php(97): dbconnect('localhost', '****', '****', 'ocsweb', 'SSL_KEY', 'SSL_CERT', 'CA_CERT', 'SERVER_PORT')\n#1 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')\n#2 {main}\n thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 188
[Thu Oct 15 11:40:15.113796 2020] [php7:warn] [pid 1111] [client 10.35.80.64:59662] PHP Warning: Use of undefined constant SSL_KEY - assumed 'SSL_KEY' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 97
[Thu Oct 15 11:43:29.693746 2020] [php7:notice] [pid 1112] [client 10.35.80.64:59838] phpmyadmin: Failed to load /etc/phpmyadmin/config-db.php Check group www-data has read access and open_basedir restrictions.
It seems that some settings were changed after moving.