So my config is app.yml, I did the following:
./launcher enter app
then from the commandline:
rails c
and there:
Discourse.cache.clear
which resulted in:
root@appserver-app:/var/www/discourse# rails c
[1] pry(main)> Discourse.cache.clear
=> ["_CACHE_:settings_for_theme_6",
"_CACHE_:onebox__https://www.youtube.com/",
"_CACHE_:inline_onebox:https://backstage.slipmat.io/t/first-steps-at-backstage/1150",
"_CACHE_:onebox__https://backstage.slipmat.io/t/",
"_CACHE_:watched-words-regexp:block",
"_CACHE_:staff_tag_names",
"_CACHE_:watched-words-regexp:require_approval",
"_CACHE_:custom_emojis:v9:plugin-emoji",
"_CACHE_:settings_for_theme_7",
"_CACHE_:onebox__https://slipmat.io/djuninen/2019-5-test-event/",
"_CACHE_:settings_for_theme_3",
"_CACHE_:watched-words-regexp:flag"]
[2] pry(main)>
..but the stats are still different on admin dashboard and on groups page. They just show different number of users. See attached screenshots.
Admin dashboard:
Groups page:

