Since yesterday, my archiving cronjob sends me errors over email:
- Four times, starting at 05:00u about every hour: Base table or view not found: 1146 Table ‘deb45029n2_piwi1.piwi_archive_invalidations’ doesn’t exist
- Followed by an email that started at 09:16 until 16u and then again the next day: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘log_visit.config_director’ in ‘field list’ - in plugin DevicePlugins
Before logging in to see what’s going on, Matomo told me the database needed an upgrade. This looked normal.
After logging in though, the interface shows:
Note I did not upgrade Matomo by hand. It updates automatically.
I found some issues related to missing columns on GitHub but they’re all not very recent. Any idea what’s going on and how I can fix this? And whether data is missing?
Database as reported by Matomo’s System Check: 10.4.15-MariaDB-log-cll-lve.
After posting this issue I did notice the instructions to downgrade mention the column that’s missing (not sure how that fits in yet though):