Useful SQL queries
This page describes SQL queries that are useful for solving several issues. Make sure to always make a backup before applying SQL queries, because in theory SQL queries are able to make changes to your database and break Nextcloud. We do not recommend running these queries if you don't have to and you can reach out to support if you are not sure.
SQL queries for debugging files related issues
Subscriber exclusive content
A Nextcloud Enterprise Subscription provides unlimited access to our knowledge base articles and direct access to Nextcloud engineers.