Nextcloud broke after Update to 22

Hello,

This is my previous post and after Updating to Nextcloud 22 i got exactly the same problem. I already tried to reinstall nextcloud, but i still cannot get it up and running.

My system data:
SQL-Server: mariadb Ver 15.1 Distrib 10.3.29-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
PHP-Version: 7.3 with Zend Engine v3.3.29
Webserver: nginx/1.14.2
All data is proxied through CloudFlare

My reinstall procedure: I downloaded the latest version 22.2.0 and unzipped it in the webserver folder. I only copied my old config.php. My data directory is seperated from the web folder as you can see in the config. Potential error sources accordingly are: something with or in my database, something in my data directory, or on webserver level

<?php
$CONFIG = array (
  'instanceid' => '#########',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'passwordsalt' => '#########',
  'secret' => '#########',
  'trusted_domains' =>
  array (
    0 => 'cloud.singulativ.de',
  ),
  'datadirectory' => '/srv/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '22.2.0.2',
  'overwrite.cli.url' => 'https://cloud.singulativ.de/',
  'htaccess.RewriteBase' => '/',
  'debug' => true,
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '########',
  'installed' => true,
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'info',
  'mail_domain' => '########',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '################',
  'mail_smtpport' => '465',
  'mail_smtpname' => '##########',
  'mail_smtppassword' => '########',
  'loglevel' => 0,
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'skeletondirectory' => '',
  'theme' => '',
  'app_install_overwrite' =>
  array (
    0 => 'unsplash',
  ),
  'overwriteprotocol' => 'https',
  'updater.secret' => '###########',
  'password_policy.enabled' => false,
  'default_phone_region' => 'DE',
  'default_language' => 'de',
  'default_locale' => 'de_DE',
);

Hi @Singulativ

How exactly did you set up your Nextcloud? Did you use a specific tutorial? Since a lot of people here use Nextcloud 21 and 22 on a daily basis without a similiar issue, it can’t be a general problem.

If I had to guess, I would say that it has something to do with the web server and / or reverse proxy configuration. But I could be wrong. The config.php in your previous post looks ok as far as I can tell. If you want someone here to be able to help you, please describe your environment in detail and fill out the entire issue template with as many details as possible.

Thanks, I updated my question.

I’m not an expert when it comes to Proxys and Cloudflare. But that is where I would first look for the cause of the issue.