OJS3 metrics issue after upgrade

Hi @asmecher

We have upgraded the website from OJS version 2.4.6.0 to 3.1.1.4, and subsequently to later versions, as outlined below.

2.4.6.0>>3.1.1.4>>3.1.2.4>>3.2.1.5>>3.3.0.11>>3.3.0.21

After the upgrade from 2.4.6.0>>3.1.1.4, we are facing an issue with article metrics. The metrics data available in version 2.4.6.0 is still visible; however, metrics for the upgraded versions are not being counted or updated. For all published articles, the system is showing 0 article views and 0 PDF downloads.

Observations:

  • In OJS 2.4.6.0, metrics are shown as ojs::legacycounterplugin.

  • After upgradation some metrics shows ojs::counter, but the counts are still not increasing.

  • This issue affects all published articles.

We kindly request you to review this issue and suggest the possible cause and resolution for why the metrics are not updating after the upgrade.

Note: The OJS instance was upgraded from 2.4.6.0>>3.1.1.4 in 2018. The last metrics were recorded in the database at the time of that upgrade. After the subsequent upgrades, the metrics have not been counted or recorded.

In the Metrics table of the database, some records have metric_type as ojs::legacycounterplugin, while others show ojs::counter.