Pageviews are not updating in the Dashboard

I installed the Piwik code on a new website. In the Dashboard the visits are updating but the page views are not. There are hundreds of new entries in the piwik_log_action table but only 55 pageviews are shown in the Dashborad. The pagevies have not increased at all in the last 6 hours. I do not know how troubleshoot this issue. I have found that the pageviews will update if I select the date range and “apply” the date again.

setup the automatic archiver maybe? How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo