dcardinha opened a new issue, #24400:
URL: https://github.com/apache/airflow/issues/24400

   ### Apache Airflow version
   
   2.3.2 (latest released)
   
   ### What happened
   
   When trying to start airflow version 2.3.2, both the workers, scheduler and 
webserver fail to start all showing the same kind of error:
   ```
   sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation) null value 
in column "task_prefix" violates not-null constraint
   scheduler_1  | DETAIL:  Failing row contains (103, dag_id={{ ti.dag_id 
}}/run_id={{ ti.run_id }}/task_id={{ ti.task..., null, 
{dag_id}-{task_id}-{run_id}-{map_index}-{try_number}, 2022-06-12 
12:08:13.60148+00).
   scheduler_1  | 
   scheduler_1  | [SQL: INSERT INTO log_template (filename, elasticsearch_id, 
created_at) VALUES (%(filename)s, %(elasticsearch_id)s, %(created_at)s) 
RETURNING log_template.id]
   scheduler_1  | [parameters: {'filename': 'dag_id={{ ti.dag_id }}/run_id={{ 
ti.run_id }}/task_id={{ ti.task_id }}/{% if ti.map_index >= 0 %}map_index={{ 
ti.map_index }}/{% endif %}attempt={{ try_number }}.log', 'elasticsearch_id': 
'{dag_id}-{task_id}-{run_id}-{map_index}-{try_number}', 'created_at': 
datetime.datetime(2022, 6, 12, 12, 8, 13, 601480, tzinfo=Timezone('UTC'))}]
   
   ```
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   ubuntu 16.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to