mkevenaar / chocolatey-packages

My chocolatey packages
https://mkevenaar.github.io/chocolatey-packages/
Apache License 2.0
42 stars 66 forks source link

(jetbrainstoolbox) update fails with timeout #236

Closed 1EDExg0ffyXfTEqdIUAYNZGnCeajIxMWd2vaQeP closed 1 day ago

1EDExg0ffyXfTEqdIUAYNZGnCeajIxMWd2vaQeP commented 2 months ago

Expected Behavior

Should update without errors

Current Behavior

installation times out

Steps to Reproduce (for bugs)

  1. choco upgrade jetbrainstoolbox

Your Environment

You have jetbrainstoolbox v2.2.3.20090 installed. Version 2.3.0.30876 is available based on your source(s). Progress: Downloading jetbrainstoolbox 2.3.0.30876... 100%

jetbrainstoolbox v2.3.0.30876 [Approved] jetbrainstoolbox package files upgrade completed. Performing other installation steps. The package jetbrainstoolbox wants to run 'chocolateyinstall.ps1'. Note: If you don't run this script, the installation will fail. Note: To confirm automatically next time, use '-y' or consider: choco feature enable -n allowGlobalConfirmation Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded. Hashes match. Hashes match. Installing jetbrainstoolbox... Chocolatey timed out waiting for the command to finish. The timeout specified (or the default value) was '2700' seconds. Perhaps try a higher --execution-timeout? See choco -h for details. The upgrade of jetbrainstoolbox was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\jetbrainstoolbox\tools\chocolateyinstall.ps1'. See log for details. Unsuccessful operation for jetbrainstoolbox. Rollback to previous version (package files only)?([Y]es/[N]o):

Schroedingers-Cat commented 2 months ago

I've seen the same issue happening over the last days.

Also, people on the package site state they are affected: https://community.chocolatey.org/packages/jetbrainstoolbox#discussion

FibreFoX commented 2 months ago

Can confirm this being a big problem.

I've tried executing the downloaded installer "by hand", does install okay, so maybe something inside the installer has changed regarding the "no GUI" mode. Does anyone know how to report this to jetbrains themselves?

mkevenaar commented 2 months ago

I have delisted version 2.3.0.30876.

Bug reports can be posted here: https://youtrack.jetbrains.com/issues/TBX @FibreFoX

FibreFoX commented 2 months ago

Issue seems to be still present with 2.3.1.31116, tried to install it with /S only, but no luck.

Seems to be something in general broken with the installer, the issue gets more attention: https://youtrack.jetbrains.com/issue/TBX-3219/Toolbox-App-silent-install#focus=Comments-27-9775931.0-0

FibreFoX commented 1 month ago

It was confirmed that the installer had this bug: https://youtrack.jetbrains.com/issue/TBX-3219/Toolbox-App-silent-install#focus=Comments-27-9799256.0-0

Looking at the changes, it might get fixed soon with a new version: Screenshot 2024-05-17 093444

FibreFoX commented 4 weeks ago

Current version 2.3.2.31487 of the installer (directly fetched from their website) still contains the bug. I will wait for 2.4.x to check if that fixes something

FibreFoX commented 3 days ago

2.4.0.32175 is finally released, which contains the bugfix. Will report back once its available via chocolatey, to confirm this bug being fixed

FibreFoX commented 2 days ago

Bug still exists, because the new installer switched to new arguments: /s /headless instead of /S /ju (as shown in the description https://youtrack.jetbrains.com/issue/TBX-3219/Toolbox-App-silent-install)