Image docker jeedom/jeedom:4.4-buster - Access denied for user 'jeedom'@'localhost' (using password: YES)

Bonjour la communauté,

J’ai créé un conteneur avec l’image officielle sur docker hub : jeedom/jeedom:4.4-buster
Mais l’installation se passe mal :
On trouve dans le log d’installation et lors d’un acces à jeedom :

Access denied for user 'jeedom'@'localhost' (using password: YES) 

jeedom-ds216
date	stream	content
2024/03/04 18:07:20	stdout	e[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:07:19	stdout	[....] Starting Apache httpd web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.226. Set the 'ServerName' directive globally to suppress this message
2024/03/04 18:07:19	stdout	Start apache2
2024/03/04 18:07:18	stdout	All init complete
2024/03/04 18:07:18	stdout	[....] Starting MariaDB database server: mysqlde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:07:17	stdout	[....] Stopping MariaDB database server: mysqlde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:07:14	stdout	Starting mariadb
2024/03/04 18:07:14	stdout	[....] Starting deferred execution scheduler: atde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:07:14	stdout	[....] Stopping deferred execution scheduler: atde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:07:14	stdout	Start atd
2024/03/04 18:07:14	stdout	e[1;32mStep 11 - Jeedom post-install donee[0;39m
2024/03/04 18:07:14	stdout	[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
2024/03/04 18:07:10	stdout	[Check Version NodeJS actuelle : v18.19.1 : [  OK  ]
2024/03/04 18:07:09	stdout	0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2024/03/04 18:07:09	stdout	git is already the newest version (1:2.20.1-2+deb10u8).
2024/03/04 18:07:09	stdout	lsb-release is already the newest version (10.2019051400).
2024/03/04 18:07:09	stdout	build-essential is already the newest version (12.6).
2024/03/04 18:07:09	stdout	apt-utils is already the newest version (1.8.2.3).
2024/03/04 18:07:08	stdout	Reading state information... 0% Reading state information... 0% Reading state information... Done
2024/03/04 18:07:08	stdout	Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 83% Building dependency tree       
2024/03/04 18:07:08	stdout	Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 69% Reading package lists... 91% Reading package lists... 91% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... Done
2024/03/04 18:07:06	stdout	Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 83% Reading package lists... 91% Reading package lists... 91% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... 98% Reading package lists... Done
2024/03/04 18:07:03	stdout	0% [5 Packages 11.2 kB/587 kB 2%]                                   0% [Working] 0% [5 Packages store 0 B] 0% [5 Packages store 0 B]                           0% [Working] 100% [Working]                Fetched 622 kB in 1s (590 kB/s)
2024/03/04 18:07:03	stdout	                         0% [Working] 0% [Working] 0% [Working]              Get:5 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [587 kB]
2024/03/04 18:07:03	stdout	0% [Waiting for headers]                          Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
2024/03/04 18:07:03	stdout	0% [2 InRelease 0 B/34.8 kB 0%] [Waiting for headers]                                                       0% [Waiting for headers]                          Hit:3 http://deb.debian.org/debian buster-updates InRelease
2024/03/04 18:07:03	stdout	0% [Connected to deb.nodesource.com (104.22.4.26)]                                                    Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
2024/03/04 18:07:03	stdout	0% [Working]              Hit:1 http://deb.debian.org/debian buster InRelease
2024/03/04 18:07:02	stdout	no crontab for root
2024/03/04 18:07:02	stdout	e[1;33mStarting step 11 - Jeedom post-installe[0;39m
2024/03/04 18:07:02	stdout	---------------------------------------------------------------------
2024/03/04 18:07:02	stdout	e[1;33mInstallation type : standarde[0;39m
2024/03/04 18:07:02	stdout	e[1;33mWeb folder : /var/www/htmle[0;39m
2024/03/04 18:07:02	stdout	e[1;33mJeedom version : betae[0;39m
2024/03/04 18:07:02	stdout	e[1;33mWelcome to Jeedom installere[0;39m
2024/03/04 18:07:02	stdout	e[1;31mCannot install Jeedom - Cancellinge[0;39m
2024/03/04 18:07:02	stdout	[END INSTALL ERROR]
2024/03/04 18:07:02	stdout	)
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	            [function] => require_once
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [0] => /var/www/html/core/php/core.inc.php
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [line] => 53
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/install/install.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [12] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [2] => config
2024/03/04 18:07:02	stdout	                    [1] => jeedom.config.php
2024/03/04 18:07:02	stdout	                    [0] => core/config
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [function] => include_file
2024/03/04 18:07:02	stdout	            [line] => 27
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/php/core.inc.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [11] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	            [function] => require_once
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [0] => /var/www/html/core/config/jeedom.config.php
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [line] => 84
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/php/utils.inc.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [10] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [1] => /var/www/html/core/config/jeedom.config.php
2024/03/04 18:07:02	stdout	                    [0] => Chauffage
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [function] => __
2024/03/04 18:07:02	stdout	            [line] => 23
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/config/jeedom.config.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [9] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [2] => 
2024/03/04 18:07:02	stdout	                    [1] => /var/www/html/core/config/jeedom.config.php
2024/03/04 18:07:02	stdout	                    [0] => Chauffage
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => translate
2024/03/04 18:07:02	stdout	            [function] => sentence
2024/03/04 18:07:02	stdout	            [line] => 220
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/translate.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [8] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [2] => 
2024/03/04 18:07:02	stdout	                    [1] => /var/www/html/core/config/jeedom.config.php
2024/03/04 18:07:02	stdout	                    [0] => {{Chauffage}}
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => translate
2024/03/04 18:07:02	stdout	            [function] => exec
2024/03/04 18:07:02	stdout	            [line] => 81
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/translate.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [7] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => translate
2024/03/04 18:07:02	stdout	            [function] => getLanguage
2024/03/04 18:07:02	stdout	            [line] => 102
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/translate.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [6] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [1] => fr_FR
2024/03/04 18:07:02	stdout	                    [0] => language
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => translate
2024/03/04 18:07:02	stdout	            [function] => getConfig
2024/03/04 18:07:02	stdout	            [line] => 207
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/translate.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [5] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                        )
2024/03/04 18:07:02	stdout	                            [0] => language
2024/03/04 18:07:02	stdout	                        (
2024/03/04 18:07:02	stdout	                    [0] => Array
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => config
2024/03/04 18:07:02	stdout	            [function] => byKeys
2024/03/04 18:07:02	stdout	            [line] => 51
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/translate.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [4] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                    [2] => 1
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                        )
2024/03/04 18:07:02	stdout	                            [plugin] => core
2024/03/04 18:07:02	stdout	                        (
2024/03/04 18:07:02	stdout	                    [1] => Array
2024/03/04 18:07:02	stdout	AND plugin=:plugin
2024/03/04 18:07:02	stdout	WHERE `key` IN ('language')
2024/03/04 18:07:02	stdout	FROM config
2024/03/04 18:07:02	stdout	                    [0] => SELECT `key`,`value`
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => DB
2024/03/04 18:07:02	stdout	            [function] => Prepare
2024/03/04 18:07:02	stdout	            [line] => 192
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/config.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [3] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => DB
2024/03/04 18:07:02	stdout	            [function] => getConnection
2024/03/04 18:07:02	stdout	            [line] => 82
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/DB.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [2] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ::
2024/03/04 18:07:02	stdout	            [class] => DB
2024/03/04 18:07:02	stdout	            [function] => initConnection
2024/03/04 18:07:02	stdout	            [line] => 50
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/DB.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [1] => Array
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	        )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                )
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	                        )
2024/03/04 18:07:02	stdout	                            [12] => 1
2024/03/04 18:07:02	stdout	                            [1002] => SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
2024/03/04 18:07:02	stdout	                        (
2024/03/04 18:07:02	stdout	                    [3] => Array
2024/03/04 18:07:02	stdout	                    [2] => 87daef03f1ddcca
2024/03/04 18:07:02	stdout	                    [1] => jeedom
2024/03/04 18:07:02	stdout	                    [0] => mysql:host=localhost;port=3306;dbname=jeedom
2024/03/04 18:07:02	stdout	                (
2024/03/04 18:07:02	stdout	            [args] => Array
2024/03/04 18:07:02	stdout	            [type] => ->
2024/03/04 18:07:02	stdout	            [class] => PDO
2024/03/04 18:07:02	stdout	            [function] => __construct
2024/03/04 18:07:02	stdout	            [line] => 40
2024/03/04 18:07:02	stdout	            [file] => /var/www/html/core/class/DB.class.php
2024/03/04 18:07:02	stdout	        (
2024/03/04 18:07:02	stdout	    [0] => Array
2024/03/04 18:07:02	stdout	(
2024/03/04 18:07:02	stdout	Error during install : SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)Details : Array
2024/03/04 18:07:02	stdout	#9 /var/www/html/core/con in /var/www/html/core/class/DB.class.php on line 40
2024/03/04 18:07:02	stdout	#8 /var/www/html/core/class/translate.class.php(220): translate::sentence('Chauffage', '/var/www/html/c...', false)
2024/03/04 18:07:02	stdout	#7 /var/www/html/core/class/translate.class.php(81): translate::exec('{{Chauffage}}', '/var/www/html/c...', false)
2024/03/04 18:07:02	stdout	#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()
2024/03/04 18:07:02	stdout	#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig('language', 'fr_FR')
2024/03/04 18:07:02	stdout	#4 /var/www/html/core/class/translate.class.php(51): config::byKeys(Array)
2024/03/04 18:07:02	stdout	#3 /var/www/html/core/class/config.class.php(192): DB::Prepare('SELECT `key`,`v...', Array, 1)
2024/03/04 18:07:02	stdout	#2 /var/www/html/core/class/DB.class.php(82): DB::getConnection()
2024/03/04 18:07:02	stdout	#1 /var/www/html/core/class/DB.class.php(50): DB::initConnection()
2024/03/04 18:07:02	stdout	#0 /var/www/html/core/class/DB.class.php(40): PDO->__construct('mysql:host=loca...', 'jeedom', '87daef03f1ddcca', Array)
2024/03/04 18:07:02	stdout	Stack trace:
2024/03/04 18:07:02	stdout	PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES) in /var/www/html/core/class/DB.class.php:40
2024/03/04 18:07:02	stdout	OK
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	Installating database...***ERROR*** SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
2024/03/04 18:07:02	stdout	Installation of Jeedom
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	****Install jeedom at (2024-03-04 18:07:02)****
2024/03/04 18:07:02	stdout	[START INSTALL]
2024/03/04 18:07:02	stdout	End installation of composer
2024/03/04 18:07:02	stdout	
2024/03/04 18:07:02	stdout	e[33;33mUse it: php composer.phare[0m
2024/03/04 18:07:02	stdout	Composer (version 2.7.1) successfully installed to: /var/www/html/composer.phare[0m
2024/03/04 18:07:02	stdout	e[0;32m
2024/03/04 18:07:01	stdout	e[33;33mDownloading...e[0m
2024/03/04 18:07:01	stdout	e[0;32mAll settings correct for using Composere[0m
2024/03/04 18:07:01	stdout	
2024/03/04 18:07:01	stdout	2024-03-04 18:07:01 (6.79 MB/s) - 'composer-setup.php' saved [58444/58444]
2024/03/04 18:07:01	stdout	
2024/03/04 18:07:01	stdout	composer-setup.php    0%[                    ]       0  --.-KB/s                composer-setup.php  100%[===================>]  57.07K  --.-KB/s    in 0.008s  
2024/03/04 18:07:01	stdout	
2024/03/04 18:07:01	stdout	Saving to: 'composer-setup.php'
2024/03/04 18:07:01	stdout	Length: 58444 (57K) [application/octet-stream]
2024/03/04 18:07:01	stdout	HTTP request sent, awaiting response... 200 OK
2024/03/04 18:07:01	stdout	Connecting to getcomposer.org (getcomposer.org)|54.36.53.46|:443... connected.
2024/03/04 18:07:01	stdout	Resolving getcomposer.org (getcomposer.org)... 54.36.53.46, 2001:41d0:302:1100::8:104f
2024/03/04 18:07:01	stdout	--2024-03-04 18:07:01--  https://getcomposer.org/installer
2024/03/04 18:07:01	stdout	Begin installation of composer
2024/03/04 18:07:01	stdout	e[1;33mStarting step 10 - Jeedom installe[0;39m
2024/03/04 18:07:01	stdout	---------------------------------------------------------------------
2024/03/04 18:07:01	stdout	e[1;33mInstallation type : standarde[0;39m
2024/03/04 18:07:01	stdout	e[1;33mWeb folder : /var/www/htmle[0;39m
2024/03/04 18:07:01	stdout	e[1;33mJeedom version : betae[0;39m
2024/03/04 18:07:01	stdout	e[1;33mWelcome to Jeedom installere[0;39m
2024/03/04 18:07:00	stdout	[....] Starting MariaDB database server: mysqlde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:06:59	stdout	[....] Stopping MariaDB database server: mysqlde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	https://mariadb.org/get-involved/
2024/03/04 18:06:59	stdout	Consider joining MariaDB's strong and vibrant community:
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	The latest information about MariaDB is available at http://mariadb.org/.
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	Please report any problems at http://mariadb.org/jira
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	cd '/usr//mysql-test' ; perl mysql-test-run.pl
2024/03/04 18:06:59	stdout	You can test the MariaDB daemon with mysql-test-run.pl
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	cd '/usr/' ; /usr//bin/mysqld_safe --datadir='/var/lib/mysql/'
2024/03/04 18:06:59	stdout	You can start the MariaDB daemon with:
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	See the MariaDB Knowledgebase at http://mariadb.com/kb
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	strongly recommended for production servers.
2024/03/04 18:06:59	stdout	databases and anonymous user created by default.  This is
2024/03/04 18:06:59	stdout	which will also give you the option of removing the test
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	'/usr//bin/mysql_secure_installation'
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	To do so, start the server, then issue the following command:
2024/03/04 18:06:59	stdout	PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	support-files/mysql.server to the right place for your system
2024/03/04 18:06:59	stdout	To start mysqld at boot time you have to copy
2024/03/04 18:06:59	stdout	
2024/03/04 18:06:59	stdout	OK
2024/03/04 18:06:56	stdout	Installing MariaDB/MySQL system tables in '/var/lib/mysql/' ...
2024/03/04 18:06:56	stdout	e[1;32mStep 6 - download Jeedom donee[0;39m
2024/03/04 18:06:48	stdout	
2024/03/04 18:06:48	stdout	2024-03-04 18:06:48 (15.8 MB/s) - '/tmp/jeedom.zip' saved [87479847]
2024/03/04 18:06:48	stdout	
2024/03/04 18:06:48	stdout	/tmp/jeedom.zip         [<=>                 ]       0  --.-KB/s                /tmp/jeedom.zip         [ <=>                ]   1.48M  7.42MB/s                /tmp/jeedom.zip         [  <=>               ]   3.33M  8.33MB/s                /tmp/jeedom.zip         [   <=>              ]   5.09M  8.48MB/s                /tmp/jeedom.zip         [    <=>             ]   6.47M  8.04MB/s                /tmp/jeedom.zip         [     <=>            ]   7.97M  7.93MB/s                /tmp/jeedom.zip         [      <=>           ]  10.59M  8.74MB/s                /tmp/jeedom.zip         [       <=>          ]  11.56M  7.92MB/s                /tmp/jeedom.zip         [        <=>         ]  13.61M  8.20MB/s                /tmp/jeedom.zip         [         <=>        ]  15.15M  8.14MB/s                /tmp/jeedom.zip         [          <=>       ]  16.92M  8.10MB/s                /tmp/jeedom.zip         [           <=>      ]  19.78M  8.64MB/s                /tmp/jeedom.zip         [            <=>     ]  23.00M  9.23MB/s                /tmp/jeedom.zip         [             <=>    ]  27.41M  10.1MB/s                /tmp/jeedom.zip         [              <=>   ]  32.20M  11.1MB/s                /tmp/jeedom.zip         [               <=>  ]  35.34M  11.0MB/s                /tmp/jeedom.zip         [                <=> ]  43.12M  12.6MB/s                /tmp/jeedom.zip         [                 <=>]  43.33M  11.8MB/s                /tmp/jeedom.zip         [                <=> ]  48.48M  12.8MB/s                /tmp/jeedom.zip         [               <=>  ]  53.89M  13.8MB/s                /tmp/jeedom.zip         [              <=>   ]  59.41M  14.7MB/s                /tmp/jeedom.zip         [             <=>    ]  64.17M  15.5MB/s                /tmp/jeedom.zip         [            <=>     ]  69.46M  16.4MB/s                /tmp/jeedom.zip         [           <=>      ]  71.88M  16.3MB/s                /tmp/jeedom.zip         [          <=>       ]  81.24M  18.5MB/s                /tmp/jeedom.zip         [         <=>        ]  83.43M  19.2MB/s    in 5.3s    
2024/03/04 18:06:43	stdout	
2024/03/04 18:06:43	stdout	Saving to: '/tmp/jeedom.zip'
2024/03/04 18:06:43	stdout	Length: unspecified [application/zip]
2024/03/04 18:06:43	stdout	HTTP request sent, awaiting response... 200 OK
2024/03/04 18:06:42	stdout	Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
2024/03/04 18:06:42	stdout	Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
2024/03/04 18:06:42	stdout	--2024-03-04 18:06:42--  https://codeload.github.com/jeedom/core/zip/refs/heads/beta
2024/03/04 18:06:42	stdout	e[1;33mStarting step 6 - download Jeedome[0;39m
2024/03/04 18:06:42	stdout	---------------------------------------------------------------------
2024/03/04 18:06:42	stdout	e[1;33mInstallation type : standarde[0;39m
2024/03/04 18:06:42	stdout	e[1;33mWeb folder : /var/www/htmle[0;39m
2024/03/04 18:06:42	stdout	e[1;33mJeedom version : betae[0;39m
2024/03/04 18:06:42	stdout	e[1;33mWelcome to Jeedom installere[0;39m
2024/03/04 18:06:42	stdout	
2024/03/04 18:06:42	stdout	2024-03-04 18:06:42 (25.2 MB/s) - '/root/install.sh' saved [17293/17293]
2024/03/04 18:06:42	stdout	
2024/03/04 18:06:42	stdout	/root/install.sh      0%[                    ]       0  --.-KB/s                /root/install.sh    100%[===================>]  16.89K  --.-KB/s    in 0.001s  
2024/03/04 18:06:42	stdout	
2024/03/04 18:06:42	stdout	Saving to: '/root/install.sh'
2024/03/04 18:06:42	stdout	Length: 17293 (17K) [text/plain]
2024/03/04 18:06:42	stdout	HTTP request sent, awaiting response... 200 OK
2024/03/04 18:06:42	stdout	Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
2024/03/04 18:06:42	stdout	Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.109.133, ...
2024/03/04 18:06:42	stdout	--2024-03-04 18:06:42--  https://raw.githubusercontent.com/jeedom/core/beta/install/install.sh
2024/03/04 18:06:42	stdout	Start jeedom installation
2024/03/04 18:06:42	stdout	Start init

@pifou : es tu au courant de ce problème ?

Bonjour @pifou

Sais tu si l’image tien compte de la correction MariaDB vs MySQL identifiée à l’époque ?

Bonjour,
Le fichier install.sh contient mariadb donc ta suggestion n’est pas implémentée à ce jour. C’est spécifique à ton image ? Je referais le test chez moi, normalement on a le bon client mariadb dans le container donc pas lié.

Tu installe comment, via docker-compose avec la db externalisée dans un autre container je suppose?

Bonjour

Non la BD n’est pas externalisée puisque l’image est censée l’avoir ou l’installer

Voici mon docker-compose

version: '3.1'

networks:
  default:
    external: true
    name: macvlan-224-231

services:
  jeedom:
    container_name: jeedom
    image: jeedom/jeedom:4.4-buster # image officielle  
    privileged: false
    cap_add:
      - SYS_PTRACE 
      - SYS_ADMIN
      - NET_ADMIN # Pour OpenVPN
    tty: true
    hostname: jeedom
    mac_address: a0:ca:ab:cd:ef:06
    networks:
      default:
        ipv4_address: 192.168.1.226

    tmpfs:
       - /tmp/jeedom # chemin dans le conteneur
       
    healthcheck:
      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:80"]
      interval: 30s
      timeout: 10s
      retries: 5
    
    restart: unless-stopped
      
    volumes:
      - /usr/share/zoneinfo/Europe/Paris:/etc/localtime:ro
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - /volume1/docker/jeedom/html:/var/www/html
      - /volume1/docker/jeedom/db:/var/lib/mysql

#     devices:
#       - "/dev/ttyUSB0:/dev/ttyUSB0"   # MyHome / cp210x
#       - "/dev/ttyUSB1:/dev/ttyUSB1"   # RFLink / ch341-uart
#       - "/dev/ttyACM0:/dev/ttyACM0"   # Zwave / ACM0

    environment:
      PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      PUID: 1026
      PGID: 101

Hello, du nouveau sur le sujet ? J’ai une image docker fonctionnelle en 4.3, et je me demandais si on pouvait relancer un conteneur basé sur le 4.4 avec les mêmes répertoire que ceux montés sur la 4.3 ? A priori je dirai que non, il faut instancier un conteneur vierge 4.4 et restaurer un backup de notre 4.3 dessus, c’est bien ça ?

J’ai le même souci.

Merci

Pour donner le détail, j’ai créé le container de cette facon :

docker run --name Jeedom --runtime runc -v /docker_volumes/jeedom/script:/plugins/script/data:rw -v /docker_volumes/jeedom/html:/var/www/html:rw -v /docker_volumes/jeedom/db:/var/lib/mysql:rw -p 9083:1883/tcp -p 51000:51000/tcp -p 51001:51001/tcp -p 9080:80/tcp --net bridge --restart always -h Jeedom -e ‹ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin › -d -t -i jeedom/jeedom:latest ‹ sh › ‹ /root/init.sh ›

Contrairement à l’image 4.3, j’ai du lancer l’installation à la main :
sudo docker exec -it Jeedom /bin/bash
et ensuite sh /root/install.sh

C’est maintenant ok

Ludo

Bonjour,
Je ne reproduis pas, à noter qu’il y a beaucoup de redondance dans tes options:

  • runtime runc (je ne connaissais même pas ce truc)
  • les ports exposés, à priori le seul utile est le port 80 que tu map sur 9080 sur l’host, mais les autres ports ? Si Jeedom a des démons ça reste à l’intérieur du container, il n’y a pas besoin de l’exposer - mapper - avec l’host…
  • le volume /plugins/script/data n’existe pas, il faudrait remettre la totale /var/www/html/plugins/script/data (pour les data du plugin script) mais comme tu a déjà le volume /var/www/html, toute l’arborescence est déjà dispo.
  • -h Jeedom ne sert à rien non plus (pour définir le hostname de la machine mais c’est le nom du container qui te servira)
  • -e pour la variable d’environnement PATH n’ajoute aucun path supplémentaire il me semble
  • -t -i c’est pour le mode interactif c’est incompatible avec -d (mode détaché justement), pour notre utilisation il faut garder -d
  • sh /root/init.sh c’est la commande par défaut il ne sert à rien de la remettre non plus
  • –net bridge ? je ne sais pas… un alias de --network ?

Bref, au final j’ai réussi à lancer le container avec cette « simple » commande et ça marche quand même!

docker run --name JeedomTest --runtime runc  -p 9080:80/tcp  --net bridge
  --restart always  -h Jeedom
  -e PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 -d -t -i jeedom/jeedom:latest  sh /root/init.sh

Pour avoir les logs du container que j’ai nommé JeedomTest je fais cette commande:

pi@raspberrypi:~ $ docker logs JeedomTest
Start init
Jeedom is already install
Start atd
Stopping deferred execution scheduler: atd.
Starting deferred execution scheduler: atd.
Starting mariadb
mysql: unrecognized service
Stopping MariaDB database server: mariadbd.
Starting MariaDB database server: mariadbd . . . . . . . . . ..
All init complete
Start apache2
Starting Apache httpd web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message

admin / admin sur l’IP:9080 de mon rpi4 et ça marche.
Que donne vos logs du container ?

En vrai, ça n’a aucun intérêt si tu a les reps /var/www/html et celui pour la db partagé sur l’host.
La seule différence entre le container 4.3 et 4.4 c’est la version de Jeedom qu’on a mis dedans. Sauf que, dans le /var/www/html tu va écraser la 4.4 par ta version actuelle 4.3 …

Et même, si tu instancie un nouveau conteneur vierge 4.4, lorsque tu va restaurer ton backup rebelote tu retombe en 4.3 donc… là encore aucun intérêt.

Le seul moyen d’upgrader Jeedom 4.3 => 4.4 c’est via l’upgrade intégré Jeedom.

Par contre, recréer un nouveau conteneur ça prend tout son sens pour upgrader l’OS: 4.3-buster vers 4.3 qui sera donc sur debian bullseye. Ou bien maintenant pour avoir la dernière version 4.4-bookworm (pas encore compatible avec tous les plugins par contre).

Merci pour le retour

J’ai auto généré cette commande depuis mon NAS synology (GitHub - nexdrew/rekcod: docker inspect → docker run 🏃)
Effectivement certaines options ne sont pas nécessaires.
Pour les ports, il s’agit de port utilisés par certains plugins (mqtt, SIA, …)

Je vais tenter de récréer le container et vérifier les logs, mais ca a fonctionné en lancant l’install à la main

Ludo

ok donc si j’ai bien compris je recrée un conteneur avec les mêmes mapping de dossier etc sauf que je pointe sur l’image 4.3 bullseye… et je fais l’upgrade dans jeedom vers la 4.4 (toujours dans le conteneur 4.3). Donc j’aurais un conteneur estampillé 4.3 avec un jeedom 4.4 dedans ; on est en ligne ou j’ai mal compris un truc ? XD

Hello,

Même souci que @Didier3L.
@pifou il n’y aurait pas une erreur dans le init.sh du container : core/install/OS_specific/Docker/init.sh at 26ff36b1d59152b26c86d54a024486dbf0458632 · jeedom/core · GitHub

On créé un password random à la ligne 42 core/install/OS_specific/Docker/init.sh at 26ff36b1d59152b26c86d54a024486dbf0458632 · jeedom/core · GitHub mais on utilise une autre variable d’env qui n’existe pas. Donc on set le mot de passe à vide alors qu’on set le random dans la config Jeedom

1 « J'aime »

Bonjour,
Effectivement c’est pas normal, je viens de pousser la correction en alpha ca sera donc dans la prochaine stable

2 « J'aime »

Pas besoin de recréer un nouveau conteneur du coup, fais la migration dans ton conteneur actuel :wink:

Ou sinon, si vraiment tu veux faire un nouveau conteneur, tant qu’à faire tu peux prendre l’image 4.4 puis tu restaure le backup (donc, pendant une fraction de seconde tu aura un conteneur taggé 4.4 mais avec un jeedom 4.3) et hop migration, et retour en jeedom 4.4

1 « J'aime »

bon je fais l’update sur le conteneur actuel comme tu dis. Le jour où ça apportera un plus et je où je suis sûr qu’il n’y a pas de souci de compatibilité avec le nouvel OS, je passerai sur un conteneur avec bullseye