• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Webserver/GUI not running / no access
#1
Hello there!

I am currently working on a little home automation and installed the nightly version of pilight.

Base is a Raspberry Pi 3 with the current Raspbian Version.

I have a big problem now: I can´t access the GUI or i am unable to run/access the webserver at port 5001.

When i run the deamon in -D i get this:

Code:
root@raspberrypi:~# sudo pilight-daemon -D
[Mar 21 07:41:46:918483] pilight-daemon: ERROR: config setting "webserver-https-port" is invalid
[Mar 21 07:41:46:918548] pilight-daemon: DEBUG: garbage collected config settings library
[Mar 21 07:41:46:918568] pilight-daemon: DEBUG: garbage collected config devices library
[Mar 21 07:41:46:918588] pilight-daemon: DEBUG: garbage collected config rules library
[Mar 21 07:41:46:918602] pilight-daemon: DEBUG: garbage collected config gui library
[Mar 21 07:41:46:918620] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918637] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918653] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918667] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918680] pilight-daemon: DEBUG: garbage collected config hardware library
[Mar 21 07:41:46:918692] pilight-daemon: DEBUG: garbage collected config registry library
[Mar 21 07:41:46:918706] pilight-daemon: DEBUG: garbage collected config library
[Mar 21 07:41:46:918737] pilight-daemon: DEBUG: garbage collected event operator library
[Mar 21 07:41:46:918753] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918769] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918784] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918798] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918811] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918825] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918838] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:918850] pilight-daemon: DEBUG: garbage collected event action library
[Mar 21 07:41:46:918865] pilight-daemon: DEBUG: garbage collected event function library
[Mar 21 07:41:46:918878] pilight-daemon: DEBUG: garbage collected events library
[Mar 21 07:41:46:919086] pilight-daemon: DEBUG: garbage collected fcache library
[Mar 21 07:41:46:919113] pilight-daemon: DEBUG: garbage collected sha256cache library
[Mar 21 07:41:46:919127] pilight-daemon: DEBUG: garbage collected webserver library
[Mar 21 07:41:46:919140] pilight-daemon: DEBUG: garbage collected datetime library
[Mar 21 07:41:46:919248] pilight-daemon: DEBUG: garbage collected ssdp library
[Mar 21 07:41:46:919269] pilight-daemon: DEBUG: garbage collected options library
[Mar 21 07:41:46:919287] pilight-daemon: DEBUG: garbage collected socket library
[Mar 21 07:41:46:919300] pilight-daemon: DEBUG: garbage collected config library
[Mar 21 07:41:46:919314] pilight-daemon: DEBUG: protocol generic_switch
[Mar 21 07:41:46:919330] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919343] pilight-daemon: DEBUG: protocol generic_webcam
[Mar 21 07:41:46:919359] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919371] pilight-daemon: DEBUG: protocol generic_weather
[Mar 21 07:41:46:919389] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919402] pilight-daemon: DEBUG: protocol generic_dimmer
[Mar 21 07:41:46:919421] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919434] pilight-daemon: DEBUG: protocol generic_label
[Mar 21 07:41:46:919450] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919463] pilight-daemon: DEBUG: protocol generic_screen
[Mar 21 07:41:46:919480] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919492] pilight-daemon: DEBUG: protocol bmp180
[Mar 21 07:41:46:919527] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919548] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919570] pilight-daemon: DEBUG: protocol ds18s20
[Mar 21 07:41:46:919587] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919604] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919618] pilight-daemon: DEBUG: protocol dht22
[Mar 21 07:41:46:919635] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919654] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919668] pilight-daemon: DEBUG: protocol dht11
[Mar 21 07:41:46:919684] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919709] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919725] pilight-daemon: DEBUG: protocol relay
[Mar 21 07:41:46:919739] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:919755] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919770] pilight-daemon: DEBUG: protocol lm76
[Mar 21 07:41:46:919786] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919803] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919817] pilight-daemon: DEBUG: protocol lm75
[Mar 21 07:41:46:919833] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919850] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919864] pilight-daemon: DEBUG: protocol ds18b20
[Mar 21 07:41:46:919880] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919898] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919912] pilight-daemon: DEBUG: protocol gpio_switch
[Mar 21 07:41:46:919928] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:919945] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919959] pilight-daemon: DEBUG: protocol raw
[Mar 21 07:41:46:919974] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:919989] pilight-daemon: DEBUG: protocol pilight_firmware
[Mar 21 07:41:46:920006] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920020] pilight-daemon: DEBUG: protocol pilight_firmware
[Mar 21 07:41:46:920037] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920051] pilight-daemon: DEBUG: protocol datetime
[Mar 21 07:41:46:920067] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920081] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:920101] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920115] pilight-daemon: DEBUG: protocol wunderground
[Mar 21 07:41:46:920132] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920154] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920168] pilight-daemon: DEBUG: protocol program
[Mar 21 07:41:46:920189] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920209] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920223] pilight-daemon: DEBUG: protocol openweathermap
[Mar 21 07:41:46:920240] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920262] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920276] pilight-daemon: DEBUG: protocol sunriseset
[Mar 21 07:41:46:920293] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920310] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920325] pilight-daemon: DEBUG: protocol xbmc
[Mar 21 07:41:46:920340] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920358] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920373] pilight-daemon: DEBUG: protocol lirc
[Mar 21 07:41:46:920388] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920405] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920420] pilight-daemon: DEBUG: protocol cpu_temp
[Mar 21 07:41:46:920436] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:920452] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920467] pilight-daemon: DEBUG: protocol quigg_gt7000
[Mar 21 07:41:46:920485] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920499] pilight-daemon: DEBUG: protocol alecto_ws1700
[Mar 21 07:41:46:920514] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:920533] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920548] pilight-daemon: DEBUG: protocol cleverwatts
[Mar 21 07:41:46:920566] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920580] pilight-daemon: DEBUG: protocol tcm
[Mar 21 07:41:46:920594] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:920613] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920628] pilight-daemon: DEBUG: protocol silvercrest
[Mar 21 07:41:46:920645] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920659] pilight-daemon: DEBUG: protocol rsl366
[Mar 21 07:41:46:920681] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920697] pilight-daemon: DEBUG: protocol beamish_switch
[Mar 21 07:41:46:920715] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920729] pilight-daemon: DEBUG: protocol daycom
[Mar 21 07:41:46:920747] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920761] pilight-daemon: DEBUG: protocol arctech_motion
[Mar 21 07:41:46:920779] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920793] pilight-daemon: DEBUG: protocol ev1527
[Mar 21 07:41:46:920810] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920824] pilight-daemon: DEBUG: protocol heitech
[Mar 21 07:41:46:920841] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920855] pilight-daemon: DEBUG: protocol arctech_switch
[Mar 21 07:41:46:920874] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920890] pilight-daemon: DEBUG: protocol arctech_dusk
[Mar 21 07:41:46:920907] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920921] pilight-daemon: DEBUG: protocol x10
[Mar 21 07:41:46:920938] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920953] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Mar 21 07:41:46:920971] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:920985] pilight-daemon: DEBUG: protocol alecto_wsd17
[Mar 21 07:41:46:921000] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:921016] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921030] pilight-daemon: DEBUG: protocol selectremote
[Mar 21 07:41:46:921047] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921062] pilight-daemon: DEBUG: protocol arctech_switch_old
[Mar 21 07:41:46:921079] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921096] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Mar 21 07:41:46:921111] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:921130] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921145] pilight-daemon: DEBUG: protocol ehome
[Mar 21 07:41:46:921166] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921181] pilight-daemon: DEBUG: protocol elro_300_switch
[Mar 21 07:41:46:921200] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921215] pilight-daemon: DEBUG: protocol secudo_smoke_sensor
[Mar 21 07:41:46:921231] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921245] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Mar 21 07:41:46:921262] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921277] pilight-daemon: DEBUG: protocol clarus_switch
[Mar 21 07:41:46:921294] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921308] pilight-daemon: DEBUG: protocol arctech_screen_old
[Mar 21 07:41:46:921326] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921340] pilight-daemon: DEBUG: protocol eurodomest_switch
[Mar 21 07:41:46:921359] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921374] pilight-daemon: DEBUG: protocol arctech_contact
[Mar 21 07:41:46:921391] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921406] pilight-daemon: DEBUG: protocol mumbi
[Mar 21 07:41:46:921424] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921438] pilight-daemon: DEBUG: protocol elro_800_switch
[Mar 21 07:41:46:921456] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921471] pilight-daemon: DEBUG: protocol impuls
[Mar 21 07:41:46:921489] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921503] pilight-daemon: DEBUG: protocol arctech_dimmer
[Mar 21 07:41:46:921523] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921538] pilight-daemon: DEBUG: protocol arctech_screen
[Mar 21 07:41:46:921556] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921571] pilight-daemon: DEBUG: protocol elro_800_contact
[Mar 21 07:41:46:921588] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921602] pilight-daemon: DEBUG: protocol sc2262
[Mar 21 07:41:46:921619] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921633] pilight-daemon: DEBUG: protocol rev1_switch
[Mar 21 07:41:46:921650] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921664] pilight-daemon: DEBUG: protocol elro_400_switch
[Mar 21 07:41:46:921682] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921701] pilight-daemon: DEBUG: protocol logilink_switch
[Mar 21 07:41:46:921719] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921734] pilight-daemon: DEBUG: protocol alecto_wx500
[Mar 21 07:41:46:921749] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:921770] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921787] pilight-daemon: DEBUG: protocol teknihall
[Mar 21 07:41:46:921801] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:921822] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921836] pilight-daemon: DEBUG: protocol quigg_gt1000
[Mar 21 07:41:46:921855] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921870] pilight-daemon: DEBUG: protocol tfa
[Mar 21 07:41:46:921884] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:921904] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921920] pilight-daemon: DEBUG: protocol rev3_switch
[Mar 21 07:41:46:921937] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921951] pilight-daemon: DEBUG: protocol auriol
[Mar 21 07:41:46:921965] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:921983] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:921997] pilight-daemon: DEBUG: protocol quigg_gt9000
[Mar 21 07:41:46:922014] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922028] pilight-daemon: DEBUG: protocol tfa30
[Mar 21 07:41:46:922043] pilight-daemon: DEBUG: ran garbage collector
[Mar 21 07:41:46:922061] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922075] pilight-daemon: DEBUG: protocol rc101
[Mar 21 07:41:46:922092] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922107] pilight-daemon: DEBUG: protocol pollin
[Mar 21 07:41:46:922124] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922139] pilight-daemon: DEBUG: protocol rev2_switch
[Mar 21 07:41:46:922155] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922170] pilight-daemon: DEBUG: protocol techlico_switch
[Mar 21 07:41:46:922193] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922209] pilight-daemon: DEBUG: protocol quigg_screen
[Mar 21 07:41:46:922227] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922242] pilight-daemon: DEBUG: protocol arping
[Mar 21 07:41:46:922257] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:922275] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922289] pilight-daemon: DEBUG: protocol ping
[Mar 21 07:41:46:922305] pilight-daemon: DEBUG: stopped protocol threads
[Mar 21 07:41:46:922322] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922337] pilight-daemon: DEBUG: protocol process
[Mar 21 07:41:46:922353] pilight-daemon: DEBUG: freed options struct
[Mar 21 07:41:46:922366] pilight-daemon: DEBUG: garbage collected protocol library
[Mar 21 07:41:46:922378] pilight-daemon: DEBUG: garbage collected ntp library
[Mar 21 07:41:46:922394] pilight-daemon: DEBUG: garbage collected threads library
[Mar 21 07:41:46:922407] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 21 07:41:46:922421] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library

It shows an error with the https port 5002, but i don´t really need a https connection.

I had this problem with the stable version too and thought i can get it running with the developer version.

What i have also running on my Raspberry Pi 3:

RPi Cam Web Interface Port 8080
PiControl in PiControl Folder.
On Port 80 i get the standard apache notice, that the server is running.
 
Reply
#2
Remove the line for https from config.json


Gesendet von iPhone mit Tapatalk
 
Reply
#3
(side note: quote tag != code tag. I've fixed that in your post so that it's more readable)

Yes, you simply need to remove the offending setting "webserver-https-port" from the "settings" section in config.json. Since you don't want/need https, this is the way to go.
 
Reply
#4
Yes I still cannot access the one area I mentioned. It comes up indicating that I need to register which of course I am already.

Not sure what is going on.
 
Reply
#5
I have found the Webserver GUI very useful, but Im finding the use
of a laptop in the living room to control and select a tad cumbersome.

I note from the Quick Guide that an Apple iPad is compatible, but I feel
that the cost of one is a tad too much. My research has homed in upon the
Nexus 7, Android; would this be compatible with the Webserver GUI for the
PC?

Many thanks,

Tim Higgison
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Webserver unavailable after default installation crashoverride01 20 16,393 05-24-2018, 07:49 PM
Last Post: SIlenxPower

Forum Jump:


Browsing: 1 Guest(s)