I’ve set Server Mode back to Production with:
UPDATE setting SET value = "Production" WHERE settingId = '40';
Now it’s working again, but I need to have a look at the logs because I cannot connect a display to the CMS again.
Up to you for troubleshooting.