• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 MISCONF Redis is configured to save RDB snapshots

TDUBS

Active member
#1
I've recently upgraded my server to PHP 7.0.10 and started noticing some errors popping up here and there. I am currently experiencing a server error in which XenForo outputs below. I also recently upgraded my cURL version to 7.50.1.

Error Log
Code:
CredisException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. - library/Redis/lib/Credis/Client.php:1144
Stack Trace
Code:
#0 /home/nginx/domains/domain.com/public/library/Redis/Cm/Cache/Backend/Redis.php(211): Credis_Client->__call('hget', Array)
#1 /home/nginx/domains/domain.com/public/library/Zend/Cache/Core.php(404): Cm_Cache_Backend_Redis->load('xfxx_data_brBri...', true)
#2 /home/nginx/domains/domain.com/public/library/SV/RedisCache/RedisDataRegistry.php(281): Zend_Cache_Core->save('a:0:{}', 'xfxx_data_brBri...')
#3 /home/nginx/domains/domain.com/public/library/*******/*******Helper/1000200/Model/ListenerClass.php(30): XenForo_Model_DataRegistry->set('br*******AddOns', Array)
#4 /home/nginx/domains/domain.com/public/library/*******/*******Helper/1000200/EventListeners.php(43): *******_*******Helper_Model_ListenerClass->rebuild*******AddOnsCache()
#5 /home/nginx/domains/domain.com/public/library/XenForo/CodeEvent.php(90): *******_*******Helper_EventListeners::initListenerClass(Object(XenForo_Dependencies_Public), Array)
#6 /home/nginx/domains/domain.com/public/library/XenForo/Dependencies/Abstract.php(215): XenForo_CodeEvent::fire('init_dependenci...', Array)
#7 /home/nginx/domains/domain.com/public/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#8 /home/nginx/domains/domain.com/public/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
Code:
array(3) {
  ["url"] => string(48) "http://www.domain.com/index.php?chat/refresh"
  ["_GET"] => array(1) {
    ["chat/refresh"] => string(0) ""
  }
  ["_POST"] => array(16) {
    ["room_id"] => string(1) "0"
    ["user_rooms"] => array(1) {
      [0] => string(5) "61663"
    }
    ["last_id"] => string(5) "61663"
    ["activity_last_id"] => string(1) "0"
    ["activity_last_update"] => string(1) "0"
    ["users_last_update"] => string(1) "0"
    ["inverse"] => string(1) "0"
    ["hide_bot"] => string(1) "0"
    ["no_users"] => string(1) "0"
    ["show_ignored"] => string(1) "0"
    ["all_pages"] => string(1) "0"
    ["loading"] => string(1) "0"
    ["_xfRequestUri"] => string(10) "/index.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
Example:


There are articles out for a workaround fix just by disabling RDB snapshots all together but I don't know if that'll affect anything.
 

Tracy Perry

Well-known member
#2
Last I checked, Redis was not supported internally by XenForo and required the add-on from @Xon. It would probably be more likely to get a response (and not to mention the suggested process) by asking in the support thread for that add-on.