Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect path for reference data feeds in worker services on AWS
on production environments, the target directory for the reference data feeds in the production docker file for worker container service was incorrect. There was an error in the logs: ``` > docker --tlsverify -H=x.x.x.x:2376 exec rija-gigadb-website_fuw-worker_1 bash -c "journalctl -xn" -- Logs begin at Thu 2020-08-13 09:52:46 UTC, end at Thu 2020-08-13 11:05:28 UTC. -- Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#13 /app/vendor/yiisoft/yii2/base/Controller.php(180): yii\base\InlineAction->runWithParams(Array) Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#14 /app/vendor/yiisoft/yii2/console/Controller.php(179): yii\base\Controller->runAction('exec', Array) Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#15 /app/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('exec', Array) Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#16 /app/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('queue/exec', Array) Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#17 /app/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('queue/exec', Array) Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#18 /app/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request)) Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#19 /app/yii(23): yii\base\Application->run() Aug 13 11:05:28 b5538c73b3d8 php[21]: gigascience#20 {main}. Aug 13 11:05:28 b5538c73b3d8 php[21]: 2020-08-13 11:05:28 [3] backend\models\MoveJob (attempt: 1, pid: 21) - Error (0.023 s) Aug 13 11:05:28 b5538c73b3d8 php[21]: > yii\base\ErrorException: file_get_contents(/var/www/files/data/filetypes.json): failed to open stream: No such file or directory ```
- Loading branch information