I tried to use the powershell script, but it throws errors
PS C:\WINDOWS\system32> cd C:\openHAB2
PS C:\openHAB2> . .\runtime\bin\update.ps1
PS C:\openHAB2> Update-openHAB -OHVersion 2.2.0
Checking the specified openHAB directory…
Checking whether a service exists…
Deleting the service…
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 0
PSComputerName :
Checking whether openHAB is running…
Backup script starting…
Making a backup in ‘.\backups’ …
Checking the specified openHAB directory…
Using C:\openHAB2\conf as conf folder
Using C:\openHAB2\userdata as userdata folder
Using C:\openHAB2\backups as backups folder
Copying userdata and conf folder contents to temp directory
Backup created at C:\openHAB2\backups\openhab2-backup-201712211531.zip
Backup script finished.
Downloading the openHAB 2.2.0 distribution…
Downloaded 67388K of 67388K
Finished Download
New Update.ps1 found. Using that…
Checking the specified openHAB directory…
Checking whether a service exists…
Checking whether openHAB is running…
Downloading the openHAB 2.2.0 distribution…
Downloaded 67388K of 67388K
Finished Download
Extracting the archive to C:\WINDOWS\TEMP\openhab\openhab-2.2.0…
Copying userdata files to new install without overwriting existing ones…
Found an openHAB addons file, replacing with new version…
New-Object : Ausnahme beim Aufrufen von “.ctor” mit 2 Argument(en): “Ein Teil des Pfades
“C:\WINDOWS\system32\addons\openhab-addons-2.2.0.kar” konnte nicht gefunden werden.”
In C:\Users\OpenHAB\AppData\Local\Temp\openhab\update.ps1:18 Zeichen:21
- … getStream = New-Object -TypeName System.IO.FileStream -ArgumentList $ …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (
[New-Object], MethodInvocationException
- FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
- CategoryInfo : InvalidOperation: (
Downloaded 3K of 141759KAusnahme beim Aufrufen von “Write” mit 3 Argument(en): “Auf eine geschlossene Datei kann nicht zugegriffen werden.”
In C:\Users\OpenHAB\AppData\Local\Temp\openhab\update.ps1:26 Zeichen:9
-
$targetStream.Write($buffer, 0, $count)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (
[], MethodInvocationException
- FullyQualifiedErrorId : ObjectDisposedException
- CategoryInfo : NotSpecified: (
Downloaded 13K of 141759KAusnahme beim Aufrufen von “Write” mit 3 Argument(en): “Auf eine geschlossene Datei kann nicht zugegriffen werden.”
In C:\Users\OpenHAB\AppData\Local\Temp\openhab\update.ps1:26 Zeichen:9
-
$targetStream.Write($buffer, 0, $count)
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (
[], MethodInvocationException
- FullyQualifiedErrorId : ObjectDisposedException
- CategoryInfo : NotSpecified: (