运行时:
/usr/bin/php /var/www/magento2/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/magento2/var/log/magento.cron.log
我得到:
[Exception]
Notice: Undefined index: jobs in /home/ubuntu/repo/project/vendor/magento/
module-cron/Model/Config/Converter/Db.php on line 39
cron log说什么?
—
艾维斯·兹维兹多夫(Aivis Zvezdovs)'16
中存在错误
—
Stevie G
update.log
:setup-cron.ERROR: Database 'my-db' does not exist or specified database server user does not have privileges to access this database.
所以,问题是在错误的水平,该数据迁移工具添加的cron项:所以没有
—
杰拉德
delete from core_config_data where path like 'crontab/jobs%';
community.magento.com/t5/Technical-Issues/...
修正了第一个问题,但现在运行
—
杰拉德
php /var/www/shootingstuff/update/cron.php
提供了PHP Warning: require_once(/dir/update/vendor/autoload.php): failed to open stream: No such file or directory in /dir/update/app/bootstrap.php on line 15 PHP Fatal error: require_once(): Failed opening required '/dir/update/vendor/autoload.php' (include_path='.:/usr/share/php') in /dir/update/app/bootstrap.php on line 15