Can't upload files larger then 10mb and can't create folders

Nextcloud version (eg, 20.0.5): 22.2.3
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11 (bullseye) on Raspberry Pi 4
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.51
PHP version (eg, 7.4): 7.4.27

The issue you are facing: I can’t upload files over 10 mb and also can’t create any folders. WebUI and Desktop Client (Windows/macOS) show the same problems.
I’ve also checked the forum and google for countless hours, trying every possible solution and nothing helped yet.

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

Steps to replicate it (folder):

  1. Try to create a folder
  2. Get hit with “Der Ordner konnte nicht erstellt werden “test””

Steps to replicate it (file with client):

  1. Put something in the nextcloud folder
  2. See "Server replied “403 FORBIDDEN” to “MKCOL https://…” in the event log

Steps to replicate it (file with webUI)

  1. Try to upload something
  2. Get hit with “Upload cancelled”

The output of your Nextcloud log in Admin > Logging:

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

$CONFIG = array (
  'instanceid' => 'rm',
  'passwordsalt' => 'rm',
  'secret' => 'rm',
  'trusted_domains' => 
  array (
    0 => 'server',
    1 => '',
    2 => '',
    3 => '',
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://server/nextcloud',
  'dbname' => 'nextclouddb',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'rm',
  'dbpassword' => 'rm',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'default_phone_region' => 'DE',
  '' => 'stable',
  'updater.secret' => 'rm',

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

Because of your last line in pastbin you can test:

sudo -u www-data php /var/www/nextcloud/occ maintenance:repair

source: Problems on first administrator login after fresh setup · Issue #29980 · nextcloud/server · GitHub

Hey, thank you for trying to help me.

I’ve actually did that already earlier, when I was fighting through posts.
I just tried again, it didn’t fix the problem.