1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Alpha.5 no WebUI on Raspberry 3 B+

Discussion in 'Bug Reports' started by schmidtjr, 6 May 2020.

  1. schmidtjr

    schmidtjr New Member

    Messages:
    9
    Hardware:
    RPi3, +nodeMCU/ESP8266
    Hi
    I had a test installation on a blank Raspberry 3 B+ where everything was working fine.
    Now I wanted to install it on the final raspi, but the WebUI is not starting.
    I installed Hyperion-2.0.0-alpha.5-Linux-armv7hf-rpi.deb via "sudo apt install Hyperion-2.0.0-alpha.5-Linux-armv7hf-rpi.deb".
    service is started, systemctl status shows active.
    But the WebUI is not reachable.

    output of: sudo netstat -tulpn | grep LISTEN
    Code:
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      672/lighttpd
    tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      860/pihole-FTL
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      664/sshd
    tcp        0      0 0.0.0.0:1880            0.0.0.0:*               LISTEN      380/node-red
    tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      335/deCONZ
    tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      471/mosquitto
    tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      830/smbd
    tcp        0      0 0.0.0.0:8066            0.0.0.0:*               LISTEN      335/deCONZ
    tcp        0      0 127.0.0.1:4711          0.0.0.0:*               LISTEN      860/pihole-FTL
    tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      830/smbd
    tcp6       0      0 :::80                   :::*                    LISTEN      672/lighttpd
    tcp6       0      0 :::53                   :::*                    LISTEN      860/pihole-FTL
    tcp6       0      0 :::22                   :::*                    LISTEN      664/sshd
    tcp6       0      0 :::1883                 :::*                    LISTEN      471/mosquitto
    tcp6       0      0 :::445                  :::*                    LISTEN      830/smbd
    tcp6       0      0 ::1:4711                :::*                    LISTEN      860/pihole-FTL
    tcp6       0      0 :::139                  :::*                    LISTEN      830/smbd
    As you can see, there's some other stuff running on this Pi. Namely:
    - PiHole
    - deCONZ
    - mosquitto
    - node-red
    (that should be all)

    if I start hyperion with --debug I get the following output, nothing mentions a UI port:
    Code:
    /usr/bin/hyperiond --debug
    [hyperiond MAIN] <INFO> Set user data path to '/home/pi/.hyperion'
    [hyperiond DAEMON] <DEBUG> <PythonInit.cpp:33:PythonInit()> Initializing Python interpreter
    [hyperiond SettingsManager] <DEBUG> <SettingsManager.cpp:108:SettingsManager()> Settings database initialized
    [hyperiond EFFECTFILES] <INFO> 38 effects loaded from directory :/effects/
    [hyperiond EFFECTFILES] <INFO> 21 effect schemas loaded from directory :/effects/schema/
    [hyperiond EFFECTFILES] <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects
    [hyperiond SettingsManager] <DEBUG> <SettingsManager.cpp:108:SettingsManager()> Settings database initialized
    [hyperiond BLACKBORDER] <DEBUG> <BlackBorderProcessor.cpp:65:handleSettingsUpdate()> Set mode to: default
    [hyperiond ComponentRegister] <DEBUG> <ComponentRegister.cpp:36:setNewComponentState()> Blackborder detector: enabled
    [hyperiond DAEMON] <INFO> set screen capture device to 'dispmanx'
    [hyperiond DISPMANXGRABBER] <DEBUG> <Grabber.cpp:34:setVideoMode()> Set videomode to 0
    [hyperiond LEDDEVICE] <INFO> LedDevice 'file' found.
    [hyperiond ComponentRegister] <DEBUG> <ComponentRegister.cpp:36:setNewComponentState()> Smoothing: enabled
    [hyperiond FLATBUFCONNECTION] <INFO> Connecting to Hyperion: 127.0.0.1:19401
    [hyperiond EFFECTENGINE] <INFO> Run effect "Rainbow swirl fast" on channel 0
    [hyperiond EFFECTENGINE] <DEBUG> <EffectEngine.cpp:183:runEffectScript()> Start the effect: name [Rainbow swirl fast], smoo                                               thCfg [2]
    [hyperiond HYPERION] <DEBUG> <PriorityMuxer.cpp:158:registerInput()> Register new input 'System/EFFECT' with priority 0 as                                                inactive
    [hyperiond HYPERION] <INFO> Initial foreground effect 'Rainbow swirl fast' started
    [hyperiond EFFECTENGINE] <INFO> Run effect "Warm mood blobs" on channel 254
    [hyperiond EFFECTENGINE] <DEBUG> <EffectEngine.cpp:183:runEffectScript()> Start the effect: name [Warm mood blobs], smoothC                                               fg [2]
    [hyperiond HYPERION] <DEBUG> <PriorityMuxer.cpp:158:registerInput()> Register new input 'System/EFFECT' with priority 254 a                                               s inactive
    [hyperiond HYPERION] <INFO> Inital background effect 'Warm mood blobs' started
    [hyperiond HYPERION] <DEBUG> <PriorityMuxer.cpp:158:registerInput()> Register new input 'System/GRABBER' with priority 250                                                as inactive
    [hyperiond ComponentRegister] <DEBUG> <ComponentRegister.cpp:36:setNewComponentState()> Framegrabber: enabled
    [hyperiond BOBLIGHT] <DEBUG> <BoblightServer.cpp:28:BoblightServer()> Instance created
    [hyperiond ComponentRegister] <DEBUG> <ComponentRegister.cpp:36:setNewComponentState()> LED device: enabled
    [hyperiond HYPERION] <DEBUG> <PriorityMuxer.cpp:238:setInputImage()> Priority 0 is now active
    [hyperiond HYPERION] <DEBUG> <PriorityMuxer.cpp:333:setCurrentTime()> Set visible priority to 0
    [hyperiond HYPERION] <DEBUG> <PriorityMuxer.cpp:198:setInput()> Priority 254 is now active
    
    Any ideas how to fix this?

    Kind regards,
    Martin
     
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,840
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  3. Paulchen-Panther

    Paulchen-Panther Moderator Staff Member Developer

    Messages:
    824
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Which operating system are you using?
     
  4. schmidtjr

    schmidtjr New Member

    Messages:
    9
    Hardware:
    RPi3, +nodeMCU/ESP8266
    Hi,
    well good question. sorry, forgot this info in the initial request.

    The RPI where I'm currently trying to install (where it fails, no UI) is using Raspbian 9 stretch ( 4.14.98-v7+).
    The RPI where I did my non-productive tests (and everything was working) is using Raspbian 10 buster ( 4.19.97-v7+).

    I'm going to upgrade from stretch to buster. Hope it's smooth, I'll be back with more information.

    Kind regards,
    Martin
     
  5. schmidtjr

    schmidtjr New Member

    Messages:
    9
    Hardware:
    RPi3, +nodeMCU/ESP8266
    Hi,

    OK. So I upgraded to buster. The good news is, that the hyperion UI is now reachable.
    Bad news is, that the piHole UI is no longer reachable. Instead, the deCONZ server is completely listening on localhost:80 and blocks access to piHole. but... Thats's another topic. Some lighttpd configuration or so. Not my favorite topic. Not even a topic I could say I know what I'm doing...
    But... In regards to Hyperion, the issue seems to be closed. In general (I would assume hyperion should be running on Raspbian stretch) I think it's a misconfiguration of too many services listening on localhost... Generally they should have different ports, especially hyperion uses a specific port...

    Kind regards,
    thanks to all that helped and guided me in the right direction.

    Edit: just for completness. If somebody has exactly the same problem :), I reconfigured deCONZ to use port 8081 isntead of 80 (systemd service definition). Now I'm able to access: Node-Red UI, deCONZ UI (aka Phoscon), Hyperion UI, Pi-Hole UI
     
    Last edited: 7 May 2020
    • Like Like x 2