I was using Matomo for Wordpress for almost a year, last upgrade broke archiving. I was waiting for the patch, but it did not come. I got annoyed and started looking in forums and else - posted this topic:
Did not get any responce, scrapped all and installed Matomo on premises last night - works now ok, but all the old data is in the WP database.