I installed Matomo on Plesk (Ubuntu 20.04). It looks all fine, but as I added all sites, tested visits, I want now also to delete those test visits not not mess with real visits, I run:
sudo su - cd /var/www/vhosts/mydomain.com/matomo.mydomain.com /opt/plesk/php/7.4/bin/php ./console core:delete-logs-data --dates=2021-04-10,2021-04-17
I get message in CLI that xxx visits are deleted (number is equal as appear on Dashboard). However, on dashboard are still all old data (???).
I run command againa and I have that 0 visits is deleted (logical).
Whats wrong what I’m doing?