... | ... | @@ -113,6 +113,34 @@ _AIRFLOW_WWW_USER_PASSWORD: 'sonador@development-env' |
|
|
You now have a running Airflow server that can communicate with Sonador.
|
|
|
|
|
|
|
|
|
### Troubleshooting
|
|
|
|
|
|
**Relation session does not exist**
|
|
|
|
|
|
If you encounter the following error:
|
|
|
|
|
|
```bash
|
|
|
File "/home/airflow/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
|
|
|
cursor.execute(statement, parameters)
|
|
|
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "session" does not exist
|
|
|
LINE 2: FROM session
|
|
|
```
|
|
|
|
|
|
You must exec into the `airflow-webserver` container and run the following command:
|
|
|
|
|
|
```bash
|
|
|
airflow db upgrade
|
|
|
```
|
|
|
|
|
|
**No user found / issues logging in**
|
|
|
|
|
|
If you cannot login, manually create the Airflow admin account in the `airflow-webserver` container by using the following command:
|
|
|
|
|
|
```bash
|
|
|
airflow users create [-h] -e EMAIL -f FIRSTNAME -l LASTNAME [-p PASSWORD] -r ROLE [--use-random-password] -u USERNAME
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|