Group folder missing after permission change | Cannot create group | OCC not working

First issue: After updating to NC22 I can no longer create groups on the admin page. The button does not work. Furthermore, OCC tells me Nextcloud is not installed and therefore doesn’t expose the commands to create groups with it. The OCC Web page gives me an internal server error without anything I can find in the docker logs.
Edit: It turns out this particular docker image seems to have two places in which OCC is installed: /usr/src/nextcloud/`` and /var/www/html/. Only the latter works correctly. The webpage and OCC Web still don’t work though.

Second issue: I created a group folder. I set myself and all other administrators to be able to see and edit all folders within. To everyone else, all sub-folders are read only with an exception being made for some users using advanced permissions (“Erweiterte Berechtigungen” in German). I set a sub-folder to not be visible to anone (except admins). Now this folder does not show up for me, an admin.
Edit: I got access to the folder by removing myself from the admin group which meant only the advanced permission of “show everything to my account” was relevant. It looks like group permissions override account permissions.

My environment:

  • Unraid 6.9.2
  • Nextcloud container running NC22
  • also using MariaDB, Redis, OnlyOffice, StunTurn, ClamAV containers

Would’ve loved to provide a log but it’s spammed by this:

[filesystem] Warning: Storage wrapper 'sharepermissions' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.

GET /apps/logreader/poll?lastReqId=zInxAu7VR7U1GQ7Br2Bh
from 172.17.0.1 by REDUCTED at 2021-07-08T09:29:15+00:00

config.php:

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' => 
  array (
    'host' => 'REDUCTED',
    'port' => '6379',
    'password' => 'REDUCTED',
  ),
  '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' => 'REDUCTED',
  'passwordsalt' => 'REDUCTED',
  'secret' => 'm/REDUCTED+mfYRmTApUhjLIBWdSTogyc',
  'trusted_domains' => 
  array (
    0 => 'REDUCTED',
    1 => 'REDUCTED',
    2 => 'REDUCTED',
  ),
  'trusted_proxies' => 
  array (
    0 => 'REDUCTED',
    1 => 'REDUCTED',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '22.0.0.11',
  'overwrite.cli.url' => 'REDUCTED',
  'overwriteprotocol' => 'https',
  'dbname' => 'REDUCTED',
  'dbhost' => 'REDUCTED',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'REDUCTED',
  'dbpassword' => 'REDUCTED',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'metadata',
    1 => 'twofactor_yubikey',
    2 => 'occweb',
    3 => 'w2g2',
    4 => 'files_lock',
    5 => 'files_readmemd',
    6 => 'talk_matterbridge',
    7 => 'sharerenamer',
    8 => 'whiteboard',
    9 => 'groupfolders',
    10 => 'files_trackdownloads',
    11 => 'files_linkeditor',
    12 => 'camerarawpreviews',
    13 => 'extract',
    14 => 'previewgenerator',
    15 => 'pdfdraw',
    16 => 'twofactor_nextcloud_notification',
    17 => 'nextbackup',
    18 => 'announcementcenter',
    19 => 'end_to_end_encryption',
    20 => 'files_texteditor',
    21 => 'data_request',
    22 => 'unsplash',
    23 => 'tasks',
    24 => 'quota_warning',
    25 => 'ransomware_protection',
    26 => 'sharingpath',
    27 => 'talk_simple_poll',
    28 => 'sharepermissions',
  ),
  'versions_retention_obligation' => 'auto, 365',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'REDUCTED',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'REDUCTED',
  'mail_smtppassword' => 'REDUCTED',
  'loglevel' => 2,
  'maintenance' => false,
  'auth.bruteforce.protection.enabled' => true,
  'defaultapp' => 'files',
  'log_type' => '2',
  'logfile' => '/var/www/html/nextcloud.log',
  'default_phone_region' => 'DE',
  'theme' => '',
  'allow_local_remote_servers' => true,
  'onlyoffice' => 
  array (
    'verify_peer_off' => true,
  ),
  'updater.secret' => 'REDUCTED',
);