Troubles running the OpenHAB update in Windows Powershell:
What I did:
C:\ProgramData\OpenHAB2> Set-ExecutionPolicy Unrestricted
C:\ProgramData\OpenHAB2> …\runtime\bin\update.ps1 Update-openHAB -OHVersion 2.5.12
…\runtime\bin\update : The term ‘…\runtime\bin\update’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
- …\runtime\bin\update Update 2.5.12
+ CategoryInfo : ObjectNotFound: (..\runtime\bin\update:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
If I change the directory to C:\ProgramData\OpenHAB2\runtime\bin
and run the bat file like this
it seam to run but does nothing. No error no nothing.
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\ProgramData\OpenHAB2\runtime\bin\update.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is “D”): R
So I do something wrong or miss something and does not see it. Can anybody see my blind spot?
Thank you for help.