No connection to host after update

  • Hi,


    first thanks for the great stuff around hyperion here!


    Unfortunately I get after updating HyperCon and Hyperion through HyperCon the following:


    <code>
    ssh in: ---> Installing systemd script
    ssh in: ---> Starting Hyperion
    ssh in: *******************************************************************************
    ssh in: Hyperion Installation/Update finished!
    ssh in: Please download the latest HyperCon version to benefit from new features!
    ssh in: To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in: Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in: *******************************************************************************
    ssh out: sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop 2>/dev/null ; sudo /sbin/initctl stop hyperion 2>/dev/null
    ssh out: sudo systemctl start hyperion.service 2>/dev/null ; sudo /etc/init.d/hyperion start 2>/dev/null ; sudo /sbin/initctl start hyperion 2>/dev/null
    ssh out: hyperion-remote -c ffac01
    ssh in: hyperion-remote:
    ssh in: version : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    ssh in: build time: Apr 29 2016 12:48:41
    ssh out: Unable to connect to host
    ssh out: hyperion-remote -c 3857ff


    </code>


    Any hints for a linux newbie? Rick164 helped me a lot while installing all stuff, but I think its here more appropriate.


    Thanks!

    • Offizieller Beitrag

    Hi @the_stig


    Should be Raspbian Jessie if I recall correctly from the last time we set it up, can you try installing it via the command line (SSH session) like listed here:


    https://hyperion-project.org/w…llation-with-command-line


    afterwards it will start automatically, otherwise best to post the hyperion.config.json located in /opt/hyperion/conf so we can double check that :)
    Your old config should be fine as that will get placed back after the update.


    Also can try running it manually from the SSH session like so:


    Code
    /opt/hyperion/bin/hyperiond /opt/hyperion/config/hyperion.config.json


    And post the output here or use the log output method @Brindosch posted as that is easier.

  • Thanks! Didn't know how to get the log...was too easy for me ;)
    RPi2 with Raspian Jessie, yes!


    Here we go:


    SSHing gives me:


    pi@hyperion:~ $ /opt/hyperion/bin/hyperiond /opt/hyperion/config/hyperion.config.json
    Hyperion Ambilight Deamon
    Version : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
    Build Time: Apr 29 2016 12:49:00
    INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    terminate called after throwing an instance of 'std::runtime_error'
    what(): Failed to parse configuration: * Line 124, Column 1
    Missing '}' or object member name


    Abgebrochen


    hyperion.json.config (deleted the LEDs section):

  • Looks like your hyperion.config.json is broken (json syntax), please recreate your config
    or you do it by hand

    Code
    what(): Failed to parse configuration: * Line 124, Column 1
    Missing '}' or object member name


    edited your post with code tags

  • Something is really going wrong with the new HyperCon for me. Maybe it's the root of my problems. I can ssh into my Pi, but all the commands via Hypercon aren't working properly for me. Sometimes its not reacting for >30 Minutes. Now I get pretty often a error:


    EDIT: Old HyperCon 1.0.0 is working properly here.


  • Hrm, recreated hyperion.config.json via HyperCon and I still get


    Code
    pi@hyperion:~ $ /opt/hyperion/bin/hyperiond /opt/hyperion/config/hyperion.config.json
    Hyperion Ambilight Deamon
            Version   : V1.02.0 (brindosch-2828c78/95e4d4e-1461938433
            Build Time: Apr 29 2016 12:49:00
    INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.json
    terminate called after throwing an instance of 'std::runtime_error'
      what():  Failed to parse configuration: * Line 124, Column 1
      Missing '}' or object member name


    Full hyperion.config.json, Line 124 is a "," above "channel adjustment":


    [MEDIA=pastebin]wKnhtybR[/MEDIA]

  • Nope, unfortunately not. But I know think there is a bigger problem with my Pi since SSHing in takes around 3 minutes, even if I try via a local LAN connection. Guess I have to reinstall whole raspian. Should now all prerequisites for running hyperion be installed via HyperCon?

  • Ok, but currently I seem to have broken my raspian. As SSHing took too long I tried to add "UseDNS no" to ssh_config and fiddled with permissions...now I cannot even login:


    Code
    -bash: /etc/profile: Keine Berechtigung
    Ich habe keinen Benutzernamen!@hyperion:~ $


    Anyone with first help for me?

  • A Raspbian Jessie has a idle time of around 5 seconds for login. But not more by default. Not sure about your ssh problem now. If you just use hyperion on this raspbian, maybe you should try again with a new image (faster?)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!