Having a weird problem. I have Meltano running on ...
# troubleshooting
q
Having a weird problem. I have Meltano running on an ec2 box, and I'm running it by having two systemctl daemons: one that runs
meltano ui
, and another that runs
meltano invoke airflow scheduler
. The UI works fine, but the scheduler does not. What's super weird though is exactly how it "doesn't work"... • Manually running meltano invoke airflow scheduler DOES work, exactly as expected. • The daemon appears to work, and the daemon logs even show that it thinks its scheduling and completing tasks. • But no queries are being run against my database
meltano airflow systemctl file:
Copy code
[Unit]
Description=Runs Meltano's Airflow Scheduler

[Service]
User=ec2-user
WorkingDirectory="/home/ec2-user/meltano/data-meltano/meltano-main"
Environment="PATH=/home/ec2-user/meltano/venv/bin"
Environment="MELTANO_ENVIRONMENT=prod"
ExecStart="/home/ec2-user/meltano/venv/bin/meltano invoke airflow scheduler"

[Install]
WantedBy=multi-user.target
Dumping the respective airflow configs with
meltano invoke airflow config list
gives identical configs (in other words, I changed the systemctl file to call config list and dumped the logs from that, and then in the meltano project root ran the same command)