Salut,
J'ai eu utilise MyDomoAtHome, puis suite a une reinstallation complete, impossible de le refaire fonctionner donc je suis passer sur iss-domo, mais le temps de reaction me fait revenir a MyDomoAtHome.
je travail avec la derniere version de MyDomoAtHome dispo en telechargement depuis le GITHUB.
Ce retour ce passe mal :
Je rencontre une erreur que je fait : update-rc.d start.sh defaults :
Code : Tout sélectionner
update-rc.d: using dependency based boot sequencing
insserv: script MyDomoAtHome: service ImperiHomestart already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
pi@Domolitude ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 14217: No such process
start-stop-daemon: warning: failed to kill 14217: No such process
failed!
pi@Domolitude ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 13697: No such process
start-stop-daemon: warning: failed to kill 13697: No such process
et voici le contenu du Nohup.out
Code : Tout sélectionner
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x1b721a8)', 'CODE(0x1b85ef0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x1a39398)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x9c4088)', 'CODE(0x9d7dd0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x88b360)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x6371a8)', 'CODE(0x64aef0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x4fe398)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0xb371a8)', 'CODE(0xb4aef0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x9fe398)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x20581a8)', 'CODE(0x206bef0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x1f1f398)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x4971a8)', 'CODE(0x4aaef0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x35e398)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
Error while loading bin/app.pl: Unable to parse the configuration file: /home/pi/domoticz/MyDomoAtHome/config.yml: YAML Error: Couldn't parse single line value
Code: YAML_PARSE_ERR_SINGLE_LINE
Line: 12
Document: 1
at /usr/share/perl5/YAML/Loader.pm line 148
at /usr/share/perl5/Dancer/Config.pm line 202
Dancer::Config::load_settings_from_yaml('/home/pi/domoticz/MyDomoAtHome/config.yml') called at /usr/share/perl5/Dancer/Config.pm line 176
Dancer::Config::load('Dancer::Config') called at /usr/share/perl5/Dancer.pm line 258
Dancer::import('Dancer') called at bin/app.pl line 2
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 2
eval {...} called at bin/app.pl line 2
require bin/app.pl called at (eval 5) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x3ec1a8)', 'CODE(0x3ffef0)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x2b3398)') called at /usr/bin/plackup line 10
BEGIN failed--compilation aborted at bin/app.pl line 2.
les premiers sh ./run-once.sh m'ont fait pleins de mise a jour, et maintenant cela ce solde par :
Code : Tout sélectionner
0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
update-rc.d: using dependency based boot sequencing
insserv: script MyDomoAtHome: service ImperiHomestart already provided!
Sudo apt-get update et up-grade ont été fait.
lorsque je fais : sudo apt-get install libdancer-perl libfile-slurp-perl liblwp-protocol-psgi-perl libtime-piece-perl libjson-perl libplack-perl starman libcrypt-ssleay-perl :
Code : Tout sélectionner
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdancer-perl is already the newest version.
libfile-slurp-perl is already the newest version.
libjson-perl is already the newest version.
liblwp-protocol-psgi-perl is already the newest version.
libplack-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
Please help