@diosmosis opened this Pull Request on April 20th 2020 Member

Fix #15822

@Findus23 commented on April 20th 2020 Member

Do I understand it correctly that the update script does something similar to this?

sudo -u www-data php7.3 console core:purge-old-archive-data all

Because that took over 10 minutes with my small DB and fast SSD, which means the update will time out for nearly all Matomo users (unless they do it from the cli, which nearly no one does).

@diosmosis commented on April 20th 2020 Member

@Findus23 The update adds the dates to the list that is used during scheduled task execution. So the next scheduled task run will run the equivalent of that command (though I think the table optimization is in it's own task).

@tsteur commented on April 20th 2020 Member

@diosmosis I reckon it be enough to add this in the update script only for the months since march 2020 since that's when it was an issue?

@diosmosis commented on April 20th 2020 Member

@tsteur 👍 will make that change

@diosmosis commented on April 20th 2020 Member

@tsteur updated

This Pull Request was closed on April 21st 2020
Powered by GitHub Issue Mirror