Comments (6)
Hi, try this #43.
from install.sh.
Probably duplicate of #34 and fixed by #40.
from install.sh.
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.
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.
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.
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)
- Override current version / force update after faulty tag? HOT 6
- 4.0 upgrade never "finishes" HOT 2
- 4.1(.0) shows perpetual update to 4.1.0 HOT 1
- rocketchatctl installs mongodb v4.0.27 instead of 4.2 or higher HOT 1
- Upgrade to 4.2.0 (behind proxy) throws errors
- Attempt to use jq without making sure it is installed HOT 1
- Upgrade to 4.5.0 fails HOT 2
- Upgrade from 4.3 to 4.4 fails (behind proxy)
- rocketchatctl install should fail when latest info cannot be fetched
- rocketchatctl install --mongo-version ignored HOT 1
- update wrong check_node_major_version HOT 2
- run: command not found HOT 5
- Meteor requires Node v14.0.0 or later. HOT 1
- Installing with MongoDB 6.0.0 causes error for "mongo" vs "mongosh" command
- Can't get the Pre-release version when use --version command HOT 1
- cannot update from 5.1.4 to 5.2.0 using rocketchatctl update HOT 42
- Change the PORT number rocketchat.service parsing
- Whole repository outdated HOT 2
- Update with rocketchatclt failed HOT 2
- rocketchatctl should support Debian version 11 but doesn't HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from install.sh.