Bug #73074
closedExtbase CommandController does not run with APC Backend Caching
0%
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.
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.