TYPO3 8.7.2 中的调度程序错误
Scheduler Error in TYPO3 8.7.2
我正在尝试为调度程序设置一个 cronjob,但遇到不存在的数据库表的错误。
通过cli_dispatch.phpsh
/usr/local/bin/php_cli /home/www/MyAccount/html/typo3/typo3/cli_dispatch.phpsh scheduler
Oops, an error occurred: An exception occurred while executing 'SELECT `content` FROM `cf_cache_hash` WHERE (`identifier` = ?) AND (`expires` >= ?)' with params ["22b1624a39d90c5db056873686cabf4f", 1498474993]:
Table 'usr_MyAccount_1.cf_cache_hash' doesn't exist
通过 Symfony 命令
/usr/local/bin/php_cli /home/www/MyAccount/html/typo3/typo3/sysext/core/bin/typo3 scheduler:run
Uncaught TYPO3 Exception An exception occurred while executing 'SELECT `content` FROM `cf_extbase_object` WHERE (`identifier` = ?) AND (`expires` >= ?)' with params ["3bcc835c5d8d7866a0ce2dc41464b9a8", 1498475122]:
Table 'usr_MyAccount_1.cf_extbase_object' doesn't exist
thrown in file /html/typo3/typo3_src-8.7.2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
in line 53
"Database analyzer" 表示一切正常。我错过了什么吗?
问题出在 APCu 缓存上。由于 APCu 不能与 CLI 一起使用,因此您必须为 CLI 命令禁用它。直到现在,这个问题还没有很好的解决方案。参见:https://forge.typo3.org/issues/78140
我正在尝试为调度程序设置一个 cronjob,但遇到不存在的数据库表的错误。
通过cli_dispatch.phpsh
/usr/local/bin/php_cli /home/www/MyAccount/html/typo3/typo3/cli_dispatch.phpsh scheduler
Oops, an error occurred: An exception occurred while executing 'SELECT `content` FROM `cf_cache_hash` WHERE (`identifier` = ?) AND (`expires` >= ?)' with params ["22b1624a39d90c5db056873686cabf4f", 1498474993]:
Table 'usr_MyAccount_1.cf_cache_hash' doesn't exist
通过 Symfony 命令
/usr/local/bin/php_cli /home/www/MyAccount/html/typo3/typo3/sysext/core/bin/typo3 scheduler:run
Uncaught TYPO3 Exception An exception occurred while executing 'SELECT `content` FROM `cf_extbase_object` WHERE (`identifier` = ?) AND (`expires` >= ?)' with params ["3bcc835c5d8d7866a0ce2dc41464b9a8", 1498475122]:
Table 'usr_MyAccount_1.cf_extbase_object' doesn't exist
thrown in file /html/typo3/typo3_src-8.7.2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php
in line 53
"Database analyzer" 表示一切正常。我错过了什么吗?
问题出在 APCu 缓存上。由于 APCu 不能与 CLI 一起使用,因此您必须为 CLI 命令禁用它。直到现在,这个问题还没有很好的解决方案。参见:https://forge.typo3.org/issues/78140