bobinou / iss-domo

Convert ISS Imperihome to Domoticz / Freebox / XBMC / Jeedom
https://plus.google.com/communities/113236981415459933411
9 stars 4 forks source link

Unable to connect #1

Closed jkimmel closed 7 years ago

jkimmel commented 10 years ago

I made a domoticz installation from scratch (which is working) and installed iss-domo following your read.me as good as I could. what do you need to trace what's wrong with my installation?

bobinou commented 10 years ago

Hi,

Could you enable debug mode in /var/www/iss-domo/app/config/app.php

Thanks to use ISS-Domo !

2014-07-03 20:12 GMT+02:00 jkimmel notifications@github.com:

I made a domoticz installation from scratch (which is working) and installed iss-domo following your read.me as good as I could. what do you need to trace what's wrong with my installation?

— Reply to this email directly or view it on GitHub https://github.com/bobinou/iss-domo/issues/1.

Cordialement,

Olivier PARPAILLON

jkimmel commented 10 years ago

Here is the outcome:

Error in exception handler: The stream or file "/var/www/iss-domo/app/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /var/www/iss-domo/bootstrap/compiled.php:8677

Regards

Jürgen Kimmel

2014-07-04 9:32 GMT+02:00 bobinou notifications@github.com:

Hi,

Could you enable debug mode in /var/www/iss-domo/app/config/app.php

Thanks to use ISS-Domo !

2014-07-03 20:12 GMT+02:00 jkimmel notifications@github.com:

I made a domoticz installation from scratch (which is working) and installed iss-domo following your read.me as good as I could. what do you need to trace what's wrong with my installation?

— Reply to this email directly or view it on GitHub https://github.com/bobinou/iss-domo/issues/1.

Cordialement,

Olivier PARPAILLON

— Reply to this email directly or view it on GitHub https://github.com/bobinou/iss-domo/issues/1#issuecomment-48016076.

bobinou commented 10 years ago

Sorry for the late response, please make a sudo chmod -R 777 /var/www/iss-domo/

jkimmel commented 10 years ago

This time I'm late ;)

Here is my nohup.out:

2014/07/19-16:46:03 Starman::Server (type Net::Server::PreFork) starting! pid(2265) Resolved []:8080 to [0.0.0.0]:8080, IPv4 Host [] resolved to IPv6 address [::] but IO::Socket::INET6->new fails: Address family not supported by protocol at /usr/share/perl5/Net/Server/Proto.pm line 133. Binding to TCP port 8080 on host 0.0.0.0 with IPv4 2014/07/19-16:46:03 Can't connect to TCP port 8080 on 0.0.0.0 [Address already in use] at line 67 in file /usr/share/perl5/Net/Server/Proto/TCP.pm 2014/07/19-16:46:03 Received QUIT. Running a graceful shutdown Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 355. Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 385. Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 405. Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 413. 2014/07/19-16:46:03 Worker processes cleaned up 2014/07/19-16:46:03 Server closing! shutdown() on closed socket GEN1 at /usr/lib/perl/5.14/IO/Socket.pm line 294.

What does this mean?

jkimmel commented 10 years ago

You wrote earlier:

"- Then launch http://IP-iss-domo:port/devices"

should this not be ... /#Devices?

bobinou commented 10 years ago

The url to launch is http://IP-iss-domo:port/devices

For your problem, the port 8080 is already in use in your server. Please change your configuration to use another port (for ex 8000).

bobinou commented 10 years ago

The port in the file iss-domo.sh should do by example 8000 (for iss-domo service) and in the file configuration app/config/iss-domo.php should do the port of domoticz service (by default 8080).

jkimmel commented 10 years ago

I made this change but this didn't change the outcome of nohup but this time I got: imperihome1

Which files do you need to track what's wrong?

jkimmel commented 10 years ago

In your Readme you mention three different ports:

8080 >>> domoticz 8000 >>> iss-domo 8180 >>> ???

bobinou commented 10 years ago

The 8180 port is MY configuration of Domoticz. If your Domoticz is on the 8080 port you put this in the iss-domo.php file.