Re: [Jeedom V3.1] Problèmes avec la mise à jour
Publié : 26 sept. 2017, 14:14
@zerat9w, merci pour les logs, la team va voir ça, mais c'est pas bloquant donc pas pressé
From Tapatruc !
From Tapatruc !
Forum sur Jeedom
https://www.jeedom.com/forum/
pour les pbs sur les scénarios ? Je sais pas as-tu essayé les classiques CTRL+F5 et/ou reboot ?
Peux-tu regarder la console debug du navigateur (F12) ?parrain27240 a écrit : ↑26 sept. 2017, 14:07bon mes messages sur le fofo marche une fois sur deux .
donc je reprend toujours aucun affichage sur aucune page que se soit dash plugin log y'a que la page de mise a jour qui marche et a moitie .
tous marche par domo-widget .
je peut vous donner aucun logs vu que la page et vide .
J'ai déjà essayer le reboot le cache.
Pour ma part MAJ sur RPI2+PiDrive effectuée et nickel tout roule, sauf les résumés qui sont passés en noir et donc illisible comme Bello65.Bello65 a écrit :Bonjour,
Idem pour la MAJ qui reste, mais j'ai aussi deux soucis :
- les valeurs de résumé sont petits et restent en noir sur la page principale Idem avec thème par défaut et rafraîchissement (CMD+MAJ+R) - Timeline : lorsqu'on affiche le résumé scénario, si on veut cocher la coche timeline, il faut se décaler vers la gauche de la coche, car si on se met dessus, on a une double flèche et on ne peut pas sélectionner.
A+
Sous MAC SierrA et Chrome
Un scénario, un virtuel, ...qui fait appel à cette commande ?
Je viens de regarder en base, ma cmd de pushbullet est complètement erroné et de plus mes commandes s'arrete à l'id 82 alors que j'en ai beaucoup plus que ça.
Alors oui c'est sûrement plus prudent
@kvb, le problème est réglé, tu peux faire une mise à jour normale et ça devrait passer maintenant.kvb a écrit : ↑26 sept. 2017, 13:19OK merci, mais où et comment il faut modifier cette commande ?snow51 a écrit : ↑26 sept. 2017, 12:52La réponse a été donnée page 2 à 8h41kvb a écrit : ↑26 sept. 2017, 12:51Bonjour,
Idem pour moi, que faire SVP ?
[START UPDATE]
****Install/update jeedom from 3.0.9 (2017-09-26 12:46:03)****
Configuration : level : -1, mode : , version : , onlyThisVersion :
Send begin of update event...OK
Check rights...OK
[START BACKUP]
***************Start of Jeedom backup at 2017-09-26 12:46:04***************
Send begin backup event...OK
Check database...
OK
Backup database...
OK
Persist cache :
OK
Create archive...
OK
Clean old backup...OK
Limit the total size of backups to 500 Mo...
Remove : /var/www/html/core/php/../../backup/backup-kvb14-3.0.9-2017-09-26-06h59.tar.gz
OK
Name of backup : /var/www/html/core/php/../../backup/backup-kvb14-3.0.9-2017-09-26-12h46.tar.gz
Send end backup event...OK
Backup duration : 36s
***************Fin de la sauvegarde de Jeedom***************
[END BACKUP SUCCESS]
Disable all task OK
Disable all scenario............
.......................................
..............................................
................................ OK
Clean temporary file (tmp)...OK
Download url : https://github.com/jeedom/core/archive/releas.zip
Download in progress...converted 'https://github.com/jeedom/core/archive/releas.zip' (ANSI_X3.4-1968) -> 'https://github.com/jeedom/core/archive/releas.zip' (UTF-8)
--2017-09-26 10:46:44-- https://github.com/jeedom/core/archive/releas.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/jeedom/core/zip/releas [following]
converted 'https://codeload.github.com/jeedom/core/zip/releas' (ANSI_X3.4-1968) -> 'https://codeload.github.com/jeedom/core/zip/releas' (UTF-8)
--2017-09-26 10:46:45-- https://codeload.github.com/jeedom/core/zip/releas
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-09-26 10:46:45 ERROR 404: Not Found.
Enable scenario : OK
Enable task : OK
Error during install : Download failed please retry laterDetails : Array
(
)
[END UPDATE ERROR]
PHP Fatal error: Uncaught exception 'Exception' with message 'Download failed please retry later' in /var/www/html/install/install.php:160
Stack trace:
#0 {main}
thrown in /var/www/html/install/install.php on line 160
Désolé mais je ne sais pas, c'est pas si évident que ça !
Pour la couleur des valeurs de résumé, tu vas dans objet et tu as le choix de la couleur du texte.i-magin a écrit : ↑26 sept. 2017, 15:52Bonjour
MAJ version 3.1.3 effectuée sans souci à part les deux points déjà signalés :
- La mise à jour en 3.1.3 m'est toujours proposée
- les valeurs de résumé sont en noir et donc illisibles avec Darksobre
NB : je n'ai pas de personnalisation avancée
Pour information, j'ai obtenu un grand nombre de maj de plugins et le market doit être bien sollicité (message "l'opération a échoué" et "échec du téléchargement etc...")
Mais après plusieurs essais, toutes les maj sont passées sauf "calendar" qui est encore impossible à télécharger pour le moment
Edit : et bravo pour le boulot ! On constate le résultat dès l'affichage du dashboard plus condensé et donc plus agréable à lire
Rebonjour,
Code : Tout sélectionner
<?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/>.
*/
if (php_sapi_name() != 'cli' || isset($_SERVER['REQUEST_METHOD']) || !isset($_SERVER['argc'])) {
header("Status: 404 Not Found");
header('HTTP/1.0 404 Not Found');
$_SERVER['REDIRECT_STATUS'] = 404;
echo "<h1>404 Not Found</h1>";
echo "The page that you have requested could not be found.";
exit();
}
$datetime = date('Y-m-d H:i:s');
echo "Watchdog Jeedom at " . $datetime . "\n";
$update_in_progress = exec('ps ax | grep -E "dpkg|apt" | grep -v grep | wc -l');
if ($update_in_progress != 0) {
echo 'Update (apt or dpkg) in progress, cancel watchdog';
die();
}
/******************************Database***************************************/
/********************************MySQL****************************************/
echo 'Check MySql => ';
$output = array();
$rc = 0;
exec('systemctl is-enabled mysql 2>&1', $output, $rc);
if ($rc == 0) {
$output = array();
$rc = 0;
exec('systemctl status mysql', $output, $rc);
if ($rc == 0) {
echo "OK\n";
} else {
echo "NOK\n";
echo "Trying to restart MySql\n";
shell_exec('sudo systemctl restart mysql');
echo "Recheck MySql => ";
exec('systemctl status mysql', $output, $rc);
if ($rc != 0) {
echo "NOK. Please check manually why...\n";
die();
}
}
} else {
echo "NOT_ENABLED\n";
}
/******************************Web Server**************************************/
/********************************Nginx****************************************/
echo 'Check Nginx => ';
$output = array();
$rc = 0;
exec('systemctl is-enabled nginx 2>&1', $output, $rc);
if ($rc == 0) {
$output = array();
$rc = 0;
exec('systemctl status nginx', $output, $rc);
if ($rc == 0) {
echo "OK\n";
} else {
echo "NOK\n";
echo "Trying to restart Nginx\n";
shell_exec('sudo systemctl restart nginx');
echo "Recheck Nginx => ";
exec('systemctl status nginx', $output, $rc);
if ($rc != 0) {
echo "NOK. Please check manually why...\n";
}
}
} else {
echo "NOT_ENABLED\n";
}
/********************************Apache****************************************/
echo 'Check Apache => ';
$output = array();
$rc = 0;
exec('systemctl is-enabled apache2 2>&1', $output, $rc);
if ($rc == 0) {
$output = array();
$rc = 0;
exec('systemctl status apache2', $output, $rc);
if ($rc == 0) {
echo "OK\n";
} else {
echo "NOK\n";
echo "Trying to restart Apache\n";
shell_exec('sudo systemctl restart apache2');
echo "Recheck Apache => ";
exec('systemctl status apache2', $output, $rc);
if ($rc != 0) {
echo "NOK. Please check manually why...\n";
}
}
} else {
echo "NOT_ENABLED\n";
}
Code : Tout sélectionner
root@jeedom:~# su - www-data -s /bin/bash -c "php /var/www/html/core/php/watchdog.php"
Watchdog Jeedom at 2017-09-26 15:40:02
Check MySql => OK
Check Nginx => OK
Check Apache => NOT_ENABLED