If you have the drawio app enabled on your Nextcloud instance, you might get the 500 error when trying to open your Nextcloud after a recent drawio plugin update.
It is a known issue:
nextcloud-setup logs show the following error:
PHP Fatal error: Declaration of OCP\Migration\IOutput@anonymous::startProgress(int $max = 0, string $description = ''): void must be compatible with OCP\Migration\IOutput::startProgress($max = 0) in /var/lib/nextcloud/store-apps/drawio/lib/AppInfo/Application.php on line 121
As both Nextcloud UI and CLI tools are crashing, the only way to disable drawio is to remove it manually. These commands should help on a SelfPrivacy instance: