blue screen after installing nextcloud

The Basics

  • Nextcloud Server version: 29:
  • Operating system and version Ubuntu 24.04:
  • Web server and version Apache 2.4.25):
  • PHP version e.g, 8.3:
  • Is this the first time you’ve seen this error? (Yes):
  • When did this problem seem to first start?
  • Installation method Archive, etc.)
  • Are you using Cloudflare, mod_security, or similar? (Yes)

Summary of the issue you are facing:

blue screen after installing nextcloud

Nextcloud

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear

Web server / Reverse Proxy

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'oc1vfh0ebg75',
  'passwordsalt' => 'xxxx',
  'secret' => 'yyyy',
  'trusted_domains' => 
  array (
    0 => 'corp.osonmall.com',
  ),
  'datadirectory' => '/var/www/osonmall_com/data/www/osonmall.com/corp/data',
  'dbtype' => 'mysql',
  'version' => '29.0.14.1',
  'overwrite.cli.url' => 'https://corp.osonmall.com',
  'dbname' => 'corp-omall',
  'dbhost' => 'localhost',
  'dbport' => '3306',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'corp-omall',
  'dbpassword' => 'yyyy',
  'installed' => true,
  'debug' => false,
  'hide_login_form' => false,
);