0010441: redis read error during update #5203

Open
Gloirin opened this Issue Jun 9, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@Gloirin

Gloirin commented Jun 9, 2018

Reported by pschuele on 7 Nov 2014 21:45

Version: Koriander (2014.09.2)

redis read error during update

maybe we should catch this error

Additional information: root@server:~/pschuele/scripts# /usr/bin/php -d include_path=/usr/share/tine20:/etc/tine20 -d memory_limit=512M /usr/share/tine20/setup.php --update
PHP Fatal error: Uncaught exception 'RedisException' with message 'read error on connection' in /usr/share/tine20/Zend/Cache/Backend/Redis.php:250
Stack trace:
#0 /usr/share/tine20/Zend/Cache/Backend/Redis.php(250): Redis->flushDB()
#1 /usr/share/tine20/library/Zend/Cache/Core.php(430): Zend_Cache_Backend_Redis->clean('all', Array)
#2 /usr/share/tine20/Setup/Controller.php(574): Zend_Cache_Core->clean('all')
#3 /usr/share/tine20/Setup/Controller.php(427): Setup_Controller->updateApplication(Object(Tinebase_Model_Application), '8')
#4 /usr/share/tine20/Setup/Frontend/Cli.php(233): Setup_Controller->updateApplications(Object(Tinebase_Record_RecordSet))
#5 /usr/share/tine20/Setup/Frontend/Cli.php(196): Setup_Frontend_Cli->_updateApplications()
#6 /usr/share/tine20/Setup/Frontend/Cli.php(56): Setup_Frontend_Cli->_update(Object(Zend_Console_Getopt))
#7 /usr/share/tine20/Setup/Server/Cli.php(92): Setup_Frontend_Cli->handle(Object(Zend_Console_Getopt))
#8 /usr/share/tine20/Setup/Core.php(89): Setup_Server_Cli->handle()
#9 /usr/share in /usr/share/tine20/Zend/Cache/Backend/Redis.php on line 250

@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 11 Sep 2017 12:17

could be solved by adding a redis proxy (like the imap proxy in Felamimail) that adds retry functionality to the redis cache backend.

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 11 Sep 2017 12:17

could be solved by adding a redis proxy (like the imap proxy in Felamimail) that adds retry functionality to the redis cache backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment