Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

wget latest pull development version

Open greskwerk opened this issue 3 weeks ago • 4 comments

Description:

wget --content-disposition https://releases.rocket.chat/latest/download pulls rocket.chat-9.1.0-develop.tgz

Expected behavior:

Should download rocket.chat-9.0.0 at the moment

Actual behavior:

Downloads rocket.chat-9.1.0-develop.tgz

greskwerk avatar Nov 11 '26 07:11 greskwerk

Hi @greskwerk

I'd like to work on this issue and investigate the root cause of the incorrect version being served by the /latest/download endpoint.

I'm currently exploring the release download flow to understand why the development build (9.1.0-develop) is being served instead of the stable release (9.0.0).

Could you please assign this issue to me so I can work on a fix and submit a PR?

Thanks

aditya25bcy10173-a11y avatar Nov 11 '26 14:11 aditya25bcy10173-a11y

@greskwerk I'd like to work on this issue ?

DRafi2006 avatar Nov 12 '26 08:11 DRafi2006

Sorry .. I am not the project owner and cannot assign people to work upon this ticket. Would be happy to see this problem fixed, but as always free software does not mean everybody is jumping to help immediately. We can hope or try to fix the issue by ourself. Any pointer how to generate a valid tar-Ball by myself would be great also.

greskwerk avatar Nov 12 '26 12:11 greskwerk

Inconsistencies with Rocket.Chat download URLs have been a recurring issue for a long time. This is not an isolated incident.

I have reported a similar problem in a previous GitHub issue: https://github.com/RocketChat/Rocket.Chat/issues/31547

However, these problems continue to occur, and the reliability of the download URLs remains a concern.

I have encountered multiple cases where the latest download URL returned an older version than expected, even though I explicitly requested the latest release.

As a result, I can no longer trust the download URLs without manually verifying their actual destinations and filenames.

To avoid accidentally installing an unintended version, I always open the following three URLs in a browser first and check the actual filename being served before downloading the archive from the console. I cancel the download in my browser as soon as I have verified the filename.

  • https://releases.rocket.chat/latest/download
  • https://releases.rocket.chat/[version number]/download
  • https://cdn-download.rocket.chat/build/rocket.chat-[version number].tgz

For this particular issue, I obtained the correct 9.0.0 archive using the following URL:

https://cdn-download.rocket.chat/build/rocket.chat-9.0.0.tgz

Administrators should not have to manually verify download URLs every time they update Rocket.Chat.

A URL containing latest should consistently provide the latest stable release, and a version-specific URL should provide exactly the requested version. Anything else makes the official update process unreliable.

This is not merely an inconvenience. Installing an unintended development build or an outdated release in a production environment can cause serious operational problems.

I strongly urge the Rocket.Chat team to take ownership of this issue, ensure that it is addressed by the team responsible for release distribution, and provide a permanent solution rather than leaving administrators to work around these recurring problems themselves.

ymch avatar Nov 14 '26 07:11 ymch