Git Product home page Git Product logo

Comments (13)

alhdo avatar alhdo commented on August 30, 2024 1

You are right i will push an update to fix it. Thanks for the report

from rport-pairing.

HiFiPhile avatar HiFiPhile commented on August 30, 2024 1

Another issue is when tacoscript is installed, when updating:

* Downloading  https://downloads.openrport.io/rport/stable/latest.php?filter=Windows_x86_64.msi&gt=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.

jhd85 avatar jhd85 commented on August 30, 2024

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.

HiFiPhile avatar HiFiPhile commented on August 30, 2024

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&gt=$currentVersion"
}

I saw URL has been updated in functions.ps1, maybe the latest version is not deployed ?

from rport-pairing.

alhdo avatar alhdo commented on August 30, 2024

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.

alhdo avatar alhdo commented on August 30, 2024

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.

jhd85 avatar jhd85 commented on August 30, 2024

Thanks!

from rport-pairing.

HiFiPhile avatar HiFiPhile commented on August 30, 2024

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.

gusman21 avatar gusman21 commented on August 30, 2024

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:

-------------!! 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:

  1. sc query rport

  2. open C:\Program Files\rport\rport.log

  3. READ THE DOCS on https://kb.openrport.io

  4. Request support on https://github.com/openrport/rport-pairing/discussions/categories/help-needed

from rport-pairing.

JamieMcH avatar JamieMcH commented on August 30, 2024

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.

gusman21 avatar gusman21 commented on August 30, 2024

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&gt=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.

gusman21 avatar gusman21 commented on August 30, 2024

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.

alhdo avatar alhdo commented on August 30, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.