Server broken after upgrade to 18.0.0 Beta2

Nextcloud version (eg, 12.0.2): 18.0.0 Beta2
Operating system and version (eg, Ubuntu 17.04): Debian Buster
Apache or nginx version (eg, Apache 2.4.25): Nginx
PHP version (eg, 7.1): fpm 7.3

The issue you are facing: Server does not work anymore:

Interner Serverfehler

Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an Deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.

Technische Details

  • Entfernte Adresse: ####
  • Anfragekennung: ####

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

Steps to replicate it:

  1. update from 17.0.1 to 18.0.0 Beta2

The output of your Nextcloud log in Admin > Logging:

not available

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

<?php
$CONFIG = array (
  'instanceid' => '####',
  'passwordsalt' => '####',
  'secret' => '####',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '####',
  ),
  'datadirectory' => '/BTRFS/nc_data',
  'dbtype' => 'mysql',
  'version' => '18.0.0.4',
  'overwrite.cli.url' => '####',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '####',
  'installed' => true,
  'activity_expire_days' => 14,
  'auth.bruteforce.protection.enabled' => true,
  'blacklisted_files' => 
  array (
    0 => '.htaccess',
    1 => 'Thumbs.db',
    2 => 'thumbs.db',
  ),
  'cron_log' => true,
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
  ),
  'filesystem_check_changes' => 0,
  'filelocking.enabled' => 'true',
  'htaccess.RewriteBase' => '/',
  'integrity.check.disabled' => false,
  'knowledgebaseenabled' => false,
  'logfile' => '/var/nc_data/nextcloud.log',
  'loglevel' => 2,
  'logtimezone' => 'Europe/Berlin',
  'log_rotate_size' => 104857600,
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'overwriteprotocol' => 'https',
  'preview_max_x' => 1024,
  'preview_max_y' => 768,
  'preview_max_scale_factor' => 1,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'quota_include_external_storage' => false,
  'share_folder' => '/Shares',
  'skeletondirectory' => '',
  'theme' => '',
  'trashbin_retention_obligation' => 'auto, 7',
  'updater.release.channel' => 'beta',
  'app_install_overwrite' => 
  array (
    0 => 'apporder',
    1 => 'occweb',
    2 => 'files_reader',
  ),
  'mail_from_address' => '####',
  'mail_smtpmode' => 'sendmail',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '####,
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
    ),
    1 => 
    array (
      'path' => '/var/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
  ),
  'updater.secret' => ####,
);

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

2019/12/13 00:14:36 [error] 1023#1023: *546621 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Trait 'Psr\Log\LoggerAwareTrait' not found in /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php on line 25" while reading response header from upstream, client: ####, server: ####, request: "PROPFIND /nextcloud/remote.php/dav/files/####/####/Musik HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "####"
2019/12/13 00:18:45 [warn] 11355#11355: low address bits of 192.168.178.79/24 are meaningless in /etc/nginx/nginx.conf:25
2019/12/13 00:18:46 [error] 11358#11358: send() failed (111: Connection refused) while resolving, resolver: 192.168.178.79:53
2019/12/13 00:18:46 [error] 11358#11358: send() failed (111: Connection refused) while resolving, resolver: 192.168.178.79:53
2019/12/13 00:18:51 [error] 11358#11358: ocsp.int-x3.letsencrypt.org could not be resolved (110: Operation timed out) while requesting certificate status, responder: ocsp.int-x3.letsencrypt.org, certificate: "/etc/letsencrypt/live/####/fullchain.pem"

1 Like

I found the cause of this: the app cms_pico breaks the server. removing it from the extra-apps folder lets the instance start again.

2 Likes