RocketChat 6.11.1 prunes messages to the previous month
Description
My original setting was to delete messages from 3 years ago, but today some users reported that they only saw messages from the previous month. What happened? Server Setup Information
Version of Rocket.Chat Server:
Operating System: Ubuntu 20.04
Deployment Method: snap
Number of Running Instances: 1
DB Replicaset Oplog: 304
NodeJS Version: v14.21.2
MongoDB Version: 5.0.15
Proxy: caddy
Firewalls involved:
Any additional Information
But just see previous month message. 圖片 圖片1282×332 21.5 KB
My server is at least 2 years old
It's click say error.
I got this error
The link can't found any file.
Same happened to us, maybe related https://github.com/RocketChat/Rocket.Chat/pull/32425?
I don't know if this problem affects it, but it is true that my historical records only have the last one month, but I set to clear the records from 3 years ago. I don't know what happened.
What do your logs say please?
The link can't found any file.
No idea why this is relevant.
https://github.com/RocketChat/Rocket.Chat/issues/33010 <- still not implemented in 6.11.1 maybe?
https://github.com/RocketChat/Rocket.Chat/issues/33010 <- still not implemented in 6.11.1 maybe?
I think you are correct.
#33010 <- still not implemented in 6.11.1 maybe?
I think you are correct.
I think 6.11.1 has this problem.
same behaviour here after upgrading from 6.6 to 6.11.1. All direct and group messages were pruned.
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed.
Same problem here. Is the issue already solved?
Same problem here. Is the issue already solved?
Without you filling out your server details no one can tell....
We have no idea which version you are using.
You should check the releases pages to see if this issue mentioned.
Sorry
Same problem here. Is the issue already solved?
Without you filling out your server details no one can tell....
We have no idea which version you are using.
You should check the releases pages to see if this issue mentioned.
We use the latest version (6.12.1) under a community licence. The issue is not addressed in the release notes.
There was indeed a race condition issue in 6.11.1 (and other versions) that would prune messages when updating from an older version. It happened because the retention policy would default to 30 days due to the race condition and delete all messages older than 30 days.
The release notes of 6.11.1 were updated to mention it: https://github.com/RocketChat/Rocket.Chat/releases/tag/6.11.1. This issue was fixed in 6.13.0 (https://github.com/RocketChat/Rocket.Chat/pull/33237) and backported to 6.12.1, 6.11.3, and 6.10.6.
It seems to me that it could be the same bug that ended up affecting your workspace
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed.
This issue was closed because it has been inactive for 14 days since being marked as stale.