After upgrade to 28.0.8, 502 bad gateway only in the settings app

Nextcloud version (eg, 28.0.2)
Operating system and version (eg, Unraid 6.12.3)
Apache or nginx version (SWAG latest)
PHP version (linuxserver.io’s version shipped with the docker)

The issue you are facing:
After upgrading to 28.0.2 from 26. something, My instance is running fine, except for the fact that I can’t reach any of the pages under [domain]/settings/[…]. I get a 502 bad gateway error.

It is not my reverse proxy as I tried locally and I get the same problem. I wiped the nginx and certs folders from the nextcloud storage and let nextcloud docker recreate them: same issue

I have no idea where else to look to clear-out the issue. Docker logs show nothing either.

Is this the first time you’ve seen this error? (Y)

Steps to replicate it:

  1. Update your nextcloud instance I guess?

The output of your Nextcloud log in Admin > Logging:

I can’t reach that section of the instance, as it is behind the /settings path that is unreachable!

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

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => '************',
  'passwordsalt' => '************',
  'secret' => '************',
  'trusted_domains' => 
  array (
    0 => '************_LOCAL_IP:444',
    1 => 'cloud.************_DOMAIN_1.com',
    2 => 'cloud.************_DOMAIN_2.com',
    3 => 'documentserver.************.com',
  ),
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\Image',
    1 => 'OC\\Preview\\HEIC',
    2 => 'OC\\Preview\\TIFF',
    3 => 'OC\\Preview\\Movie',
  ),
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'overwrite.cli.url' => 'https://************_LOCAL_IP:444',
  'dbname' => 'nextcloud',
  'dbhost' => '************_DB_IP:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '************',
  'installed' => true,
  'filesystem_check_changes' => 1,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'cloud',
  'mail_domain' => '************.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'mail.************.com',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'cloud@************.com',
  'mail_smtppassword' => '************',
  'mail_smtpsecure' => 'ssl',
  'maintenance' => false,
  'loglevel' => 0,
  'check_data_directory_permissions' => false,
  'memories.exiftool' => '/config/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-musl',
  'memories.vod.path' => '/config/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
  'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/bin/ffprobe',
  'theme' => 'cloud.************.com',
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\APCu',
  'upgrade.disable-web' => true,
);

The output of your Apache/nginx/system log in /var/log/____:

NGINX error log is EMPTY

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

N/A, file does not exist, and can’t reach this section from website