Profile page fields missing and federation scope buttons missing

Nextcloud version (eg, 20.0.5): 21.0.0
Apache version: Apache/2.4.38
PHP version (eg, 7.4): 7.4.15

The issue you are facing:

None of my users on my Nextcloud install are able to change their profile information privacy settings and most of the fields are missing or are disabled. (See example: https://i.imgur.com/QEW6yUX.png). I did not notice it before but I am guessing the issue appeared after the update from Nextcloud 20 to 21.

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

Steps to replicate it:

  1. Login with a brand new account, normal user account or admin account
  2. Click on the profile icon on the top right
  3. Click on settings
  4. View of the issue: https://i.imgur.com/QEW6yUX.png

The output of your Nextcloud log in Admin > Logging: https://pastebin.com/raw/GigqtsjZ

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

$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'HIDDEN',
  'passwordsalt' => 'HIDDEN',
  'secret' => 'HIDDEN',
  'trusted_domains' =>
  array (
    0 => 'CLOUD.EXAMPLE.NL'
  ),
  'datadirectory' => '/mnt/Share',
  'dbtype' => 'mysql',
  'version' => '21.0.0.18',
  'dbname' => 'HIDDEN',
  'dbhost' => 'HIDDEN:3306',
  'dbport' => '3306',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'HIDDEN',
  'dbpassword' => 'HIDDEN',
  'installed' => true,
  'overwrite.cli.url' => 'https://CLOUD.EXAMPLE.NL',
  'maintenance' => false,
);

The output of your Apache/nginx/system log in /var/log/____: https://pastebin.com/raw/gsLwHprH

Thanks,
Daan

After comparing a clean install database of Nextcloud 21 with my own install I noticed there were no major differences. Except in the oc_accounts table where the scope of items were set to null. After settings this back to the string private the privacy buttons appeared once again. Sadly the missing fields still didn’t appear.

Further investigation showed that something was wrong in the oc_appconfig table. After importing the oc_appconfig from a clean install table into my own installation these fields also appeared once again. I’ve not been able to conclude what specific settings caused this issue.