I wanted to test the current Nextcloud 25 Release Candidate 4. I have a staging instance, switched to beta channel and used the web installer to do the update. All steps in the first screen were processed without error. The last step is to “continue in webinstaller and do db updates”. In that step, something went wrong. I ended up with the default cloud URL, but with a blank screen (no data served). In NC log, there’s only one message pointing to Talk/spreed as root cause. Irritating is that the NC version is still reported as 24.0.6. Is that an issue that needs to be fixed in spreed or in server?
Disabling spreed with this command lets the updater continue:
occ app:disable spreed
Nextcloud version: 24.0.6→25.0.0RC4
OS: Arch Linux (current)
Webserver: NGINX 1.22
PHP: 8.1
nextcloud.log:
{"reqId":"L15o5bJaeg8fDCnnAca3","level":3,"time":"2022-10-14T11:21:20+02:00","remoteAddr":"192.168.1.2","user":"--","app":"PHP","method":"GET","url":"/",
"message":"Declaration of OCA\\Talk\\Share\\RoomShareProvider::getSharesInFolder($userId, OCP\\Files\\Folder $node, $reshares): array must be compatible
with OCP\\Share\\IShareProvider::getSharesInFolder($userId, OCP\\Files\\Folder $node, $reshares, $shallow = true) at /server/www/datenschutz/stage/apps/s
preed/lib/Share/RoomShareProvider.php#520","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0","version":"24.0.6.1","dat
a":{"app":"PHP"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ID',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/PATH/redis.sock',
'port' => 0,
'dbindex' => 5,
'timeout' => 1.5,
),
'logtimezone' => 'Europe/Berlin',
'mail_from_address' => 'stage',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'DOMAIN.de',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'SMTP.DOMAIN.de',
'mail_smtpport' => '25',
'trashbin_retention_obligation' => 'auto,30',
'versions_retention_obligation' => 'auto,366',
'skeletondirectory' => '',
'default_language' => 'de',
'default_locale' => 'de_DE',
'default_phone_region' => 'DE',
'simpleSignUpLink.shown' => false,
'passwordsalt' => 'REDACTED',
'secret' => 'REDACTED',
'trusted_domains' =>
array (
0 => 'stage.DOMAIN.de',
),
'datadirectory' => '/PATH/stage',
'dbtype' => 'mysql',
'version' => '24.0.6.1',
'overwrite.cli.url' => 'https://stage.DOMAIN.de',
'dbname' => 'REDACTED',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'REDACTED',
'dbpassword' => 'REDACTED',
'installed' => true,
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
0 => '2FA-exception',
),
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'beta',
'trusted_proxies' =>
array (
0 => 'IP',
),
'app_install_overwrite' =>
array (
0 => 'files_frommail',
),
'blacklisted_files' =>
array (
),
'maintenance' => false,
'updater.secret' => 'REDACTED',
);
nginx access/error log:
"14/Oct/2022:11:21:20 +0200" "GET / HTTP/2.0" "-" "500"