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

RPi + OSMC Hyperion not working on osmc 207.09-2

Discussion in 'Software Support' started by marcos_, 1 November 2017.

  1. marcos_

    marcos_ New Member

    Messages:
    6
    Hardware:
    RPi2, RPi3
    Hi all,

    My raspberry Pi2 was not booting up anymore some weeks ago (because an update maybe?) so i reinstall OSMC from scratch. I have been able to install all my previous applications, programs and tools except Hyperion. The software looks to be installed correctly but at the end of the installation process there is not Hyperion directories anywhere:

    [email protected]:~$ sudo wget -N https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    converted 'https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh' (ANSI_X3.4-1968) -> 'https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh' (UTF-8)
    --2017-11-01 16:11:20-- https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    Resolving raw.github.com (raw.github.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
    Connecting to raw.github.com (raw.github.com)|151.101.0.133|:443... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://raw.githubusercontent.com/tvdzwan/hyperion/master/bin/install_hyperion.sh [following]
    converted 'https://raw.githubusercontent.com/tvdzwan/hyperion/master/bin/install_hyperion.sh' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/tvdzwan/hyperion/master/bin/install_hyperion.sh' (UTF-8)
    --2017-11-01 16:11:20-- https://raw.githubusercontent.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 14552 (14K) [text/plain]
    Last-modified header missing -- time-stamps turned off.
    --2017-11-01 16:11:21-- https://raw.githubusercontent.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    Reusing existing connection to raw.githubusercontent.com:443.
    HTTP request sent, awaiting response... 200 OK
    Length: 14552 (14K) [text/plain]
    Saving to: 'install_hyperion.sh'

    install_hyperion.sh 100%[==============================================>] 14.21K --.-KB/s in 0.1s

    2017-11-01 16:11:21 (149 KB/s) - 'install_hyperion.sh' saved [14552/14552]

    [email protected]:~$ sudo sh ./install_hyperion.sh
    *******************************************************************************
    This script will install/update Hyperion Ambient Light
    Created by brindosch - hyperion-project.org - the official Hyperion source.
    *******************************************************************************
    ---> Stop Hyperion, if necessary
    ---> Install/Update Hyperion dependencies (This may take a while)
    ---> Downloading the appropriate Hyperion release
    2017-11-01 16:12:22 URL:https://netix.dl.sourceforge.net/project/hyperion-project/release/hyperion_rpi3_osmc.tar.gz [1639953/1639953] -> "-" [1]
    ---> Installing systemd script
    ---> Modify systemd script for OSMC usage
    ---> Starting Hyperion
    *******************************************************************************
    Hyperion Installation/Update finished!
    Please download the latest HyperCon version to benefit from new features!
    To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    *******************************************************************************
    [email protected]:~$ sudo /etc/init.d/hyperion status
    sudo: /etc/init.d/hyperion: command not found
    [email protected]:~$ cd /etc/init.d/
    [email protected]:/etc/init.d$ ls -l | grep hyper
    -rw-r--r-- 1 root root 14552 Oct 29 15:40 install_hyperion.sh
    [email protected]:/etc/init.d$ cd /opt/hyperion/
    -bash: cd: /opt/hyperion/: No such file or directory

    So I cannot start the Hyperion process nor copy my configuration file .json created with Hypercon.

    The only strange thing I see is that the installation program is downloading new Hyperion bersion for rpi3 but I'm using rpi2. They should be the same in this case I think.

    Any ideas please?

    Thank you so much in advance!
     
  2. marcos_

    marcos_ New Member

    Messages:
    6
    Hardware:
    RPi2, RPi3
    of course, the process is not running:

    [email protected]:/etc/init.d$ ps -aux | grep hyper
    osmc 4800 0.0 0.0 2156 528 pts/0 S+ 16:32 0:00 grep hyper
    [email protected]:/etc/init.d$
     
  3. marcos_

    marcos_ New Member

    Messages:
    6
    Hardware:
    RPi2, RPi3
    Any comments? Please help :)
     
  4. marcos_

    marcos_ New Member

    Messages:
    6
    Hardware:
    RPi2, RPi3
    Anyone else with the same problem? Someone with any ideas?? Thanks...
     
  5. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    isnt it "sudo service hyperion start" on osmc? i am not sure
     
  6. marcos_

    marcos_ New Member

    Messages:
    6
    Hardware:
    RPi2, RPi3
    064B319B-DFF9-40F4-A292-F6714058D9B3.png Thanks TPmodding for your comment. Nothing happens when I do that. See screenshot:
     
  7. poe101

    poe101 New Member

    Messages:
    3
    Hardware:
    RPi1/Zero
    I used to have Hyperion working on my Raspberry Pi1 until the SD got corrupted.
    Forgot about it for a while but am now tying to get it back to its former glory and still not there yet.

    For what it's worth I came up against the same issue so I installed 'updatedb' to help search around.

    $ locate 'hyperion'
    shows no hyperion file in
    /etc/init.d

    but it is found (with associated files) in two other locations

    /usr/bin/hyperiond
    and
    /usr/share/hyperion/bin/hyperiond

    thats all I can add for now until I get mine running - hopefully in the next day or two.
     
  8. Akriss

    Akriss Active Member

    Messages:
    491
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    On my OSMC:
    Code:
    [email protected]:~$ uname -a
    Linux osmc-FR 4.9.29-10-osmc #1 SMP PREEMPT Mon Oct 9 02:18:18 UTC 2017 armv7l GNU/Linux
    
    This works to start Hyperion "sudo systemctl start hyperion.service"
     
  9. marcos_

    marcos_ New Member

    Messages:
    6
    Hardware:
    RPi2, RPi3
    Thanks guys! Im on travel. I will test it on Tuesday first thing :)
     
  10. poe101

    poe101 New Member

    Messages:
    3
    Hardware:
    RPi1/Zero
    Many thanks Akriss!

    [email protected]:~$ sudo bash
    [email protected]:/home/osmc# systemctl start hyperion.service
    [email protected]:/home/osmc# systemctl list-unit-files|grep enabled

    UNIT FILE STATE
    ...snipped...
    hyperion.service enabled
    ....snipped...

    and is still up after a reboot.

    One step closer!
     
  11. poe101

    poe101 New Member

    Messages:
    3
    Hardware:
    RPi1/Zero
    STOP PRESS Marcos_!
    I didn't realise (until reading some related post) that the hypercon tool (used to generate the config file for Hyperion) now has an automated install tool.
    (be sure to have a copy/backup of your hyperion.config.json file)

    Started hypercon (java -jar ./HyperCon.jar)
    Clicked on the SSH tab
    Entered the ssh params to login in to OSMC on the Pi.
    Clicked on 'Connect'
    Clicked on 'Remove Hyperion'
    Clicked on 'Inst./Upd. Hyperion'
    Clicked on 'Local Config Path' (made sure it was referencing the config file I had created earlier)
    Clicked on 'Send Config'

    At this point the interface appeared to lock up so I killed it and checked to see if the config file was in /etc/hyperion and it was.

    Finally - rebooted the Pi
    Got the startup led swirl!
    Clicked through a few screens and started a video... AWESOME!
    Everything appears to be working correctly!
    The GUI response time may be a bit slower so I may push the clock speed a bit - In the meantime I'm off to enjoy the splash of colour!!!

    Good Luck!