You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/13 18:31:29 UTC
[GitHub] [airflow] phemmmie opened a new issue #18213: airflow bug
phemmmie opened a new issue #18213:
URL: https://github.com/apache/airflow/issues/18213
### Apache Airflow version
2.1.3 (latest released)
### Operating System
mac Os big sur
### Versions of Apache Airflow Providers
_No response_
### Deployment
Virtualenv installation
### Deployment details
_No response_
### What happened
_No response_
### What you expected to happen
_No response_
### How to reproduce
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-919266409
It depends on how you deploy it `airflow db upgrarde` if you installed it manually. The reference is here: https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#upgrade but indeed when I looked for it, it's not very prominent.
Coud you telll me (since you are a new user) where in the documentation you would look for it ?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] phemmmie commented on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
phemmmie commented on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-919217100
could you share a reference as regards how to get it done
On Tue, Sep 14, 2021 at 11:03 AM Jarek Potiuk ***@***.***>
wrote:
> You have not run the migration for new airflow version
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/airflow/issues/18213#issuecomment-919004437>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACK5AD44FL4TA55V4GKPCDDUB4MVLANCNFSM5D6NYOWQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-918466133
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] mik-laj closed issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #18213:
URL: https://github.com/apache/airflow/issues/18213
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-919004437
You have not run the migration for new airflow version
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk edited a comment on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-919266409
It depends on how you deploy it `airflow db upgrade` if you installed it manually. The reference is here: https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#upgrade but indeed when I looked for it, it's not very prominent.
Coud you telll me (since you are a new user) where in the documentation you would look for it ?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] mik-laj commented on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-918661411
No content. Closing. If you update your ticket with more information, let me know to open it.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] phemmmie commented on issue #18213: airflow bug
Posted by GitBox <gi...@apache.org>.
phemmmie commented on issue #18213:
URL: https://github.com/apache/airflow/issues/18213#issuecomment-918705933
starting airflow 2.13 fails to start shows
```Something bad has happened.
Please consider letting us know by creating a bug report using GitHub
<https://github.com/apache/airflow/issues/new/choose>.
Python version: 3.8.3
Airflow version: 2.1.3
Node: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
-------------------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1276, in _execute_context
self.dialect.do_execute(
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/default.py",
line 608, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: no such column: dag.last_parsed_time
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/flask/app.py",
line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/flask/app.py",
line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/flask/app.py",
line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/flask/_compat.py",
line 39, in reraise
raise value
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/flask/app.py",
line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/flask/app.py",
line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/airflow/www/auth.py",
line 34, in decorated
return func(*args, **kwargs)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/airflow/www/views.py",
line 551, in index
filter_dag_ids = current_app.appbuilder.sm.get_accessible_dag_ids(g.user)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/airflow/www/security.py",
line 298, in get_accessible_dag_ids
return {dag.dag_id for dag in accessible_dags}
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/orm/query.py",
line 3535, in __iter__
return self._execute_and_instances(context)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/orm/query.py",
line 3560, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1011, in execute
return meth(self, multiparams, params)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/sql/elements.py",
line 298, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1124, in _execute_clauseelement
ret = self._execute_context(
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1316, in _execute_context
self._handle_dbapi_exception(
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1510, in _handle_dbapi_exception
util.raise_(
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/util/compat.py",
line 182, in raise_
raise exception
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/base.py",
line 1276, in _execute_context
self.dialect.do_execute(
File "/Users/oluwafemisobakin/blockchain-app/.metals/Airflow-shards/py_env/lib/python3.8/site-packages/sqlalchemy/engine/default.py",
line 608, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such
column: dag.last_parsed_time
[SQL: SELECT dag.dag_id AS dag_dag_id, dag.root_dag_id AS
dag_root_dag_id, dag.is_paused AS dag_is_paused, dag.is_subdag AS
dag_is_subdag, dag.is_active AS dag_is_active, dag.last_parsed_time AS
dag_last_parsed_time, dag.last_pickled AS dag_last_pickled,
dag.last_expired AS dag_last_expired, dag.scheduler_lock AS
dag_scheduler_lock, dag.pickle_id AS dag_pickle_id, dag.fileloc AS
dag_fileloc, dag.owners AS dag_owners, dag.description AS
dag_description, dag.default_view AS dag_default_view,
dag.schedule_interval AS dag_schedule_interval, dag.concurrency AS
dag_concurrency, dag.has_task_concurrency_limits AS
dag_has_task_concurrency_limits, dag.next_dagrun AS dag_next_dagrun,
dag.next_dagrun_create_after AS dag_next_dagrun_create_after
FROM dag]
(Background on this error at: http://sqlalche.me/e/13/e3q8)
On Tue, Sep 14, 2021 at 12:32 AM Kamil Breguła ***@***.***>
wrote:
> No content. Closing. If you update your ticket with more information, let
> me know to open it.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/airflow/issues/18213#issuecomment-918661411>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACK5AD45JI7IVMZBYHWY5HDUB2CZDANCNFSM5D6NYOWQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org