Hello Nextclouders, this is my first post in the community forum.
Long story short, I accidentally deleted the Activity table (or tables? I do not even remember if they were one or two) with PhPMyAdmin. I do not know how to create a new one and which structure give to it. I am using MariaDB.
Hi Michalng and thanks for your answer.
No, I am using Nextcloud 13.07.
How can I uninstall the activity app? In my browser admin interface I can just disable it (already tried to disable and renable, but it does not work). Should I just
Hi,
unfortunately uninstall and reinstall the activity app did not work (since it did not recreate oc_activity_table. Here are my logs:
Error while running background job (Doctrine\DBAL\Exception\TableNotFoundException): An exception occurred while executing 'SELECTamq_affecteduser, MIN(amq_latest_send) ASamq_trigger_timeFROMoc_activity_mqWHEREamq_latest_send< ? GROUP BYamq_affecteduserORDER BYamq_trigger_timeASC LIMIT 500' with params [1542361501]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'owncloud.oc_activity_mq' doesn't exist
How can I create new empty table for the activity app? Can somebody help me with this, please?
Same here - I had to drop the oc_activity table as it was corrupted and prevented MariaDB to start.
Can someone share the recreate query from a Nextcloud 22 DB backup?