Announcement

Collapse
No announcement yet.

Command line upgrade

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Command line upgrade

    I am away from home at the moment but have ssh command line access to my HS3 Linux system. Can I do the upgrade to .500 from the command line? I have already downloaded the zipped file for the upgrade.

    Thanks
    Steve

  • #2
    I am running HS on an Ubuntu 18.04 LTS custom built system. The only option I have for upgrades is via the command line. Should not be a problem.

    Comment


    • #3
      sesykes71 My you're brave...
      HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

      Comment


      • #4
        Not that brave, I think I will wait until I get home to upgrade since I see several users with issues with events with the new version.

        Comment


        • #5
          Originally posted by sesykes71 View Post
          I am away from home at the moment but have ssh command line access to my HS3 Linux system. Can I do the upgrade to .500 from the command line? I have already downloaded the zipped file for the upgrade.

          Thanks
          Steve
          Yes, even though I'm local that is exactly what I did.

          from setup:
          backup z-wave controller
          backup database
          Shutdown HS

          SSH into linux box.
          Tar entire HomeSeer directory structure, allowing complete roll back easily.
          get the update
          extract the update
          reboot

          assuming HS3 is installed in /usr/local/HomeSeer

          Tar the entire directory

          Code:
          CD /usr/local
          sudo tar -zcvf homeseer-backup-before-upgrade.tar.gz  HomeSeer
          Get the update (still in directory /usr/local)

          Code:
          sudo wget http://homeseer.com/updates3/hs3_linux_3_0_0_500.tar.gz
          extract the update file (still in directory /usr/local)

          Code:
          sudo tar -zxvf updates3/hs3_linux_3_0_0_500.tar.gz
          reboot the system

          Code:
          sudu shutdown -r now

          EDIT : I also do a shutdown, tar HomeSeer directory and reboot before I update any plugins, so I can easily roll back if the system gets into a fubar state.

          HS3 SEL running Pro Edition 3.0.0.531 on Ubuntu 18.04, mono 5.20, 656 devices, 209 events.
          Plug-Ins: Chromecast, Device History, EasyTrigger, Ecobee, JowiHue, LutronCaseta, MeiUnifi, PHLocation2, Pushover 3P, SDJ-Health, Sonos, WeatherFlow, weatherXML
          Scripts: SparkMan's Lock Event, 5 of Jon00 scripts.

          Comment


          • #6
            drparker151 While that will work, HS actually includes a script that does the upgrade called updatehs.sh Just run it with the last number in the version, e.g. updatehs.sh 500 and it will download the file, unpack it, and run the installer.

            Good idea to tar the directory first as you suggest!

            Comment


            • #7
              bsobel Thanks. that makes a bit easier and less typing
              HS3 SEL running Pro Edition 3.0.0.531 on Ubuntu 18.04, mono 5.20, 656 devices, 209 events.
              Plug-Ins: Chromecast, Device History, EasyTrigger, Ecobee, JowiHue, LutronCaseta, MeiUnifi, PHLocation2, Pushover 3P, SDJ-Health, Sonos, WeatherFlow, weatherXML
              Scripts: SparkMan's Lock Event, 5 of Jon00 scripts.

              Comment


              • #8
                Originally posted by bsobel View Post
                updatehs.sh 500
                Where do I put that in terminal?

                Comment

                Working...
                X