Giter Site home page Giter Site logo

Comments (6)

santalex avatar santalex commented on September 28, 2024

Hi, try this #43.

from install.sh.

m4z avatar m4z commented on September 28, 2024

Probably duplicate of #34 and fixed by #40.

from install.sh.

franckadil avatar franckadil commented on September 28, 2024

Here we are in 2023, same issue curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz does pull an HTML encoded file instead of the archive.

Rocketchatctl can't find the last version.

from install.sh.

m4z avatar m4z commented on September 28, 2024

What you're describing doesn't have anything to do with this issue, as far as I can tell. The problem you describe is completely different from the problem described above.

Do you even see the error messages from above? How do you go from there to a download / curl problem? If you see the above error, the download doesn't even start.

from install.sh.

franckadil avatar franckadil commented on September 28, 2024

Hi @m4z, I spent few hours troubleshooting, I should have given context since many people will see this, but for me it is again a recurring issue that happens every major upgrade (since 4 years), hence my frustration.

Now let dive to where my statement is coming from:
If you read closely the entire prompt message you'll see: Could not determine if updates available for RocketChat server.

So the the first logical step is to check if Rocket.Chat installation works Manual installation witch doesn't see #74 , download link broken etc...

So when when running the curl to pull the latest file, a file of 21 bytes is pulled looks like the server is having issues:

curl -L https://releases.rocket.chat/latest/download -o /tmp/rocket.chat.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21 100 21 0 0 123 0 --:--:-- --:--:-- --:--:-- 125

The file is only 21 bytes

Running a wget get confirms a RocketChat service issue:

wget https://releases.rocket.chat/latest/download
--2023-07-08 17:10:43-- https://releases.rocket.chat/latest/download
Resolving releases.rocket.chat (releases.rocket.chat)... 35.196.39.85
Connecting to releases.rocket.chat (releases.rocket.chat)|35.196.39.85|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2023-07-08 17:10:43 ERROR 500: Internal Server Error.

Unpacking the archive with tar -xzf /tmp/rocket.chat.tgz -C /tmp results in:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Trying file rocket.chat.tgz displays:

rocket.chat.tgz: HTML document, UTF-8 Unicode text

Now if you spend some time on google researching, you'll find multiple users have mentioned this issue and every time the Rocket.Chat team had either a web service issue or Github repository links broken.

I should also mention that their rocketchatctl is outdated but that's an other story.

from install.sh.

m4z avatar m4z commented on September 28, 2024

Now let dive to where my statement is coming from: If you read closely the entire prompt message you'll see: Could not determine if updates available for RocketChat server.

So the the first logical step is to check if Rocket.Chat installation works Manual installation witch doesn't see #74 , download link broken etc...

I disagree. This repo is about rocketchatctl. What happens during manual install has nothing to do with that. For me the next logical step was to understand and hotfix rocketchatctl so I could propose a fix.

Had I encountered more problems then, both your and my next steps wouldn't have much to do with this issue, they'd be separate issues and should be handled separately to keep good bug hygiene and have concise, easy-to-fix issues.
Also, the error reported in this issue was fatal. There can't be another error after that.
Also also, back when #34 and this issue were reported, the download link wasn't a problem, so your problem definitely doesn't have anything to do with this issue other than the preceding error message might be the same.

I share your frustration about these and other issues, but making issues harder to fix by compounding unrelated issues won't help anybody.

Now if you spend some time on google researching, you'll find multiple users have mentioned this issue and every time the Rocket.Chat team had either a web service issue or Github repository links broken.

Which has nothing to do with this issue. This issue is about a code bug in rocketchatctl.

I should also mention that their rocketchatctl is outdated but that's an other story.

No wonder, since it seems it (silently) fell out of official support a while ago.

from install.sh.

Related Issues (20)

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.