Project

General

Profile

Actions

Bug #73074

closed

Extbase CommandController does not run with APC Backend Caching

Added by Anonymous almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-02-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Extbase commandController APC Backend
Complexity:
Is Regression:
No
Sprint Focus:

Description

I tried to run a Extbase CommandController Task. It worked well starting it in the Backend.
When I tried to have it started by the scheduler it did not run without a trace.

In the scheduler setup check this line:
The Scheduler was last started (automatically) on 01-02-16 at 17:40 and ended on 01-02-16 at 17:40.
was no longer updated.

When I started the dispatcher: .../typo3/cli_dispatch.phpsh scheduler in a command line I could see an error message:
The APC backend cannot be used because apc is disabled on CLI
together with a return code 99

Seems to be error 1232985415 thrown by TYPO3\CMS\Core\Cache\Backend\ApcBackend

After changing the extbase object cache to database in the install tool - all worked well.

This is a problem that can drive you crazy, because the reason is hard to find.

Actions #1

Updated by Wouter Wolters almost 9 years ago

  • Status changed from New to Closed

If you use the APC caching you need to enable this on your cli too because it needs to access it too on the CLI.
apc.enable_cli = 1 was, if I'm correct, the correct option.

Actions

Also available in: Atom PDF