Page 1 of 1

Unable to connect in fresh RPi&Domoticz installation

Posted: Tuesday 21 November 2017 13:44
by costo
After having used Domoticz for over 2 years on the same SD-card (RPi2b) and never experienced serious SD-card problems, I thought it might be a good idea to make a new SD card with a fresh Raspbian OS and fresh Domoticz.

So I followed the wiki-instructions, downloaded the Raspbian light zip file of 362.9MB, used Etcher to write the image to a class10 16GB SDcard. Added a empty ssh file in the boot folder. Inserted the card in my RPi2, logged in with Putty. Expanded the OS, changed timezone and rebooted.
Did the usual update and upgrade, and then installed Domoticz the easy way with:
curl -L install.domoticz.com | sudo bash.
The wiki says very promising: Congratulations, you're done!

But whatever I try, Domoticz says "browser cache refresh failed" and shows the "domoticz offline" message in every browser I try.
So I guess there is something wrong in the wiki.

When I use my old SD-card there is no problem. I can not figure out what I have to do to make the new card working. Any suggestions ?

Re: domoticz offline in fresh install

Posted: Tuesday 21 November 2017 13:52
by koowee
You didn't mention Raspbian version, but I assume that it is Stretch. Try forum search "libsll". I'm not sure but might also be that this is allready fixed on beta release

Here is some discussions about this topic
http://domoticz.com/forum/viewtopic.php ... sl#p156560
http://www.domoticz.com/forum/viewtopic ... 20#p150258

Re: domoticz offline in fresh install

Posted: Tuesday 21 November 2017 14:14
by costo
@koowee
For the new SD card I stricktly followed the wiki.
Downloaded the latest lite stretch image 4.9 from september 2017. This image already has libssl 1.0.2 included.

Does not seem logical to go back to libssl 1.0.0 to be able to run domoticz or does it ?

With: curl -L install.domoticz.com | sudo bash i will install the latest stable version I assume and not a beta version.

But still reading your suggested links to find some clues.

Unable to connect in fresh RPi&Domoticz installation

Posted: Tuesday 21 November 2017 15:08
by costo
Changed the subject title from "Domoticz offline"in fresh install to "unable to connect in fresh install"

This is in short about what is shown in the putty monitor after command:
curl -L install.domoticz.com | sudo bash
*************************************************
downloaded 2017-11-21 14:41:33 ....... 13,64M
unpacking Domoticz
.............list of hundreds of files .......
Creating database
Restarting services
Enabling domoticz.sh service
installation complete. Configure your browser using:
192.168.178.38:8080
192.168.178.38:443
***************************************************
Then in a browser after I cleaned cache completely I see the errormessage:

Firefox can’t establish a connection to the server at 192.168.178.38:8080.

I still have not found a clue. Installation on Pi of Domoticz seems to be good, but I cannot connect to the Pi http server or in any other way see what is going on.
But with my old SD install replaced in the PI there is no problem.

Re: domoticz offline in fresh install

Posted: Tuesday 21 November 2017 15:22
by CaesarPL
costo wrote: Tuesday 21 November 2017 14:14 Does not seem logical to go back to libssl 1.0.0 to be able to run domoticz or does it ?
It's not about logic. Without that you will not run Domoticz...

Re: Unable to connect in fresh RPi&Domoticz installation

Posted: Tuesday 21 November 2017 15:31
by EdwinK
Unfortunately, you need that old version of libssl, Seems to be hard-coded in Domoticz, newer versions won't work

Re: Unable to connect in fresh RPi&Domoticz installation

Posted: Tuesday 21 November 2017 15:51
by costo
OK, I followed the instructions layed out is this post:
http://www.domoticz.com/forum/viewtopic ... 12#p150044

against all logic :) but still wonderfully, after the fix, command sudo ./domoticz the Pi gave a positive result and also I see Domoticz in my browser.

Thanx everyone for the help and specially Koowee for the link


I recommand (probably someone with a lot of time) to update the wiki about installation on a PI, and adding a warning about the Stretch installation, that it is not that easy.

Re: Unable to connect in fresh RPi&Domoticz installation

Posted: Friday 24 November 2017 10:59
by Lombard
costo wrote: Tuesday 21 November 2017 15:51 OK, I followed the instructions layed out is this post:
http://www.domoticz.com/forum/viewtopic ... 12#p150044

against all logic :) but still wonderfully, after the fix, command sudo ./domoticz the Pi gave a positive result and also I see Domoticz in my browser.
Cool. I'll try it that way.