pdavis156879 commented on issue #15927:
URL: https://github.com/apache/airflow/issues/15927#issuecomment-844542403


   @mik-laj I belive I figured out the problem: 
   for some reason, even though I ran airflow-init successfully, the Webserver 
claims the 'dag' table does not exist:
   ```
   {"log":"Traceback (most recent call 
last):\n","stream":"stderr","time":"2021-05-19T22:32:51.673116491Z"}
   {"log":"  File 
\"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py\", 
line 1277, in 
_execute_context\n","stream":"stderr","time":"2021-05-19T22:32:51.673193803Z"}
   {"log":"    cursor, statement, parameters, 
context\n","stream":"stderr","time":"2021-05-19T22:32:51.673212995Z"}
   {"log":"  File 
\"/home/airflow/.local/lib/python3.6/site-packages/sqlalchemy/engine/default.py\",
 line 608, in 
do_execute\n","stream":"stderr","time":"2021-05-19T22:32:51.673420732Z"}
   {"log":"    cursor.execute(statement, 
parameters)\n","stream":"stderr","time":"2021-05-19T22:32:51.673437988Z"}
   {"log":"sqlite3.OperationalError: no such table: 
dag\n","stream":"stderr","time":"2021-05-19T22:32:51.673446786Z"}
   {"log":"\n","stream":"stderr","time":"2021-05-19T22:32:51.673454973Z"}
   {"log":"The above exception was the direct cause of the following 
exception:\n","stream":"stderr","time":"2021-05-19T22:32:51.673462998Z"}
   ```
   
   Any idea what may be causing this?


-- 
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.

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


Reply via email to