You were right: I wasn't patience enough. The script took 54 minutes! I didn't know it could take that long.
Unfortunately still without success. I ran the script twice. First with the original settings (port 3001) and secondly with port 8080 as mvzut suggested.
Although the script continues and finishes, I believe some errors appear which I don't understand:
Code: Select all
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sh ./run-once.sh
Will update packages list first...
Now getting the needed software...
Now getting getting and installing dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpanminus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
--> Working on Task::Plack
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Task-Plack-0.28.tar.gz ... OK
Configuring Task-Plack-0.28 ... OK
==> Found dependencies: Plack::Middleware::Auth::Digest, Starman, Plack::Middleware::Deflater, Plack::App::Proxy, CGI::PSGI, IO::Handle::Util, FCGI::Client, FCGI, Plack::Middleware::Debug, Plack, Twiggy, Plack::Middleware::ReverseProxy, Net::FastCGI, Corona, Plack::Middleware::Header, PSGI, Starlet, Plack::Middleware::Session
--> Working on Plack::Middleware::Auth::Digest
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Auth-Digest-0.05.tar.gz ... OK
Configuring Plack-Middleware-Auth-Digest-0.05 ... OK
Building and testing Plack-Middleware-Auth-Digest-0.05 ... FAIL
! Timed out (> 1800s). Use --verbose to retry.
Terminated
! Installing Plack::Middleware::Auth::Digest failed. See /root/.cpanm/work/1452356060.18870/build.log for details. Retry with --force to force install it.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ --> Working on Starman
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Starman-0.4014.tar.gz ... OK
Configuring Starman-0.4014 ... OK
==> Found dependencies: Net::Server, Test::TCP
--> Working on Net::Server
Fetching http://www.cpan.org/authors/id/R/RH/RHANDOM/Net-Server-2.008.tar.gz ... OK
Configuring Net-Server-2.008 ... OK
Building and testing Net-Server-2.008 ... FAIL
! Installing Net::Server failed. See /root/.cpanm/work/1452356060.18870/build.log for details. Retry with --force to force install it.
--> Working on Test::TCP
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.14.tar.gz ... OK
Configuring Test-TCP-2.14 ... OK
pi@raspberrypi ~/domoticz/MyDomoAtHome $
The Imperihome still cannot connect "Error

Invalid response from API". Any suggestions?