just updated Centmin Mod 123.09beta01 and re-purposed centmin.sh menu option 13 for redis php extension install/reinstall management https://community.centminmod.com/posts/31959/
You should see various keys with Css in the name.Thank you for this addon Xon.
Today I switched from memcached to Redis. However, I can't see the minifed css files in the cache using phpRedisAdmin. Is that option not supported? Or am I missing something?
php 7.0.6
redis 3.2.0
The only special thing it does is to rebuild the cache string so it can use the KEYS command to invalidate the cache intelligently.I know I should. I used to see them with memcached. But I don't see them now. The option is enabled in xenforo settings.
In your config.php, please change from:
- Correctly use configuration directory argument.
To:Code:require(XenForo_Application::getConfigDir().'/SV/RedisCache/Installer.php');
Code:require(XenForo_Application::getInstance()->getConfigDir().'/SV/RedisCache/Installer.php');
CredisException: read error on connection - library/Redis/lib/Credis/Client.php:1074
Generated By: Unknown Account, Today at 9:45 AM
#0 /var/www/vhosts/httpdocs/library/Redis/lib/Credis/Client.php(597): Credis_Client->__call('auth', Array)
#1 /var/www/vhosts/httpdocs/library/Redis/Cm/Cache/Backend/Redis.php(137): Credis_Client->auth('fxg894wFDSF4359...')
#2 /var/www/vhosts/httpdocs/library/Zend/Cache.php(153): Cm_Cache_Backend_Redis->__construct(Array)
#3 /var/www/vhosts/httpdocs/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Redis', Array, false, false)
#4 /var/www/vhosts/httpdocs/library/XenForo/Application.php(761): Zend_Cache::factory('Core', 'Redis', Array, Array)
#5 /var/www/vhosts/httpdocs/library/XenForo/Application.php(971): XenForo_Application->loadCache(Object(Zend_Config))
#6 /var/www/vhosts/httpdocs/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('cache', NULL)
#7 /var/www/vhosts/httpdocs/library/XenForo/Application.php(1647): XenForo_Application::get('cache')
#8 /var/www/vhosts/httpdocs/library/XenForo/Model.php(146): XenForo_Application::getCache()
#9 /var/www/vhosts/httpdocs/library/SV/RedisCache/RedisDataRegistry.php(152): XenForo_Model->_getCache(true)
#10 /var/www/vhosts/httpdocs/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#11 /var/www/vhosts/httpdocs/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#12 /var/www/vhosts/httpdocs/index.php(13): XenForo_FrontController->run()
#13 {main}
array(3) {
["url"] => string(43) "https://wweforums.net/index.php?chat/submit"
["_GET"] => array(1) {
["chat/submit"] => string(0) ""
}
ErrorException: unserialize(): Error at offset 0 of 2 bytes - library/SV/RedisCache/RedisDataRegistry.php:32
Generated By: KevinJamesFan, Today at 9:43 AM
#0 [internal function]: XenForo_Application::handlePhpError(8, 'unserialize(): ...', '/var/www/vhosts...', 32, Array)
#1 /var/www/vhosts/httpdocs/library/SV/RedisCache/RedisDataRegistry.php(32): unserialize(':0')
#2 /var/www/vhosts/httpdocs/library/Audentio/UIX/Model/Node.php(200): XenForo_Model_DataRegistry->get('uix_nodeCache')
#3 /var/www/vhosts/httpdocs/library/Audentio/UIX/Listener/CodeEvent.php(129): Audentio_UIX_Model_Node->getUixNodeCache()
#4 /var/www/vhosts/httpdocs/library/XenForo/CodeEvent.php(58): Audentio_UIX_Listener_CodeEvent::templateCreate('error', Array, Object(XenForo_Template_Public))
#5 /var/www/vhosts/httpdocs/library/XenForo/Template/Abstract.php(82): XenForo_CodeEvent::fire('template_create', Array, 'error')
#6 /var/www/vhosts/httpdocs/library/XenForo/Dependencies/Public.php(239): XenForo_Template_Abstract->__construct('error', Array)
#7 /var/www/vhosts/httpdocs/library/XenForo/ViewRenderer/Abstract.php(263): XenForo_Dependencies_Public->createTemplateObject('error', Array)
#8 /var/www/vhosts/httpdocs/library/XenForo/ViewRenderer/Json.php(55): XenForo_ViewRenderer_Abstract->createTemplateObject('error', Array)
#9 /var/www/vhosts/httpdocs/library/XenForo/FrontController.php(593): XenForo_ViewRenderer_Json->renderError(Array)
#10 /var/www/vhosts/httpdocs/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Error), Object(XenForo_ViewRenderer_Json), Array)
#11 /var/www/vhosts/httpdocs/index.php(13): XenForo_FrontController->run()
#12 {main}
@Solidus the first one is a timeout on authentication. Try disabling authentication to redis (it doesn't help that much), and also turn off persistence. Both may be causing IO stalls, especially persistence.
The 2nd one is a case of data has been corrupted being put into the cache. You can this is code talks to raw cache backend and then uses the Xenforo cache system system to fetch the data. Try issuing 'redis-cli flushall'
If it happens again, then it is something wrong with Audentio UI.X
Also try updating redis. It now enables TCP keepalives by default, which may help if it is a idle connection being unexpectedly killed.Thanks, Xon. I'll try these suggestions and report back.
Also try updating redis. It now enables TCP keepalives by default, which may help if it is a idle connection being unexpectedly killed.
Ah. I'm using IUS Community Project. With ius-testing enabled since they are generally quite stable.3.2.1 doesn't seem to be available to me yet.
Yes, but you may zap in-flight data such as how I store thread/attachment view counters.Also, redis-cli flushall is 100% safe to use, right? I've read bad things.
- Display phpredis module version and is lua is enabled on the Redis Info block on the AdminCP home page.
fyi, but phpredis 3.0.0 stable has been released. Not 100% sure on the changes form what you've tagged as 3.0.0rc1just updated Centmin Mod 123.09beta01 and re-purposed centmin.sh menu option 13 for redis php extension install/reinstall management https://community.centminmod.com/posts/31959/
all taken care of in latest centmin mod 123.09beta01 branch https://community.centminmod.com/threads/update-redis-php-extension-routines-for-123-09beta01.7697/ so automatically support both redis php extension versions for PHP 5.x and PHP 7.x branchesfyi, but phpredis 3.0.0 stable has been released. Not 100% sure on the changes form what you've tagged as 3.0.0rc1
The 3.0.0 branch is what works with php7, 2.2.5 wouldn't be working correctlyI'm using phpredis 2.2.5 with PHP 7, is it worth the hassle upgrading to 3.0?
The 3.0.0 branch is what works with php7, 2.2.5 wouldn't be working correctly
https://pecl.php.net/package/redis/3.0.0How should I upgrade? pecl upgrade redis tells me nothing new is available.
We use essential cookies to make this site work, and optional cookies to enhance your experience.