All Pages beside Login Loading Incorrectly

Nextcloud version (eg, 18.0.2): 20.0.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.1):7.4.3

The issue you are facing: On any account, any machine, any browser, I’m getting corrupt looking pages. The login screen appears fine. I’ve restarted Apache as well as the server itself.

This happened after I enabled the external storages app and navigated back to the settings page. Everything was working okay before that

If I go to my overview, there’s this:

  • Last background job execution ran 1 hour ago. Something seems wrong. Check the background job settings.

I changed back to ajax, but there behavior is the same.

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. Login
  2. Navigate to any page

The output of your Nextcloud log in Admin > Logging:
I’m not sure if this is the related error, but it’s the first one

Error: fopen(httpseek://): failed to open stream: "OC\Files\Stream\SeekableHttpStream::stream_open" call failed at /var/www/nextcloud/lib/private/Files/Stream/SeekableHttpStream.php#67

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'x',
  'secret' => 'x',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '10.0.4.113',
    2 => 'domain.com'
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '20.0.2.2',
  'overwrite.cli.url' => 'domain.com',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ncadmin',
  'dbpassword' => 'x',
  'installed' => true,
  'instanceid' => 'x',
  'upgrade.disable-web' => 'true',
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'loglevel' => '2',
  'log.condition' => 
  array (
    'apps' => 
    array (
      0 => 'admin_audit',
    ),
  ),
  'mail_smtpmode' => 'smtp',
  'remember_login_cookie_lifetime' => '28800',
  'log_rotate_size' => '0',
  'trashbin_retention_obligation' => 'auto, 180',
  'versions_retention_obligation' => 'auto, 365',
  'simpleSignUpLink.shown' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.5,
    'dbindex' => 0,
    'password' => 'x',
  ),
  'logtimezone' => 'Etc/UTC',
  'htaccess.RewriteBase' => '/',
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    11 => 'OC\\Preview\\PNG',
    12 => 'OC\\Preview\\JPEG',
    13 => 'OC\\Preview\\GIF',
    14 => 'OC\\Preview\\BMP',
    15 => 'OC\\Preview\\MarkDown',
    16 => 'OC\\Preview\\MP3',
    17 => 'OC\\Preview\\TXT',
    18 => 'OC\\Preview\\Movie',
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
);

The output of your Apache/nginx/system log in /var/log/____:
error.log is empty, access.log is nothing special

Here’s an image of what I’m looking at

Fixed, I disabled theming using OCC which returned things to normal. Since I wanted to keep branding as an option, I re-enabled it (which to no surprise, broke it) and edited some theming settings, refreshed, and it’s working as expected.

Nevermind, the issue returns after sometime with theming enabled. Anyone know of a permanent solution? Version is 1.11.0.