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

SOLVED How to update Hyperbian with the latest Hyperion.NG

Discussion in 'Software Support' started by NeeeeB, 25 September 2020.

  1. NeeeeB

    NeeeeB Active Member

    Messages:
    237
    Hardware:
    RPi3, +Arduino, +nodeMCU/ESP8266
    Hi,
    Everything is in the title.
    Many thanks.
    EDIT: in my case, for a Pi Zero ;-)
     
    Last edited: 28 September 2020
  2. Sparky Lyon

    Sparky Lyon New Member

    Messages:
    8
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit
    I second this request. I installed Hyperbian aplha 7, and am getting notifications on the home page that a newer version is available, but I cant work out how to do this. I can only assume an Alpha8 version of Hyperbian has not yet been complied. Is it better i use Raspbian and install hyperbian.ng that way?
    Edit - using Pi 3 B+
     
    Last edited: 28 September 2020
    • Like Like x 1
  3. NeeeeB

    NeeeeB Active Member

    Messages:
    237
    Hardware:
    RPi3, +Arduino, +nodeMCU/ESP8266
    I'm pretty sure it is a matter of SSH and one command line, but I'm really not versed into Linux at all, so any help would be greatly appreciated.
     
  4. Sparky Lyon

    Sparky Lyon New Member

    Messages:
    8
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit
    I'm not either, I've tried apt-get update and apt-get upgrade but this didn't work
     
  5. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,978
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Hey, unfortunately we don't have a update-system implemented for now, so it needs the manuall process to install via ssh

    do you need help for this?
     
    • Like Like x 2
  6. Sparky Lyon

    Sparky Lyon New Member

    Messages:
    8
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit
    That would be greatly appreciated. I've searched for ways to update Hyperbian, but I cant find any instructions
     
  7. NeeeeB

    NeeeeB Active Member

    Messages:
    237
    Hardware:
    RPi3, +Arduino, +nodeMCU/ESP8266
    Could you elaborate please ?
    Many thanks.
     
  8. mg3point

    mg3point New Member

    Messages:
    21
    Hardware:
    RPi3
    ^Following ... it sounded like the flickering on color selection may have been addressed in the latest update, but just need to figure out how to update. @TPmodding anything you can provide would be appreciated, thank you!
     
  9. Awawa

    Awawa Active Member

    Messages:
    228
    Hardware:
    RPi1/Zero, RPi3, +nodeMCU/ESP8266
    As Hyperion.NG in the Hyperbian system is not installed as a package (extracted archive exactly, I think it's rather inconvenience, I've changed it anyway and can provide pull request if necessary) the simplest way is to backup the configuration (/home/pi/.hyperion folder I think) and install new release of Hyberbian on the SD card. Removing previous version by a hand is rather difficult task.
     
  10. Sparky Lyon

    Sparky Lyon New Member

    Messages:
    8
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit
    Does the latest version allow for updates, or will I have to do the same again? would it be easier to apply future updates if I start again and base hyperion in something like raspbian?

    Thanks
     
  11. spiff72

    spiff72 New Member

    Messages:
    3
    Hardware:
    RPi3
  12. spiff72

    spiff72 New Member

    Messages:
    3
    Hardware:
    RPi3
    EDIT: Don't do it this way. My web GUI is unavailable every time that I removed power.

    Well I tried the above - it appeared to update, but my config was apparently wiped out (acts like a fresh install - even the Web GUI password is reset). I tried importing the settings in the web gui afterward, and that borked the whole thing - couldn't connect to the GUI. I ran the dpkg command again and it came back online. I will just redo my config from scratch (it wasn't very complex).
     
    Last edited: 24 November 2020
    • Like Like x 1
  13. spiff72

    spiff72 New Member

    Messages:
    3
    Hardware:
    RPi3
    DON'T DO IT MY WAY!!! Web GUI goes offline every time I shut down and I can't get it back. I am planning to reimage with HyperBian at this point.

    i (partially) retract my last statement. I think the settings DID carry over - I went in and just saved them again and the lights started working again. But the import of settings from alpha 8 did bork things up!
     
    Last edited: 24 November 2020
  14. mjoshd

    mjoshd New Member

    Messages:
    1
    I am running HyperBian on a rPi4 and got the upgrade (alpha.8 to alpha.9) figured out today.. the process was not smooth and required lots of trial and error.

    Hopefully this info can help others.

    note: I am using a Raspberry PI 4 which needs armv7l. Other devices may use other files... adjust commands accordingly.

    Code:
    *** the wisest thing to do is make a full backup of your SDCard before attempting anything!!
        that way you can always get back to where you were if anything goes wrong :-)
    
    1. open web GUI and backup current settings to .json file
    
    2. acquire .deb file and upload to directory on HyperBian rPi if Internet access is restricted
       or download directly to the rPi from github if Internet access is available
       e.g.
       mkdir -p /home/pi/Downloads
       cd /home/pi/Downloads
       wget https://github.com/hyperion-project/hyperion.ng/releases/download/2.0.0-alpha.9/Hyperion-2.0.0-alpha.9-Linux-armv7l.deb
    
    3. install new version
       e.g.
       sudo apt install /home/pi/Downloads/Hyperion-2.0.0-alpha.9-Linux-armv7l.deb
    
    4. reboot system
    
    5. if hyperion fails to autostart after a reboot, which happened to me, check for extra service files in
       /etc/systemd/system/
       and extra symlinks in
       /etc/systemd/system/multi-user.target.wants/
    
       there should be only 1 in each location (I had both files in both locations).. remove the older extras, then reboot again
       examples:
       Hyperion build           file date       /etc/systemd/system/     /etc/systemd/system/multi-user.target.wants
       Hyperion-2.0.0-alpha.8   2020-09-14      hyperion.service         hyperion.service
       Hyperion-2.0.0-alpha.9   2020-11-27      [email protected]       [email protected]
    
    
    6. open web GUI and the settings .json file backup. cherry pick settings to restore (only if necessary... labor instensive but safe)
       or restore old settings through web GUI (warning!! conflicting settings can cause troubles... easy but dangerous)
    
    7. reboot one more time and everything should be back to normal :-)
    
    reason for edit: fix typo
     
    Last edited: 27 November 2020
    • Like Like x 2
  15. Sparky Lyon

    Sparky Lyon New Member

    Messages:
    8
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit
    Thanks mjoshd, I upgraded from 7 to 9 today on Pi3 and all went well. I didn't need to do step 5 as my system booted fine.
     
  16. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    368
    Hardware:
    RPi3
    its better to make screenshots with your camera from the localIP:8090 and put the settings back with a new build of Hyperion.
    Why? because Hyperion builds can differ and settings that where in the old aren't in the new or viseversa.

    example is the smoothing section that causes ( or caused) a lot of problems when activated in 2.08
     
    • Like Like x 1
  17. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    368
    Hardware:
    RPi3

    thats the thing i was talking about ;)
     
    • Like Like x 1