Dear Support,
I tried to update my Nextcloud instance, which I host in an Plesk environment. Unfortunately I was not able to retrieve the Apache/nginx/system log. In Plesk have a page for this. In my case I use just the standard settings.
Grateful for push me into the direction to get this issue resolved.
Regards
Nextcloud version: (eg, 12.0.2): 17.0.1
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):7.3
The issue you are facing:
Updating Nextcloud to latest version, HTTP 500 error
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
[Sat Nov 16 20:09:05.839273 2019] [proxy_fcgi:error] [pid 2401] [client 46.126.236.26:57064] AH01071: Got error 'PHP message: PHP Fatal error: Declaration of OCA\\GroupFolders\\Versions\\VersionsBackend::getVersionFile(OCP\\IUser $user, OCP\\Files\\FileInfo $sourceFile, int $revision): OCP\\Files\\File must be compatible with OCA\\Files_Versions\\Versions\\IVersionBackend::getVersionFile(OCP\\IUser $user, OCP\\Files\\FileInfo $sourceFile, $revision): OCP\\Files\\File in /home/httpd/vhosts/maurolito.net/nextcloud.maurolito.net/apps/groupfolders/lib/Versions/VersionsBackend.php on line 38'
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocx064jiujum',
'passwordsalt' => 'GOMxfgefpw9fSv+gaVVOXcw6/E/aHQ',
'secret' => 'g6cbQZLBBK1FetO1GMwUZ1XABs3tXgS59Wt/E67DtXMHrKg6',
'trusted_domains' =>
array (
0 => 'nextcloud.maurolito.net',
),
'datadirectory' => '',
'dbtype' => 'mysql',
'version' => '16.0.5.1',
'overwrite.cli.url' => '',
'dbname' => 'nextcloud_',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'maintenance' => false,
'mail_from_address' => '',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'mail.messagingengine.com',
'mail_smtpport' => '465',
'mail_smtpname' => '',
'mail_smtppassword' => '',
'mail_smtpsecure' => 'ssl',
'theme' => '',
'loglevel' => 2,
'updater.secret' => '$2y$10$/BTTBzPxqQ6RUfboc1RH4eGYzJojWNhW28OYfE.uBKWsGmkJfT1Ri',
);
The output of your Apache/nginx/system log in /var/log/____
:
Allgemeine Apache-Einstellungen
MIME-Typen:Standard
Handler:Standard
Zugriff auf Website verweigern:Standard
Indexdateien:Standard
Ablaufdatum:Standard
Zusätzliche Header:Standard
nginx-Einstellungen
Proxymodus: on
Intelligente Bearbeitung statischer Dateien: on
Statische Dateien direkt durch nginx bedienen: off
nginx-Caching aktivieren: no