Black Screen Issue When Accessing Nextcloud Web Interface

Hi everyone,

Black screen appears whenever I try to access my Nextcloud web interface. The login page loads fine, but after logging in, the screen stays blank, and none of the interface elements load. I have tried using different browsers, clearing the cache, and checking server logs, but I can’t pinpoint the SCREENblack issue.

Iam running Nextcloud version 25.0.8 on a Ubuntu 22.04 server with Apache and MySQL, and this started happening after I updated the system packages and upgraded to PHP 8.1.

Has anyone faced this issue or knows how to resolve it? Any help would be greatly appreciated. Thank you!

NC 25 supports (and recommend) PHP 8.1. I suggest the problem might be due to an app. Yous should try to start checking with a basic occ command. If there is a crash from an app at the start, you will know immediately. If this is the case, you will need to disable the app manually (move it out from its app-x folder). If not, you could disable all external apps and see if your interface is then accessible.

This often happens if you are missing some php modules. This should be more or less obvious from the error logs (list of requirements Installation on Linux — Nextcloud latest Administration Manual latest documentation)