pdavis156879 opened a new issue #15965:
URL: https://github.com/apache/airflow/issues/15965


   Apache Airflow version: 2.0.2
   
   Environment:
   
   Cloud provider or hardware configuration:
   OS (e.g. from /etc/os-release): Ubuntu 20.04.2 LTS
   
   
   First of all, I apologize for opening a new issue, however, and 
unfortunately, [my previous 
issue](https://github.com/apache/airflow/issues/15927) was incorrectly closed 
since another user responded the problem was solved - which was not.
   
   
   My webserver was failing to start and would boot recurrently with a series 
of cryptic errors. @mik-laj  then suggested I increase the log verbosity via 
logging_level option in the [logging] section. This did indeed clarify the 
problem, but I have to say, its even stranger than before:
   - Apparently, Airflow cannot find the 'dag' table, even though airflow-init 
was ran successfully.
   
   To clarify:
   - [airflow-init 
log](https://gist.github.com/pdavis156879/86e1560c046672c46da9128a294f8631)
   - [airflow-webserver 
log](https://gist.github.com/pdavis156879/76f217a20d3fdac749b9dbd11738317a)
   
   In summary, the problem seems to be the 'dag' table not being found, as 
evidenced by this recurrent piece of log error:
   
   ```
   {"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"}
   
   ```


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