Workspace statistics in v7.1+

Description

From server v7.1 admin workspace stopped counting system statistics.
Counting of user messages, users online, ver. of RC and database ver., size of uploads - freezed.

  1. For clear v7.1 install all values are zeroes and never changes.
  2. If RC upgraded from v7.0.7 to v7.1 - workspace has values of that ver. and they remain so forever.
  3. If RC upgraded from 7.1 to 7.2, value stays 7.1.
  4. Database upgrade (mongo) which RC correctly understands on backend (through logs) doesnt show on workspace, the value of ver. stays previous (5.0 to 6.0 for ex.).

I have localhost instance of server for periodical testing purposes (db upgrades, new ver. bugs checking etc.). before it deploys on working machine. It has no registration, skipped by OVERWRITE_SETTING_Show_Setup_Wizard: completed. Running in docker.

What could be the reason for this behavior?

±------------------------------------------------+
| SERVER RUNNING |
±------------------------------------------------+
| |
| Rocket.Chat Version: 7.2.0 |
| NodeJS Version: 20.18.0 - x64 |
| MongoDB Version: 6.0.13 |
| MongoDB Engine: wiredTiger |
| Platform: linux |
| Process Port: 3000 |
| Site URL: http://***:3000 |
| ReplicaSet OpLog: Enabled |
| Commit Hash: 5c88be659d |
| Commit Branch: HEAD |
| |
±------------------------------------------------+

Server Setup Information

  • Version of Rocket.Chat Server: 7.1
  • Operating System: WSL
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: 6.0
  • Proxy: nginx
  • Firewalls involved:

Any additional Information

To test properly you likely need a working setup.

Yours is a half hack and probably why it won’t work. It needs to be registered & connected to work properly - since v7 an online connection is essentially mandatory.

You can setup a “starter” version for free.

Use a proper domain & reverse proxy and the latest version of code. It’s essentially free.

I have a separate account for exactly that…

So for checking local statistics external connection maybe required now. I see, I see
I’ll reg a separate test account later. I’m also sure the behavior will return to normal, I’ll write if not. Thank you

For a lot of functionality now you need an online connection.

Also note if you find issue with older releases they almost certainly won’t get backported unless it is for security. If there is an issue on 7.1 or 7.2 then the first thing we ask in github is you test on the latest code.

That’s Rocket.Chat policy - I don’t work for them so don’t shoot me!

Make sure you are properly set up to replicate your real instance - it is essentially free so no reason why not.

I always keep one instance fully set up on the latest release for testing for exactly this reason (I have a bit of space on my Proxmox VPS and I also rung a few Vultr/Digital Ocean VPS as well)

This behaviour is observed till 7.3.2 latest and 7.4 rc-1 since 7.1
Previous versions:
6.10.4 on online server with registration is ok without it,
7.0.7 latest which I found to be workable without the registration

Dont need so :grin: I understand… some marketing stuff

That isn’t going to change.

Ive tested RC through online connection. RC cloud knows about workspace now
Behaviour stays the same (pics below)
RC upgraded 6.10.4 → 7.2 → 7.3.2 latest
mongo 5.0 → 6.0
RC running also in Docker but without ssl certs, only http and local net IP 192.168*


I’m not sure that rocket.cat is counted as a user.

So you have one online - admin - and one offline - user1

I don’t see any issue here.

Note I have 3 connected instances, two on Starter and one EE, and all work perfectly on 7.3.2

those values comes from 6.10.4 ver where all works fine
RC has v7.3.2 now, I registered a few more users and activate them, pic below. The values have not changed
And if I’ll mount 6.10.4 back (or 7.0.7 latest where all ok yet) all values will be updated

I’ll try to build latest RC version on working machine later. Good thing there are v.7-s which are ok, so if something goes strange with latest, server will work on 7.0.7 some time.
Now I think RC needs a lot more network requirements for basic statistics collecting. Static external IP with right redirections and https, for example, I dont know
Btw, mongo v. 5, 6 and 7 (with setting the value of FeatureCompatibilityVersion) has no result

It needs to be online, with a proper domain, working proxy, and cloud registration. I almost guarantee that is your issue though I can’t guarantee what your nation state may choose to block.

Note - to operate offline/air gapped you now need a licence.

That has really been the case since v7 was released (they did some stuff at 6.5 but v7 was the big one). Yes they collect more info and more things need a working connection.

https://docs.rocket.chat/docs/rocketchat-release-notes#release-700

A properly set up server will show the right stats. If it doesn’t you need to check your setup, particularly your connection. Check your logs.

If you don’t like the conditions then you can take the open source code, strip out what you don’t like, and build your own version.

1 Like