matomo-org/matomo

Wrong amount of Users / Websites in Diagnostic > Database Usage > General Information

Open

#18,189 opened on Oct 20, 2021

View on GitHub
 (6 comments) (0 reactions) (0 assignees)PHP (2,847 forks)batch import
BugHelp wanted

Repository metrics

Stars
 (21,513 stars)
PR merge metrics
 (Avg merge 8d 11h) (106 merged PRs in 30d)

Description

After upgrading from 3* to 4*, the wrong number of users and websites is displayed in Diagnostics > Database Usage > General Information.

Displayed information General Information

36 Users
51 websites

Real information General Information

39 users
53 websites

Table statistics.piwik_user: SELECT COUNT(*) FROM statistics.piwik_user = 39

Table statistics.piwik_site SELECT COUNT(*) FROM statistics.piwik_site = 53

Any advices how to correct this?

Thanx.

Contributor guide