Page MenuHomePhabricator

Exception if no accelerator (e.g. APC) is available
Closed, ResolvedPublic

Description

PHP Fatal error:  Uncaught exception 'MWException' with message 'CACHE_ACCEL requested but no suitable object cache is present. You may want to install APC.' in /usr/local/src/MediaWiki/core/includes/objectcache/ObjectCache.php:141
Stack trace:
#0 /usr/local/src/MediaWiki/core/includes/registration/ExtensionRegistry.php(65): ObjectCache::newAccelerator(Array, 0)
#1 /usr/local/src/MediaWiki/core/includes/registration/ExtensionRegistry.php(58): ExtensionRegistry->__construct()
#2 /usr/local/src/MediaWiki/core/includes/Setup.php(39): ExtensionRegistry::getInstance()
#3 /usr/local/src/MediaWiki/core/maintenance/doMaintenance.php(98): require_once('/usr/local/src/...')
#4 /usr/local/src/MediaWiki/core/maintenance/update.php(207): require_once('/usr/local/src/...')
#5 {main}
  thrown in /usr/local/src/MediaWiki/core/includes/objectcache/ObjectCache.php on line 141

Proximate cause is Gerrit change 166705.

Event Timeline

Anomie raised the priority of this task from to Unbreak Now!.
Anomie updated the task description. (Show Details)
Anomie subscribed.

Change 183485 had a related patch set uploaded (by Anomie):
Allow CACHE_NONE as a fallback for ObjectCache::newAccelerator

https://gerrit.wikimedia.org/r/183485

Patch-For-Review

Change 183485 merged by jenkins-bot:
Allow CACHE_NONE as a fallback for ObjectCache::newAccelerator

https://gerrit.wikimedia.org/r/183485

Anomie moved this task from Needs Review/Feedback to Done on the MediaWiki-Core-Team board.
Anomie set Security to None.