Redis server went away on OC 8


#1

Hello,

On OC 8.0.2 (I know it's no more supported, but if someone can help I would be very grateful), my owncloud server tells since a week, "Error 500" and when I go to the log file, I see :

{"reqId":"1863d09f763ff02b195c805edba81c19","remoteAddr":"XXXXXXX","app":"index","message":"Exception: {\"Message\":\"Redis server went away\",\"Code\":0,\"Trace\":\"#0 \\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/memcache\\/redis.php(68): Redis->exists('oc82e63e4d6f\\/ro...')\n#1 \\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/route\\/cachingrouter.php(36): OC\\Memcache\\Redis->hasKey('www.XXX.fr#\\/...')\n#2 \\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/urlgenerator.php(42): OC\\Route\\CachingRouter->generate('activity.Activi...', Array)\n#3 \\/home\\/XXX\\/www\\/partage\\/apps\\/activity\\/appinfo\\/app.php(34): OC\\URLGenerator->linkToRoute('activity.Activi...')\n#4 \\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/app.php(117): require_once('\\/home\\/XXX\\/ww...')\n#5 \\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/app.php(98): OC_App::requireAppFile('activity')\n#6 \\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/app.php(77): OC_App::loadApp('activity')\n#7 \\/home\\/XXX\\/www\\/partage\\/lib\\/base.php(754): OC_App::loadApps(Array)\n#8 \\/home\\/XXX\\/www\\/partage\\/index.php(36): OC::handleRequest()\n#9 {main}\",\"File\":\"\\/home\\/XXX\\/www\\/partage\\/lib\\/private\\/memcache\\/redis.php\",\"Line\":68}","level":4,"time":"2018-01-12T13:09:56+00:00"}

Can anyone help me ?

Thank you very much


#2

Please check the status of your redis server. Or remove from your configuration. Please upgrade to ownCloud 10 as 8.2 and 9 are no longer supported.


#3

Hello tomneedham and thank you for your answer.
I'm on a shared server (where owncloud worked perfectly for 3 years).
I can't manage the redis server. What do you mean by "remove configuration" (which one ? where ?)
Thank you for your help
Phil


#4

In your config.php you must be pointing your owncloud instance to a redis server that is not available. Or maybe contact your hoster to see what the issue is with their redis server.


#5

Hello thank you for your answer tomneedham.
I can't get any news from my provider :-/
In my config/config.php (is it te right file ?) there is no reference to a "redis" server. Here it is :

<?php
$CONFIG = array (
'instanceid' => xxxx,
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => 'xxx.fr',
1 => 'www.xxx.fr',
),
'datadirectory' => '/home/xxx/www/partage/data',
'overwrite.cli.url' => 'http://xxx.fr/partage',
'dbtype' => 'mysql',
'version' => '8.0.2.0',
'dbname' => 'xxx',
'dbhost' => 'xxx.mysql.db',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'maintenance' => false,
'custom_csp_policy' => 'default-src \'self\'; script-src \'self\' \'unsafe-inline\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'; frame-src *; img-src *; font-src \'self\' data:; media-src *',
'mail_from_address' => 'communication',
'mail_smtpmode' => 'php',
'mail_domain' => 'xxx.fr',
'theme' => '',
);