[I was being dumb as usual, I use split config.php approach and was trying to update only config.php instead of xyz.config.php]
I don’t have any issue anymore, I may just delete the thread in a day.
I upgraded from Ubuntu 20.04 to 22.04 and not instead of login page I see internal server error
After checking around some more:
Running any occ command
sudo -u www-data php occ
returns:
RedisException: ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct? in /var/www/nextcloud/lib/private/RedisFactory.php:143
I’m using unix socket, most of the suggested solutions didn’t help (SOLVED: RedisException ERR AUTH <password> (Level 3 Nextcloud Log Error) - #4 by buzz - if I add password to redis.conf then error goes from ERR AUTH to WRONGPASS. At the point it’s suggested I used ‘user’ => ‘default’ in config.php but that doesn’t help either)
Attaching config.php (tried with/without user default) - currently trying without any authentication
<?php
$CONFIG = array (
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'dbindex' => 0,
'timeout' => 1.5,
),
'overwrite.cli.url' => 'https://<server address>/',
'htaccess.RewriteBase' => '/',
'objectstore' =>
array (
'class' => 'OC\\Files\\ObjectStore\\S3',
'arguments' =>
array (
'bucket' => '<bucket name>',
'autocreate' => false,
'key' => '<key>',
'secret' => '<secret>',
'hostname' => 's3.eu-central-1.wasabisys.com',
'port' => 443,
'use_ssl' => true,
'region' => 'eu-central-1',
'use_path_style' => false,
),
),
'instanceid' => '<id>',
'passwordsalt' => '<pass>',
'secret' => '<secret>',
'trusted_domains' =>
array (
0 => '<server address>',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '25.0.9.2',
'dbname' => '<db name>',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'db_',
'mysql.utf8mb4' => true,
'dbuser' => '<user>',
'dbpassword' => '<pass>',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'admin',
'mail_domain' => '<mail>',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => '<smtp.mail>',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => '<email from>',
'mail_smtppassword' => '<pass>',
'maintenance' => false,
'theme' => '',
'loglevel' => 0,
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'DE',
'memcache.local' => '\\OC\\Memcache\\APCu',
'updater.secret' => '<secret>',
);
Following redis-cli works
{14:40}/var/www/nextcloud ➭ sudo -u www-data redis-cli -s /var/run/redis/redis.sock
redis /var/run/redis/redis.sock> AUTH default <pass>
OK
redis /var/run/redis/redis.sock> PING
PONG