Lately I've got several questions about how to update the SW to the newest release, so I'm writing this post to provide info:
Right now there is no procedure for the SW update, it is needed to reinstall it again.
Anyway there is a way to retain the configuration, unfortunately it is not guaranteed to work 100% especially if you have a quite old version.
The procedure:
1) Go to "Settings" page, scroll down and click the "DownloadConfigFile", a link to a .zip file will appear. Click on the link with right button and "save the link as" in one folder of your PC.
2) Install the new version of the system. To verify that the release has been updated, you can check the version number in the about page.
3) Go to "Settings", scroll down on the "System Configuration Upload" section and click "choose file". Select the file you have previously saved and click "upload and apply". This will bring all the setting back (hopefully).
Note: The wifi setting are not kept, so after the procedure you have to configure it again.
Hope this might help.
Regards,
Angelo
Many thanks, i'll give that a go.
I've got a few MQTT questions, but i'll make a new post...
Correct, for manual installation, you need to remove the "env" folder.
Here the full path "home/pi/env".
If you enter using SSH as "pi" user, this will be enough:
Sudo rm -r env
Ask to myself why I did not include it in the ssh script...
hi all,
trying to do an upgrade / 'over the top' install to get Hydrosys up to date (mainly to have a look at MQTT 😀 ).
I've just rebooted and am on: Release 1.16a according to the About page.
I'm guessing this issue is related to the comments above (https://hydrosys4.wixsite.com/hydrosys4forum/forum/main/comment/5eceb0c8e9bc8900182f585e).
Any advice.
Ideally i wouldn't have to dig out the microSD card inside the cabinet to get at the the Pi !!
Thanks
just a note - make sure to delete the old "install_hydrosys4.sh" script from previous install.
In my case, the "wget" command did not overwrite the file but created a second one with different extension. I unfortunately did not notice that and so I installed the same old version multiple times because I was running the old script file everytime :(
Well, both way are effective. With the SD image you get the SW but also the Raspbian updates that I have tested. With the other method you will have the possibility to setup some parameters during installation. Note that to re-install with the command line, you require to delete the "env" folder before starting the other commands: (Sudo rm -r env). It happened in the past that some updates of Raspbian had impact on the proper functioning of the software, so from this aspect the method with SD image is safer.
Hi Angelo, When you said « it is need to reinstall again » what is the best way to reinstall the software ? Reinstall with full image (Hyrosys4 SD image) or we can use the linux command: wget https://raw.githubusercontent.com/Hydrosys4/Master/master/bash/install_hydrosys4.sh sudo chmod u+x install_hydrosys4.sh sudo ./install_hydrosys4.sh Pierre
thanks for the clarification!