No data while trying to filter dashboard by segment

Hi here,

I’ve just migrated a whole wordpress website with matomo installed from a custom server to an OVH hosting, and I got a lot of errors, successfully fixed except one.

When I’m on the dashboard, and filtering data using a created segments, I just got no data pulled. A warning message is displayed, says that the report has not been analyzed yet, and after few days nothing moved.

I think it’s a something with the database, because when I moved my data from a db to the new one, all my primary keys dropped, and I had to set it back manually.

Do you guys have any idea ?

Thank

[SOLVED] something went wrong with database, all ok after optimization

Same problem for me! :frowning:

My problem is related to a segment about my campaign with AND conditions, used in: Visitors > Hours

The problem seems to be similar to one reported here:

I’ve seen similar issues after moving Matomo to a new server. Since the primary keys had to be restored manually, I’d first check the database structure and make sure all required indexes are present. It may also be worth running the Matomo archiving process manually to see if the reports start populating again.

I’d check the database and Matomo’s archiving process first. If the migration changed or reset primary keys, there could be relationships between the segment and report data that are no longer matching correctly.

I’d also try running Matomo’s archiving manually and check the logs for any database errors. If the normal reports work but segmented reports stay empty, I’d look more closely at the segment definitions and archived reports.

Since this started after the migration, I’d compare the old and new database structures carefully. I’d also check the rest of the WordPress site after the move, especially any content or media-related tools such as Roy Editors, to make sure everything transferred properly.

Well after some investigations, it seems to be an index retrieval problem while moving from a serveur to another. For an unknown reason, all index weren’t created on the new server.