Bonjour,
J’ai souhaité installer une nouvelle instance de jeedom sur mon synology sous docker (ma prod est sur rapsberry pi).
J’ai suivi le tuto officiel ici : https://doc.jeedom.com/fr_FR/installation/synology
Mon installation plante à l’étape 10, Je vous joins les logs ci-dessous… Merci pour toute l’aide que vous pourrez m’apporter.
Start init
Start jeedom installation
--2024-02-02 21:05:21-- https://raw.githubusercontent.com/jeedom/core/beta/install/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17382 (17K) [text/plain]
Saving to: '/root/install.sh'
0K .......... ...... 100% 10.6M=0.002s
2024-02-02 21:05:21 (10.6 MB/s) - '/root/install.sh' saved [17382/17382]
Welcome to Jeedom installer
Jeedom version : beta
Web folder : /var/www/html
Installation type : standard
---------------------------------------------------------------------
Starting step 6 - download Jeedom
--2024-02-02 21:05:21-- https://codeload.github.com/jeedom/core/zip/refs/heads/beta
Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: '/tmp/jeedom.zip'
0K .......... .......... .......... .......... .......... 945K
50K .......... .......... .......... .......... .......... 1.79M
100K .......... .......... .......... .......... .......... 2.09M
150K .......... .......... .......... .......... .......... 11.9M
[...]
84550K .......... .......... .......... .......... ... 55.9M=5.2s
2024-02-02 21:05:27 (15.9 MB/s) - '/tmp/jeedom.zip' saved [86623781]
Step 6 - download Jeedom done
WARNING: The host 'dom2' could not be looked up with /usr//bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MariaDB version. The MariaDB daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MariaDB privileges !
Installing MariaDB/MySQL system tables in '/var/lib/mysql/' ...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following command:
'/usr//bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb
You can start the MariaDB daemon with:
cd '/usr/' ; /usr//bin/mysqld_safe --datadir='/var/lib/mysql/'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr//mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
Stopping MariaDB database server: mysqld.
Starting MariaDB database server: mysqld.
Welcome to Jeedom installer
Jeedom version : beta
Web folder : /var/www/html
Installation type : standard
---------------------------------------------------------------------
Starting step 10 - Jeedom install
Begin installation of composer
--2024-02-02 21:05:39-- https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 54.36.53.46, 2001:41d0:302:1100::8:104f
Connecting to getcomposer.org (getcomposer.org)|54.36.53.46|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58167 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 88% 2.45M 0s
50K ...... 100% 82.5M=0.02s
2024-02-02 21:05:39 (2.78 MB/s) - 'composer-setup.php' saved [58167/58167]
All settings correct for using Composer
Downloading...
Composer (version 2.6.6) successfully installed to: /var/www/html/composer.phar
Use it: php composer.phar
sudo: unable to resolve host dom2: Name or service not known
sudo: unable to resolve host dom2: Name or service not known
End installation of composer
[START INSTALL]
****Install jeedom at (2024-02-02 22:05:40)****
Installation of Jeedom
Installating database...***ERROR*** SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)
OK
Error during install : SQLSTATE[HY000] [1045] Access denied for user 'jeedom'@'localhost' (using password: YES)Details : Array
(
[0] => Array
(
[file] => /var/www/html/core/class/DB.class.php
[line] => 40
[function] => __construct
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
Stack trace:
#0 /var/www/html/core/class/DB.class.php(40): PDO->__construct('mysql:host=loca...', 'jeedom', 'c3eeb9566996da5', Array)
#1 /var/www/html/core/class/DB.class.php(50): DB::initConnection()
#2 /var/www/html/core/class/DB.class.php(82): DB::getConnection()
#3 /var/www/html/core/class/config.class.php(192): DB::Prepare('SELECT `key`,`v...', Array, 1)
#4 /var/www/html/core/class/translate.class.php(51): config::byKeys(Array)
[class] => PDO
[type] => ->
[args] => Array
(
[0] => mysql:host=localhost;port=3306;dbname=jeedom
[1] => jeedom
[2] => c3eeb9566996da5
[3] => Array
(
[1002] => SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci
[12] => 1
)
)
)
[1] => Array
(
[file] => /var/www/html/core/class/DB.class.php
[line] => 50
[function] => initConnection
[class] => DB
[type] => ::
[args] => Array
(
)
)
[2] => Array
(
[file] => /var/www/html/core/class/DB.class.php
[line] => 82
[function] => getConnection
[class] => DB
[type] => ::
[args] => Array
(
)
)
[3] => Array
(
#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig('language', 'fr_FR')
#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()
#7 /var/www/html/core/class/translate.class.php(81): translate::exec('{{Chauffage}}', '/var/www/html/c...', false)
#8 /var/www/html/core/class/translate.class.php(220): translate::sentence('Chauffage', '/var/www/html/c...', false)
#9 /var/www/html/core/con in /var/www/html/core/class/DB.class.php on line 40
[file] => /var/www/html/core/class/config.class.php
[line] => 192
[function] => Prepare
[class] => DB
[type] => ::
[args] => Array
(
[0] => SELECT `key`,`value`
FROM config
WHERE `key` IN ('language')
AND plugin=:plugin
[1] => Array
(
[plugin] => core
)
[2] => 1
)
)
[4] => Array
(
[file] => /var/www/html/core/class/translate.class.php
[line] => 51
[function] => byKeys
[class] => config
[type] => ::
[args] => Array
(
[0] => Array
(
[0] => language
)
)
)
[5] => Array
(
[file] => /var/www/html/core/class/translate.class.php
[line] => 207
[function] => getConfig
[class] => translate
[type] => ::
[args] => Array
(
[0] => language
[1] => fr_FR
)
)
[6] => Array
(
[file] => /var/www/html/core/class/translate.class.php
[line] => 102
[function] => getLanguage
[class] => translate
[type] => ::
[args] => Array
(
)
)
[7] => Array
(
[file] => /var/www/html/core/class/translate.class.php
[line] => 81
[function] => exec
[class] => translate
[type] => ::
[args] => Array
(
[0] => {{Chauffage}}
[1] => /var/www/html/core/config/jeedom.config.php
[2] =>
)
)
[8] => Array
(
[file] => /var/www/html/core/class/translate.class.php
[line] => 220
[function] => sentence
[class] => translate
[type] => ::
[args] => Array
(
[0] => Chauffage
[1] => /var/www/html/core/config/jeedom.config.php
[2] =>
)
)
[9] => Array
(
[file] => /var/www/html/core/config/jeedom.config.php
[line] => 23
[function] => __
[args] => Array
(
[0] => Chauffage
[1] => /var/www/html/core/config/jeedom.config.php
)
)
[10] => Array
(
[file] => /var/www/html/core/php/utils.inc.php
[line] => 84
[args] => Array
(
[0] => /var/www/html/core/config/jeedom.config.php
)
[function] => require_once
)
[11] => Array
(
[file] => /var/www/html/core/php/core.inc.php
[line] => 27
[function] => include_file
[args] => Array
(
[0] => core/config
[1] => jeedom.config.php
[2] => config
)
)
[12] => Array
(
[file] => /var/www/html/install/install.php
[line] => 53
[args] => Array
(
[0] => /var/www/html/core/php/core.inc.php
)
[function] => require_once
)
)
[END INSTALL ERROR]
Cannot install Jeedom - Cancelling
Welcome to Jeedom installer
Jeedom version : beta
Web folder : /var/www/html
Installation type : standard
---------------------------------------------------------------------
Starting step 11 - Jeedom post-install
no crontab for root
sudo: unable to resolve host dom2: Name or service not known
sudo: unable to resolve host dom2: Name or service not known
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Get:5 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [7051 B]
Get:6 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [584 kB]
Fetched 638 kB in 1s (464 kB/s)
Reading package lists...
sudo: unable to resolve host dom2: Name or service not known
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (1.8.2.3).
build-essential is already the newest version (12.6).
lsb-release is already the newest version (10.2019051400).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
[Check Version NodeJS actuelle : v18.19.0 : [ OK ]
sudo: unable to resolve host dom2: Name or service not known
sudo: unable to resolve host dom2: Name or service not known
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [ OK ]
Step 11 - Jeedom post-install done
d
Stopping deferred execution scheduler: atd.
Starting deferred execution scheduler: atd.
Starting mariadb
Stopping MariaDB database server: mysqld.
Starting MariaDB database server: mysqld.
All init complete
Start apache2
AH00557: apache2: apr_sockaddr_info_get() failed for dom2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Starting Apache httpd web server: apache2Action 'start' failed.
The Apache error log may have more information.
.