Unable to connect in fresh RPi&Domoticz installation

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
costo
Posts: 71
Joined: Tuesday 11 August 2015 17:35
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Unable to connect in fresh RPi&Domoticz installation

Post 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 ?
Last edited by costo on Tuesday 21 November 2017 15:19, edited 1 time in total.
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: domoticz offline in fresh install

Post 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
costo
Posts: 71
Joined: Tuesday 11 August 2015 17:35
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: domoticz offline in fresh install

Post 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.
costo
Posts: 71
Joined: Tuesday 11 August 2015 17:35
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Unable to connect in fresh RPi&Domoticz installation

Post 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.
CaesarPL
Posts: 104
Joined: Tuesday 08 November 2016 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

Re: domoticz offline in fresh install

Post 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...
HW:Raspberry PiB+,Pi3,PiB,RFLink,FA20RF,DCS-930L,DCS-935L,Clarus switches,RF Temp sensors,Owl Micro+,Mi Flora,Kerui,Yeelight,Xiaomi,Broadlink RMM3,Alexa
SF:Jessie,Dmtcz 3.8153,Logitech Media srv,PiCorePlayers,Dashticz,Max2Play,InfluxDB,Grafana,HABridge
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Unable to connect in fresh RPi&Domoticz installation

Post by EdwinK »

Unfortunately, you need that old version of libssl, Seems to be hard-coded in Domoticz, newer versions won't work
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
costo
Posts: 71
Joined: Tuesday 11 August 2015 17:35
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Unable to connect in fresh RPi&Domoticz installation

Post 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.
Lombard
Posts: 1
Joined: Friday 24 November 2017 10:57
Target OS: Windows
Domoticz version:
Contact:

Re: Unable to connect in fresh RPi&Domoticz installation

Post 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.
Know what, playing online is safe enough these days. You can be sure about it. I know it pretty well. You can easily find smarkets app info there.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest