Hello everyone
My YunoHost server
Hardware: Old laptop or computer
YunoHost version: 11.2.5
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
While trying to install Jeedom, the process crashes with the message “PHP Fatal error: Uncaught Error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’ in /var/www/jeedom/core/class/DB.class.php:40”
I can’t paste the whole log because it’s over the 100000 signs limit. Here is the end of the log (please let me know if you nedd more lines…):
2023-10-22 10:24:01,838: INFO - [#############+......] > Installing Jeedom...
2023-10-22 10:24:01,838: DEBUG - + php7.4 /var/www/jeedom/install/install.php mode=force
2023-10-22 10:24:01,861: DEBUG - [START INSTALL]
2023-10-22 10:24:01,877: DEBUG - ****Install jeedom at (2023-10-22 10:24:01)****
2023-10-22 10:24:01,877: DEBUG -
2023-10-22 10:24:01,877: DEBUG - Installation de Jeedom
2023-10-22 10:24:01,877: WARNING - PHP Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /var/www/jeedom/core/class/DB.class.php:40
2023-10-22 10:24:01,877: WARNING - Stack trace:
2023-10-22 10:24:01,878: WARNING - #0 /var/www/jeedom/core/class/DB.class.php(50): DB::initConnection()
2023-10-22 10:24:01,878: WARNING - #1 /var/www/jeedom/core/class/DB.class.php(82): DB::getConnection()
2023-10-22 10:24:01,878: WARNING - #2 /var/www/jeedom/core/class/DB.class.php(626): DB::Prepare()
2023-10-22 10:24:01,878: WARNING - #3 /var/www/jeedom/core/class/DB.class.php(618): DB::compareTable()
2023-10-22 10:24:01,879: WARNING - #4 /var/www/jeedom/core/class/DB.class.php(543): DB::compareDatabase()
2023-10-22 10:24:01,879: WARNING - #5 /var/www/jeedom/install/install.php(48): DB::compareAndFix()
2023-10-22 10:24:01,879: WARNING - #6 {main}
2023-10-22 10:24:01,879: WARNING - thrown in /var/www/jeedom/core/class/DB.class.php on line 40
2023-10-22 10:24:01,880: DEBUG - Installation de la base de données...+ ynh_exit_properly
2023-10-22 10:24:01,880: DEBUG - + local exit_code=255
2023-10-22 10:24:01,880: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2023-10-22 10:24:01,881: DEBUG - + '[' 255 -eq 0 ']'
2023-10-22 10:24:02,382: DEBUG - + ynh_clean_setup
2023-10-22 10:24:02,382: DEBUG - + true
2023-10-22 10:24:03,384: ERROR - Impossible d'installer jeedom : Une erreur est survenue dans le script d'installation de l'application
Thank you for your help.
Best regards