TomasB
06/15/2022, 2:24 PM/project/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/configuration.py:525: DeprecationWarning: The sql_alchemy_conn option in [core] has been moved to the sql_alchemy_conn option in [database] - the old setting has been used, but please update your config.
option = self._get_environment_variables(deprecated_key, deprecated_section, key, section)
Traceback (most recent call last):
File "/project/.meltano/orchestrators/airflow/venv/bin/airflow", line 5, in <module>
from airflow.__main__ import main
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/__init__.py", line 35, in <module>
from airflow import settings
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/settings.py", line 35, in <module>
from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf # NOQA F401
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/configuration.py", line 1601, in <module>
conf.validate()
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/configuration.py", line 314, in validate
self._validate_config_dependencies()
File "/project/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/configuration.py", line 408, in _validate_config_dependencies
raise AirflowConfigException(f"error: cannot use sqlite with the {self.get('core', 'executor')}")
airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the LocalExecutor
Command `airflow --help` failed
I'm using postresql DB and not sqlite . Is there a new configuration that I'm missing? I'm using meltano v2.0.2. Was getting same error on meltano v2.0.1 but it was working ok on meltano v1.105.0Stéphane Burwash
06/15/2022, 2:39 PMdevon_seitz
06/15/2022, 2:45 PMdevon_seitz
06/15/2022, 2:45 PMdevon_seitz
06/15/2022, 2:47 PMdevon_seitz
06/15/2022, 2:47 PMmeltano config airflow set core executor SequentialExecutordevon_seitz
06/15/2022, 2:48 PMTomasB
06/15/2022, 2:49 PM- name: "AIRFLOW__CORE__SQL_ALCHEMY_CONN"
value: "postgresql://:@:5432/airflow?sslmode=disable"
- name: AIRFLOW__CORE__EXECUTOR
value: LocalExecutorpat_nadolny
06/15/2022, 2:50 PMTomasB
06/15/2022, 2:52 PMv1.105.0. Probably something changed on v2devon_seitz
06/15/2022, 2:52 PMmeltano config airflow set database.sql_alchemy_conn yourpostgresuridevon_seitz
06/15/2022, 2:53 PMAIRFLOW__DATABASE__SQL_ALCHEMY_CONNdevon_seitz
06/15/2022, 2:53 PMAIRFLOW__CORETomasB
06/15/2022, 2:54 PMTomasB
06/15/2022, 3:01 PM- name: "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN"
value: "postgresql://:@:5432/airflow?sslmode=disable"
- name: AIRFLOW__CORE__EXECUTOR
value: LocalExecutor
workeddevon_seitz
06/15/2022, 3:01 PMStéphane Burwash
06/15/2022, 3:02 PMdevon_seitz
06/15/2022, 3:02 PMdevon_seitz
06/15/2022, 3:03 PMStéphane Burwash
06/15/2022, 3:03 PMStéphane Burwash
06/15/2022, 3:36 PMairflow --help failed[0m airflow-scheduler
15/06/2022, 113218 Traceback (most recent call last): airflow-scheduler
15/06/2022, 113218 File "/usr/local/lib/python3.8/site-packages/meltano/cli/__init__.py", line 55, in _run_cli airflow-scheduler
15/06/2022, 113218 cli(obj={"project": None}) airflow-scheduler
15/06/2022, 113218 File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in call airflow-scheduler
15/06/2022, 113218 return self.main(*args, **kwargs) airflow-scheduler
15/06/2022, 113218 File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main airflow-scheduler
15/06/2022, 113218 rv = self.invoke(ctx) airflow-scheduler
15/06/2022, 113218 File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke airflow-scheduler
15/06/2022, 113218 return _process_result(sub_ctx.command.invoke(sub_ctx)) airflow-scheduler
15/06/2022, 113218 File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke airflow-scheduler
15/06/2022, 113218 return ctx.invoke(self.callback, **ctx.params) airflow-scheduler
15/06…Stéphane Burwash
06/15/2022, 3:41 PMTomasB
06/15/2022, 3:43 PMv2.3.2.
orchestrators:
- name: airflow
variant: apache
pip_url: psycopg2 apache-airflowStéphane Burwash
06/15/2022, 3:43 PMTomasB
06/15/2022, 3:44 PMStéphane Burwash
06/15/2022, 3:46 PMStéphane Burwash
06/15/2022, 4:11 PMk_s
06/18/2022, 4:51 PMnick_hamlin
07/06/2022, 8:43 PMStéphane Burwash
07/06/2022, 8:44 PMnick_hamlin
07/06/2022, 8:46 PMStéphane Burwash
07/06/2022, 8:48 PMnick_hamlin
07/06/2022, 8:48 PMStéphane Burwash
07/06/2022, 8:49 PMnick_hamlin
07/06/2022, 8:49 PMStéphane Burwash
07/06/2022, 8:49 PMmeltano install orchestrator airflow --cleanStéphane Burwash
07/06/2022, 8:49 PMnick_hamlin
07/06/2022, 8:50 PMnick_hamlin
07/07/2022, 8:08 PMStéphane Burwash
07/07/2022, 8:12 PM