i have been a openhab user for many years and one thing that has always bothered me is the way of upgrading.
I have seen in Openhab 2.0 that bindings can be installed etc but still there is no way of easy upgrading any outdated stuff.
Can someone please explain me after hundreds of releases that nobody has implemented this yet ?
I believe that adding a function like this would allready help allot of people at least getting the correct version and it would make the program more user friendly.
So on an apt-get Linux install upgrading involves:
sudo apt-get update; sudo apt-get upgrade
For a manual install, upgrading involves unzipping the new version over the old version.
Are you asking for a way to upgrade without having to download a zip file yourself?
Because no one has taken up the task to implement it and the existing process for upgrading is so simple already it has never bubbled up the list of priorities.
If there isn’t one already, you can file an enhancement issue on github.
@wolf_from_the_north There even already is a PR for it - so please help defining, testing & improving it and always remember that openHAB is a community effort. Waiting for stuff to magically appear is usually the worst option
As my installation for example runs on a synology server a button to automaticly upgrade would be awsome.
I know this is a community driven solution and i sure do my best to to inform / improve with the skills i own.
I have been using openhab for years and it looked strange to me that a manual action is needed to be able to perform a update.
Would be awsome if that PR was granted someday.
I assume seeing that binding install is there for all type of Os i believe its possible to have some automated script that does the updating.
Other programs running on the syno os do it perfectly trough the web front.
If any testing needed you can offcours count me in.
Hi,
Are we not talking about two different things? I think the first request were for upgrading “bindings”, so the add-ons in general and the response is to upgrade the openHAB platform.
I may be wrong or is the PR include both upgrade mecanisms ?
Regards
Good to know. I thought I had done that before like that but I must be misremembering. It happens more and more frequently these days. Must be getting old.
Hi, installed some times ago OH2 on small PC (remotely access), running perfectly, with chocolatery, Karaf and a lot of environment that I really do not know.
Now I just try to enter the openhabian config in order to update to the latest version so I type : sudo openhabian-config. There the system ask me for a password, I’ve seen that it was habopen. There I get an error in return, see printscreen. Help!
WINDOWS UPGRADE
Depending on what version you are upgrading from, be careful when following the Windows upgrade instructions make sure you keep your logging 42j file as many have had problems with logging disappearing after performing the in-place upgrade according to the linked above instructions.
Hi @chris669, I’m assuming you’re using 2.2.0? Looking at the error you received, the powershell script isn’t working because Windows is set to block the execution of scripts.
Try using
Set-ExecutionPolicy Bypass
before running the commands again. Be sure to make a backup of the folder first!