Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tacoscript zip files are empty when updating or installing rport client to 0.9.14 #14

Open
JamieMcH opened this issue Nov 28, 2023 · 0 comments

Comments

@JamieMcH
Copy link

I am receiving and error when updating or installing the rport client on Windows devices using the following scripts:
Updating:

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

Installing:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$url="https://pairing.openrport.io/NJwHtfv"
Invoke-WebRequest -Uri $url -OutFile "rport-installer.ps1"
powershell -ExecutionPolicy Bypass -File .\rport-installer.ps1 -x -r -i

The output from the update script is:

* 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.
* 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."

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

I have traced the issue to the tacoupdate.zip and tacoinstall.zip archives being empty when downloaded.
The empty zip file causes the End of Central Directory record could not be found. error when trying to extract the contents.

My current workaround when updating is to append -m to powershell -ExecutionPolicy Bypass -File .\rport-update.ps1a
and when installing the rport client I don't install tacoscript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant