Page MenuHomeMiraheze

Wikis are partially created if MatomoAnalytics::addSite fails
Closed, ResolvedPublic

Description

During the https://meta.miraheze.org/wiki/Special:IncidentReports/31 outage, someone tried to create a wiki while Matomo was down. However, since the addSite method didn't work, CreateWiki completely stopped working and we had to manually execute scripts (give permissions, create main page) to fix the partially installed wiki. On top of that, the log entry in the farmer log was impossible to insert.

Is it possible to avoid fatal errors if adding the wiki fails? Or at least execute that step at the very end, thus if the wiki was not successfully added to Matomo, the rest of the CreateWiki steps are still performed correctly?

Event Timeline

John added a subscriber: John.

Not a CreateWiki issue - it’s MatomoAnalytics

John claimed this task.
Reception123 raised the priority of this task from Low to Normal.