Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@debian:/var/lib/lxc# lxc-stop -n stretch-nextdom-apt-installed && rm -rf stretch-nextdom-apt-installed && tar xfzp stretch-nextdom-apt-installed-2019-03-24.tgz && lxc-start -n stretch-nextdom-apt-installed && lxc-attach -n stretch-nextdom-apt-installed
- root@stretch-nextdom-apt-installed:/#
- root@stretch-nextdom-apt-installed:/#
- root@stretch-nextdom-apt-installed:/#
- root@stretch-nextdom-apt-installed:/#
- root@stretch-nextdom-apt-installed:/# apt update && apt -y upgrade
- Réception de:1 http://debian-dsddsds.nextdom.org/debian nextdom InRelease [6 557 B]
- Réception de:2 http://security.debian.org stretch/updates InRelease [94,3 kB]
- Réception de:4 http://debian-dsddsds.nextdom.org/debian nextdom/main amd64 Packages [1 345 B]
- Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
- Atteint:5 http://cdn-fastly.deb.debian.org/debian stretch Release
- Réception de:6 http://security.debian.org stretch/updates/main amd64 Packages [481 kB]
- 583 ko réceptionnés en 0s (844 ko/s)
- Lecture des listes de paquets... Fait
- Construction de l'arbre des dépendances
- Lecture des informations d'état... Fait
- 63 packages can be upgraded. Run 'apt list --upgradable' to see them.
- Lecture des listes de paquets... Fait
- Construction de l'arbre des dépendances
- Lecture des informations d'état... Fait
- Calcul de la mise à jour... Fait
- Les paquets suivants seront mis à jour :
- base-files dirmngr gnupg gnupg-agent gnupg-l10n gpgv libapache2-mod-php7.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libc6-i386 libcups2 libldb1 libopenjp2-7 libsmbclient libsox-fmt-alsa libsox-fmt-base
- libsox-fmt-mp3 libsox2 libssh-gcrypt-4 libssl1.0.2 libwayland-client0 libwayland-cursor0 libwayland-server0 libwbclient0 linux-libc-dev locales multiarch-support nextdom nextdom-common nextdom-mysql openssh-client
- openssh-server openssh-sftp-server php7.0 php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-gd php7.0-imap php7.0-json php7.0-ldap php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline
- php7.0-snmp php7.0-soap php7.0-xml php7.0-xmlrpc php7.0-zip python-ldb python-samba samba-common samba-common-bin samba-libs smbclient sox tzdata
- 63 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
- Il est nécessaire de prendre 95,0 Mo dans les archives.
- Après cette opération, 122 ko d'espace disque supplémentaires seront utilisés.
- Réception de:1 http://debian-dsddsds.nextdom.org/debian nextdom/main amd64 nextdom-mysql all 1.0.0 [3 246 B]
- Réception de:2 http://debian-dsddsds.nextdom.org/debian nextdom/main amd64 nextdom-common all 1.0.0 [3 396 B]
- Réception de:3 http://security.debian.org stretch/updates/main amd64 python-ldb amd64 2:1.1.27-1+deb9u1 [34,8 kB]
- Réception de:4 http://debian-dsddsds.nextdom.org/debian nextdom/main amd64 nextdom all 0.1.4 [59,7 MB]
- Réception de:5 http://security.debian.org stretch/updates/main amd64 libldb1 amd64 2:1.1.27-1+deb9u1 [113 kB]
- Réception de:6 http://security.debian.org stretch/updates/main amd64 libssl1.0.2 amd64 1.0.2r-1~deb9u1 [1 302 kB]
- Réception de:17 http://security.debian.org stretch/updates/main amd64 openssh-sftp-server amd64 1:7.4p1-10+deb9u6 [39,7 kB]
- Réception de:18 http://security.debian.org stretch/updates/main amd64 openssh-server amd64 1:7.4p1-10+deb9u6 [332 kB]
- Réception de:7 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 base-files amd64 9.9+deb9u8 [67,4 kB]
- Réception de:20 http://security.debian.org stretch/updates/main amd64 openssh-client amd64 1:7.4p1-10+deb9u6 [781 kB]
- Réception de:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc6-i386 amd64 2.24-11+deb9u4 [2 597 kB]
- Réception de:43 http://security.debian.org stretch/updates/main amd64 php7.0-zip amd64 7.0.33-0+deb9u3 [19,9 kB]
- Réception de:44 http://security.debian.org stretch/updates/main amd64 php7.0-xmlrpc amd64 7.0.33-0+deb9u3 [12,6 kB]
- Réception de:45 http://security.debian.org stretch/updates/main amd64 php7.0-xml amd64 7.0.33-0+deb9u3 [112 kB]
- Réception de:46 http://security.debian.org stretch/updates/main amd64 php7.0-soap amd64 7.0.33-0+deb9u3 [113 kB]
- Réception de:47 http://security.debian.org stretch/updates/main amd64 php7.0-snmp amd64 7.0.33-0+deb9u3 [18,7 kB]
- Réception de:48 http://security.debian.org stretch/updates/main amd64 php7.0-readline amd64 7.0.33-0+deb9u3 [12,2 kB]
- Réception de:49 http://security.debian.org stretch/updates/main amd64 php7.0-opcache amd64 7.0.33-0+deb9u3 [77,5 kB]
- Réception de:50 http://security.debian.org stretch/updates/main amd64 php7.0-mysql amd64 7.0.33-0+deb9u3 [124 kB]
- Réception de:51 http://security.debian.org stretch/updates/main amd64 php7.0-mcrypt amd64 7.0.33-0+deb9u3 [14,3 kB]
- Réception de:52 http://security.debian.org stretch/updates/main amd64 php7.0-mbstring amd64 7.0.33-0+deb9u3 [466 kB]
- Réception de:53 http://security.debian.org stretch/updates/main amd64 php7.0-ldap amd64 7.0.33-0+deb9u3 [21,0 kB]
- Réception de:54 http://security.debian.org stretch/updates/main amd64 php7.0-json amd64 7.0.33-0+deb9u3 [17,0 kB]
- Réception de:55 http://security.debian.org stretch/updates/main amd64 php7.0-imap amd64 7.0.33-0+deb9u3 [29,5 kB]
- Réception de:56 http://security.debian.org stretch/updates/main amd64 php7.0-gd amd64 7.0.33-0+deb9u3 [27,2 kB]
- Réception de:57 http://security.debian.org stretch/updates/main amd64 php7.0-dev amd64 7.0.33-0+deb9u3 [517 kB]
- Réception de:58 http://security.debian.org stretch/updates/main amd64 php7.0-curl amd64 7.0.33-0+deb9u3 [27,4 kB]
- Réception de:59 http://security.debian.org stretch/updates/main amd64 libapache2-mod-php7.0 amd64 7.0.33-0+deb9u3 [1 224 kB]
- Réception de:60 http://security.debian.org stretch/updates/main amd64 php7.0-cli amd64 7.0.33-0+deb9u3 [1 284 kB]
- Réception de:61 http://security.debian.org stretch/updates/main amd64 php7.0-common amd64 7.0.33-0+deb9u3 [882 kB]
- Réception de:62 http://security.debian.org stretch/updates/main amd64 php7.0 all 7.0.33-0+deb9u3 [54,7 kB]
- Réception de:63 http://security.debian.org stretch/updates/main amd64 libopenjp2-7 amd64 2.1.2-1.1+deb9u3 [122 kB]
- Réception de:9 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u4 [2 364 kB]
- Réception de:10 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u4 [259 kB]
- Réception de:11 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 linux-libc-dev amd64 4.9.144-3 [1 394 kB]
- Réception de:12 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc6 amd64 2.24-11+deb9u4 [2 694 kB]
- Réception de:13 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc-bin amd64 2.24-11+deb9u4 [782 kB]
- Réception de:14 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libcups2 amd64 2.2.1-8+deb9u3 [306 kB]
- Réception de:15 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 python-samba amd64 2:4.5.16+dfsg-1 [1 362 kB]
- Réception de:16 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libwbclient0 amd64 2:4.5.16+dfsg-1 [124 kB]
- Réception de:19 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 smbclient amd64 2:4.5.16+dfsg-1 [410 kB]
- Réception de:21 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 samba-common-bin amd64 2:4.5.16+dfsg-1 [603 kB]
- Réception de:22 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsmbclient amd64 2:4.5.16+dfsg-1 [151 kB]
- Réception de:23 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 samba-libs amd64 2:4.5.16+dfsg-1 [5 233 kB]
- Réception de:24 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 samba-common all 2:4.5.16+dfsg-1 [174 kB]
- Réception de:25 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 multiarch-support amd64 2.24-11+deb9u4 [201 kB]
- Réception de:26 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 gpgv amd64 2.1.18-8~deb9u4 [481 kB]
- Réception de:27 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 tzdata all 2018i-0+deb9u1 [273 kB]
- Réception de:28 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 gnupg-l10n all 2.1.18-8~deb9u4 [893 kB]
- Réception de:29 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 dirmngr amd64 2.1.18-8~deb9u4 [597 kB]
- Réception de:30 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 gnupg amd64 2.1.18-8~deb9u4 [1 128 kB]
- Réception de:31 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 gnupg-agent amd64 2.1.18-8~deb9u4 [554 kB]
- Réception de:32 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libc-l10n all 2.24-11+deb9u4 [820 kB]
- Réception de:33 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 locales all 2.24-11+deb9u4 [3 289 kB]
- Réception de:34 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 sox amd64 14.4.1-5+deb9u1 [138 kB]
- Réception de:35 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox2 amd64 14.4.1-5+deb9u1 [261 kB]
- Réception de:36 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox-fmt-base amd64 14.4.1-5+deb9u1 [68,6 kB]
- Réception de:37 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox-fmt-alsa amd64 14.4.1-5+deb9u1 [46,9 kB]
- Réception de:38 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libsox-fmt-mp3 amd64 14.4.1-5+deb9u1 [52,0 kB]
- Réception de:39 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libssh-gcrypt-4 amd64 0.7.3-2+deb9u2 [170 kB]
- Réception de:40 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libwayland-client0 amd64 1.12.0-1+deb9u1 [25,1 kB]
- Réception de:41 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libwayland-cursor0 amd64 1.12.0-1+deb9u1 [13,5 kB]
- Réception de:42 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libwayland-server0 amd64 1.12.0-1+deb9u1 [30,6 kB]
- 95,0 Mo réceptionnés en 8s (11,3 Mo/s)
- Extracting templates from packages: 100%
- Preconfiguring packages ...
- (Lecture de la base de données... 84955 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../base-files_9.9+deb9u8_amd64.deb ...
- Dépaquetage de base-files (9.9+deb9u8) sur (9.9+deb9u7) ...
- Paramétrage de base-files (9.9+deb9u8) ...
- Installation de la nouvelle version du fichier de configuration /etc/debian_version ...
- (Lecture de la base de données... 84955 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../libc6-i386_2.24-11+deb9u4_amd64.deb ...
- Dépaquetage de libc6-i386 (2.24-11+deb9u4) sur (2.24-11+deb9u3) ...
- Préparation du dépaquetage de .../libc6-dev_2.24-11+deb9u4_amd64.deb ...
- Dépaquetage de libc6-dev:amd64 (2.24-11+deb9u4) sur (2.24-11+deb9u3) ...
- Préparation du dépaquetage de .../libc-dev-bin_2.24-11+deb9u4_amd64.deb ...
- Dépaquetage de libc-dev-bin (2.24-11+deb9u4) sur (2.24-11+deb9u3) ...
- Préparation du dépaquetage de .../linux-libc-dev_4.9.144-3_amd64.deb ...
- Dépaquetage de linux-libc-dev:amd64 (4.9.144-3) sur (4.9.130-2) ...
- Préparation du dépaquetage de .../libc6_2.24-11+deb9u4_amd64.deb ...
- Dépaquetage de libc6:amd64 (2.24-11+deb9u4) sur (2.24-11+deb9u3) ...
- Paramétrage de libc6:amd64 (2.24-11+deb9u4) ...
- (Lecture de la base de données... 84955 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../libc-bin_2.24-11+deb9u4_amd64.deb ...
- Dépaquetage de libc-bin (2.24-11+deb9u4) sur (2.24-11+deb9u3) ...
- Paramétrage de libc-bin (2.24-11+deb9u4) ...
- (Lecture de la base de données... 84955 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../00-python-ldb_2%3a1.1.27-1+deb9u1_amd64.deb ...
- Dépaquetage de python-ldb (2:1.1.27-1+deb9u1) sur (2:1.1.27-1+b1) ...
- Préparation du dépaquetage de .../01-libldb1_2%3a1.1.27-1+deb9u1_amd64.deb ...
- Dépaquetage de libldb1:amd64 (2:1.1.27-1+deb9u1) sur (2:1.1.27-1+b1) ...
- Préparation du dépaquetage de .../02-libcups2_2.2.1-8+deb9u3_amd64.deb ...
- Dépaquetage de libcups2:amd64 (2.2.1-8+deb9u3) sur (2.2.1-8+deb9u2) ...
- Préparation du dépaquetage de .../03-python-samba_2%3a4.5.16+dfsg-1_amd64.deb ...
- Dépaquetage de python-samba (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../04-libwbclient0_2%3a4.5.16+dfsg-1_amd64.deb ...
- Dépaquetage de libwbclient0:amd64 (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../05-smbclient_2%3a4.5.16+dfsg-1_amd64.deb ...
- Dépaquetage de smbclient (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../06-samba-common-bin_2%3a4.5.16+dfsg-1_amd64.deb ...
- Dépaquetage de samba-common-bin (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../07-libsmbclient_2%3a4.5.16+dfsg-1_amd64.deb ...
- Dépaquetage de libsmbclient:amd64 (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../08-samba-libs_2%3a4.5.16+dfsg-1_amd64.deb ...
- Dépaquetage de samba-libs:amd64 (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../09-samba-common_2%3a4.5.16+dfsg-1_all.deb ...
- Dépaquetage de samba-common (2:4.5.16+dfsg-1) sur (2:4.5.12+dfsg-2+deb9u4) ...
- Préparation du dépaquetage de .../10-nextdom-mysql_1.0.0_all.deb ...
- + echo '>>>>>>> /var/lib/dpkg/tmp.ci/preinst upgrade 0.1.2 1.0.0 <<<<<<<'
- >>>>>>> /var/lib/dpkg/tmp.ci/preinst upgrade 0.1.2 1.0.0 <<<<<<<
- + mysql -u root -e 'SHOW DATABASES;'
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- +--------------------+
- + case "$1" in
- + nextdom_secret=/var/lib/nextdom/config/common.config.php
- + [[ -f /var/lib/nextdom/config/common.config.php ]]
- ++ grep ''\''host'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_host=localhost
- ++ grep ''\''port'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_port=3306
- ++ grep ''\''dbname'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_dbname=nextdom
- ++ grep ''\''username'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_username=nextdom
- ++ grep ''\''password'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_password=1aad0d0fb25d34b
- + [[ localhost != '' ]]
- + sed -i 's#^MYSQL_HOSTNAME=.*#MYSQL_HOSTNAME="localhost"#g' /etc/nextdom/mysql/secret
- + [[ 3306 != '' ]]
- + sed -i 's#^MYSQL_PORT=.*#MYSQL_PORT="3306"#g' /etc/nextdom/mysql/secret
- + [[ nextdom != '' ]]
- + sed -i 's#^MYSQL_NEXTDOM_DB=.*#MYSQL_NEXTDOM_DB="nextdom"#g' /etc/nextdom/mysql/secret
- + [[ nextdom != '' ]]
- + sed -i 's#^MYSQL_NEXTDOM_USER=.*#MYSQL_NEXTDOM_USER="nextdom"#g' /etc/nextdom/mysql/secret
- + [[ 1aad0d0fb25d34b != '' ]]
- + sed -i 's#^MYSQL_NEXTDOM_PASSWD=.*#MYSQL_NEXTDOM_PASSWD="1aad0d0fb25d34b"#g' /etc/nextdom/mysql/secret
- + cp -ax /etc/nextdom/mysql/secret /tmp/nextdom-secret
- + chmod 600 /tmp/nextdom_secret
- chmod: impossible d'accéder à '/tmp/nextdom_secret': Aucun fichier ou dossier de ce type
- + [[ localhost = \l\o\c\a\l\h\o\s\t ]]
- ++ mysql -u root -e 'SELECT user, host, db, select_priv, insert_priv, grant_priv FROM mysql.db WHERE user='\''nextdom'\'' AND host='\''localhost'\'' AND db='\''nextdom'\'';'
- ++ wc -l
- + isOK=0
- + [[ 0 -eq 0 ]]
- + mysql -u root -e 'DROP USER IF EXISTS '\''nextdom'\''@'\''localhost'\'';'
- + mysql -u root -e 'CREATE USER '\''nextdom'\''@'\''localhost'\'' IDENTIFIED BY '\''1aad0d0fb25d34b'\'';'
- + mysql -u root -e 'GRANT ALL PRIVILEGES ON nextdom.* TO '\''nextdom'\''@'\''localhost'\'';'
- + mysql -u root -e 'SHOW GRANTS FOR '\''nextdom'\''@'\''localhost'\'';'
- +----------------------------------------------------------------------------------------------------------------+
- | Grants for nextdom@localhost |
- +----------------------------------------------------------------------------------------------------------------+
- | GRANT USAGE ON *.* TO 'nextdom'@'localhost' IDENTIFIED BY PASSWORD '*D638DAB1BB21CC5334C63E58A061631C2C201812' |
- | GRANT ALL PRIVILEGES ON `nextdom`.* TO 'nextdom'@'localhost' |
- +----------------------------------------------------------------------------------------------------------------+
- + mysqldump -u root --all-databases
- Dépaquetage de nextdom-mysql (1.0.0) sur (0.1.2) ...
- Préparation du dépaquetage de .../11-nextdom-common_1.0.0_all.deb ...
- Enabling site 000-default.
- To activate the new configuration, you need to run:
- systemctl reload apache2
- + echo >>>>>>> /var/lib/dpkg/tmp.ci/preinst upgrade 0.1.2 1.0.0 <<<<<<<
- >>>>>>> /var/lib/dpkg/tmp.ci/preinst upgrade 0.1.2 1.0.0 <<<<<<<
- + mysql -u root -e SHOW GRANTS FOR 'nextdom'@'localhost';
- +----------------------------------------------------------------------------------------------------------------+
- | Grants for nextdom@localhost |
- +----------------------------------------------------------------------------------------------------------------+
- | GRANT USAGE ON *.* TO 'nextdom'@'localhost' IDENTIFIED BY PASSWORD '*D638DAB1BB21CC5334C63E58A061631C2C201812' |
- | GRANT ALL PRIVILEGES ON `nextdom`.* TO 'nextdom'@'localhost' |
- +----------------------------------------------------------------------------------------------------------------+
- Dépaquetage de nextdom-common (1.0.0) sur (0.1.2) ...
- Paramétrage de nextdom-mysql (1.0.0) ...
- + echo >>>>>>> /var/lib/dpkg/info/nextdom-mysql.postinst configure 0.1.2 <<<<<<<
- >>>>>>> /var/lib/dpkg/info/nextdom-mysql.postinst configure 0.1.2 <<<<<<<
- + mysql -u root -e SHOW DATABASES;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- +--------------------+
- Paramétrage de samba-common (2:4.5.16+dfsg-1) ...
- Paramétrage de libcups2:amd64 (2.2.1-8+deb9u3) ...
- Paramétrage de libldb1:amd64 (2:1.1.27-1+deb9u1) ...
- Paramétrage de libwbclient0:amd64 (2:4.5.16+dfsg-1) ...
- Paramétrage de samba-libs:amd64 (2:4.5.16+dfsg-1) ...
- Paramétrage de libsmbclient:amd64 (2:4.5.16+dfsg-1) ...
- Paramétrage de smbclient (2:4.5.16+dfsg-1) ...
- Paramétrage de nextdom-common (1.0.0) ...
- + echo >>>>>>> /var/lib/dpkg/info/nextdom-common.postinst configure 0.1.2 <<<<<<<
- >>>>>>> /var/lib/dpkg/info/nextdom-common.postinst configure 0.1.2 <<<<<<<
- + mysql -u root -e SHOW GRANTS FOR 'nextdom'@'localhost';
- +----------------------------------------------------------------------------------------------------------------+
- | Grants for nextdom@localhost |
- +----------------------------------------------------------------------------------------------------------------+
- | GRANT USAGE ON *.* TO 'nextdom'@'localhost' IDENTIFIED BY PASSWORD '*D638DAB1BB21CC5334C63E58A061631C2C201812' |
- | GRANT ALL PRIVILEGES ON `nextdom`.* TO 'nextdom'@'localhost' |
- +----------------------------------------------------------------------------------------------------------------+
- (Lecture de la base de données... 84952 fichiers et répertoires déjà installés.)
- Préparation du dépaquetage de .../archives/nextdom_0.1.4_all.deb ...
- + echo '>>>>>>> /var/lib/dpkg/tmp.ci/preinst upgrade 0.1.2 0.1.4 <<<<<<<'
- >>>>>>> /var/lib/dpkg/tmp.ci/preinst upgrade 0.1.2 0.1.4 <<<<<<<
- + mysql -u root -e 'SHOW DATABASES;'
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | performance_schema |
- +--------------------+
- + dirn=/var/www/html
- + WEBSERVER_HOME=/usr/share/nextdom
- + case "$1" in
- + nextdom_secret=/var/lib/nextdom/config/common.config.php
- + [[ ! -f /var/lib/nextdom/config/common.config.php ]]
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- ++ grep ''\''host'\''' /var/lib/nextdom/config/common.config.php
- + nextdom_host=localhost
- ++ awk -F '=>' '{print $2}'
- ++ grep ''\''port'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- + nextdom_port=3306
- ++ grep ''\''dbname'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_dbname=nextdom
- ++ grep ''\''username'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_username=nextdom
- ++ grep ''\''password'\''' /var/lib/nextdom/config/common.config.php
- ++ awk -F \' '{print $2}'
- ++ awk -F '=>' '{print $2}'
- + nextdom_password=1aad0d0fb25d34b
- + [[ localhost = \l\o\c\a\l\h\o\s\t ]]
- + mysql -u root -e 'DROP USER IF EXISTS '\''nextdom'\''@'\''localhost'\'';'
- + mysql -u root -e 'CREATE USER '\''nextdom'\''@'\''localhost'\'' IDENTIFIED BY '\''1aad0d0fb25d34b'\'';'
- + mysql -u root -e 'GRANT ALL PRIVILEGES ON nextdom.* TO '\''nextdom'\''@'\''localhost'\'';'
- + mysql -u root -e 'SHOW GRANTS FOR '\''nextdom'\''@'\''localhost'\'';'
- +----------------------------------------------------------------------------------------------------------------+
- | Grants for nextdom@localhost |
- +----------------------------------------------------------------------------------------------------------------+
- | GRANT USAGE ON *.* TO 'nextdom'@'localhost' IDENTIFIED BY PASSWORD '*D638DAB1BB21CC5334C63E58A061631C2C201812' |
- | GRANT ALL PRIVILEGES ON `nextdom`.* TO 'nextdom'@'localhost' |
- +----------------------------------------------------------------------------------------------------------------+
- + [[ localhost = \l\o\c\a\l\h\o\s\t ]]
- + echo 'Restore DB...'
- Restore DB...
- + cat /tmp/nextdom-secret
- MYSQL_HOSTNAME="localhost"
- MYSQL_PORT="3306"
- MYSQL_SUBNET="localhost"
- #MYSQL_SUBNET="192.168.1.%"
- MYSQL_NEXTDOM_DB="nextdom"
- MYSQL_NEXTDOM_USER="nextdom"
- MYSQL_NEXTDOM_PASSWD="1aad0d0fb25d34b"
- + cat /var/lib/nextdom/config/common.config.php
- <?php
- /* This file is part of Jeedom.
- *
- * Jeedom is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Jeedom is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
- */
- /* * ********************* Debug **************** */
- define('DEBUG', 0);
- /* * *********************** MySQL & Memcached ******************* */
- global $CONFIG;
- $CONFIG = array(
- //MySQL parametres
- 'db' => array(
- 'host' => 'localhost',
- 'port' => '3306',
- 'dbname' => 'nextdom',
- 'username' => 'nextdom',
- 'password' => '1aad0d0fb25d34b',
- ),
- );
- + mysql -u root
- + cd /usr/share/nextdom/
- + sleep 600
- Progression : [ 25%] [#################################################.....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement