I recently upgraded from airflow 1.9 to 1.10 and performed the following commands:
- airflow upgradedb
- changed all my celery config names mentioned here
- export SLUGIFY_USES_TEXT_UNIDECODE=yes
- added: log_filename_template = {{ ti.dag_id }}/{{ ti.task_id }}/{{ execution_date.strftime("%%Y-%%m-%%dT%%H:%%M:%%S") }}/{{ try_number }}.log to my config
Jobs seem to be running fine, but when I click logs don't appear in DAG task nodes.
I opened my network tab and a request to the following url is returning this JSON
{"error":true,"message":["Task log handler file.task does not support read logs.\n'NoneType' object has no attribute 'read'\n"],"metadata":{"end_of_log":true}}
Additionally there is a 404 request to get js/form-1.0.0.js. Any advice on extra steps to get logs reworking?
I can confirm that logs are showing up in the logs directory for tasks on the airflow server.