-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Crash on startup after upgrade to 0.62.2 #10114
Comments
Nodejs Version is pretty important right now. "dpkg -l | grep nodejs" will give you that information. |
docker run --rm -it library/rocket.chat:0.62.2 node --version (I'm using the official image, added the information above) |
Well then you are out of luck. You have to downgrade your nodejs version. |
Thank you a lot. That means the official Rocket.Chat docker image is broken. I'll file a bug report in that repo. |
@micw the logs you showed does not contains any errors.. how long did you wait for it to start? I've tested the official image and seems it is working. here are the full logs I got (notice Node version):
|
@sampaiodiego The container dies immediately after the log line I copied. Maybe it's an issue with the existing data? As you can see, my installation reads some data while yours reads 0 records. |
hey there, I have a similar issue with docker image version rocket.chat:0.62.2 but not with rocket.chat:0.62.1. I saw that 0.62.1 uses Node v8.9.4 and 0.62.2 uses Node v8.10.0. Before the container crashes I see the following message in syslog: Anyone knows how to further debug this issue? |
@bbrauns I've created a pull request RocketChat/Docker.Official.Image#42 so official docker image will use 8.9.4 too.. in the meantime you can use our own image |
I have the same problem. It repeats over and over again the message Will load cache for users But it does not start at all... Same issue with 0.62.1, only 0.62.0 is starting up on my side, but there i have this issue: |
do you guys have enabled I was able to reproduce the error using official Docker image without oplog enabled. it works fine with oplog enabled though (which is the recommended the setup) |
I have no oplog enabled and run a single node mongodb |
@micw even on single node mongodb setup using replica set is recommended. you may have issues as your rocket.chat grow up |
FWIW, I'm running 0.62.2 dual instance with oplog enabled and latest node lts version (8.10.0) with no issues. |
@sampaiodiego oplog has always been activated:
|
We had a similar problem which seems to have disappeared after downgrading to node 8.9.4. We hat the restart problem on a clean install of version 0.62.1 |
Same problem with installed rocket.chat via snap... I have no idea what can be done to raise the server |
Same here, I wanted to try this out, but it crashes on the first restart, for now I'll pick older docker image, but would really like to see it fixed :) |
As far as I see it, this (#10331) is the issue we need to keep track of, isn't it? Docker files have been downgraded to my knowledge (and will get upgraded once #10331 is done - which is the case when a newer nodejs version is released which fixes the SEGVs). So this issue is redundant, isn't it? If not, please let me know :) Cheers |
@TwizzyDizzy I'm not exactly sure if it's the very same issue. While in #10331 users complain about random segfaults, this issue is about a reproducable crash on startup. |
Mh. Well then I'm just gonna check back here when the newer nodejs version is released. Cheers |
New nodejs-Version has been released. Please give me some feedback whether the issue at hand is still relevant. Otherwise I'm gonna close it in the near future. Cheers |
@rocket-cat close Closing due to lack of feedback. If this is still an issue, please get back to me and I'll consider reopening based on the given information. Cheers |
Description:
I have been trying to upgrade my docker installation from 0.58.4 to 0.62.2. On a direct upgrade, Rocket.Chart crashed shortly after start. So I did a rollback and a step-by-step upgrade from 0.58.4 to 0.59.6 to 0.60.4 to 0.61.2 to 0.62.2.
Up to 0.61.2 all worked and the data was migrated. From 0.61.2 to 0.62.2, the same crash occurs:
Here's the only log:
Server Setup Information:
Steps to Reproduce:
See description
Expected behavior:
Upgrade should succeed
Actual behavior:
Rocket.Chat terminates.
Relevant logs:
See above.
The text was updated successfully, but these errors were encountered: