Comments (13)
You are right i will push an update to fix it. Thanks for the report
from rport-pairing.
Another issue is when tacoscript is installed, when updating:
* Downloading https://downloads.openrport.io/rport/stable/latest.php?filter=Windows_x86_64.msi>=1.0.1.
* Download finished and stored to C:\Windows\temp\rport_stable_Windows_x86_64.msi .
* Migrating to MSI installation
* Scripts are already configured. Not changing.
* Tacoscript already installed to C:\Program Files\tacoscript\bin\tacoscript.exe
#
# -------------!! ERROR !!-------------
#
# Installation or updare of rport finished with errors.
#
Error in line 934
Exception calling ".ctor" with "3" argument(s): "End of Central Directory record could not be found."
Seem the URL in Install-Tacoupdate
isn't managed yet.
from rport-pairing.
Found the issue it seems. In the downloaded PS script the client URL from rport.io is still used which provides an msi file. It gets saved as a zip and then the Expand-Archive borks when trying to extract.
from rport-pairing.
Yep, can confirm download URL is not updated:
if ($v)
{
# Set a specific version for the download url
$url = "https://github.com/cloudradar-monitoring/rport/releases/download/$( $v )/rport_$( $v )_Windows_x86_64.zip"
Write-Output "* Downloading $( $url ) ."
}
else
{
$url = "https://downloads.rport.io/rport/$( $release )/?arch=Windows_x86_64>=$currentVersion"
}
I saw URL has been updated in functions.ps1
, maybe the latest version is not deployed ?
from rport-pairing.
The update is coming for Windows. I created the msi package but not signed yet. I will update you when the windows installer is ready. Meanwhile you can use manual install. The last release of openrport includes msi and zip for windows.
from rport-pairing.
The pairing has been updated and now support windows installer. I ll go an close the issue, feel free to reopen it if you get any more issue.
Thanks
from rport-pairing.
Thanks!
from rport-pairing.
I think there is a missing comma at line 19.
At C:\Windows\TEMP\rport-update.ps1:19 char:15
+ [Switch]$r
+ ~
Missing ')' in function parameter list.
At C:\Windows\TEMP\rport-update.ps1:22 char:1
+ )
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingEndParenthesisInFunctionParameterList
from rport-pairing.
similar issue with windows upgrade script. Script previously worked with rport.io url.
script contents:
cd $env:temp [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $url="https://pairing.openrport.io/update" Invoke-WebRequest -Uri $url -OutFile "rport-update.ps1" powershell -ExecutionPolicy Bypass -File .\rport-update.ps1 rm .\rport-update.ps1 -Force
output:
- Downloading https://downloads.openrport.io/rport/stable/latest.php?filter=Windows_x86_64.msi>=0.9.12.
- Download finished and stored to C:\Windows\temp\rport_stable_Windows_x86_64.msi .
- Migrating to MSI installation
- Scripts are already configured. Not changing.
- Tacoscript already installed to C:\Program Files\tacoscript\bin\tacoscript.exe
-------------!! ERROR !!-------------
Installation or updare of rport finished with errors.
Error in line 933
Exception calling ".ctor" with "3" argument(s): "End of Central Directory record could not be found."
Try the following to investigate:
-
sc query rport
-
open C:\Program Files\rport\rport.log
-
READ THE DOCS on https://kb.openrport.io
-
Request support on https://github.com/openrport/rport-pairing/discussions/categories/help-needed
from rport-pairing.
I am having the same issue as @gusman21
I have tracked the issue to the tacoupdate.zip and tacoinstall.zip archives being empty when downloaded.
This throws an error when trying to extract.
Current workarrount is to run the powershell script with -m to not install/update tacoscript.
cd $env:temp
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$url="https://pairing.openrport.io/update"
Invoke-WebRequest -Uri $url -OutFile "rport-update.ps1"
powershell -ExecutionPolicy Bypass -File .\rport-update.ps1 -m
rm .\rport-update.ps1 -Force
from rport-pairing.
Current workarrount is to run the powershell script with -m to not install/update tacoscript.
Tried the -m and got the below.
Downloading https://downloads.openrport.io/rport/stable/latest.php?filter=Windows_x86_64.msi>=0.9.12.
* Download finished and stored to C:\Windows\temp\rport_stable_Windows_x86_64.msi .
* Migrating to MSI installation
* Scripts are already configured. Not changing.
* Monitoring section already present in configuration file.
* Monitoring already enabled.
* Looking for script interpreters.
* 1 script interpreters found.
: powershell7 already present in configuration.
: Getting list of Network adapters with 'Get-NetIPAddress' failed. Notwork monitoring not activated.
* File reception has been disabled.
* Watchdog Integration already present in configuration file.
[SC] ChangeServiceConfig SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
#
# -------------!! ERROR !!-------------
#
# Installation or updare of rport finished with errors.
#
Error in line 1070
Cannot find path 'C:\windows\temp\rport-update\rport.exe' because it does not exist.
from rport-pairing.
Current workarrount is to run the powershell script with -m to not install/update tacoscript.
Tried the -m and got the below.
seems that error was only on my first alphabetical client which was windows 7. windows 10 clients look good. thanks for the -m.
from rport-pairing.
I will push an update in the script soon to solved this issue.
Thanks for reporting it.
from rport-pairing.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rport-pairing.