Airflow 气流不';t run:bundle id(null)为的应用程序正在运行setugid(),这是不允许的

Airflow 气流不';t run:bundle id(null)为的应用程序正在运行setugid(),这是不允许的,airflow,Airflow,我对气流很陌生。我的气流已经好几天了。我设法运行了一些复杂的管道。最近出了点问题,气流停止了工作。实际上,服务器在几个PID上引导,并且这种情况会反复发生 附件是错误。当我启动Airflow时,下面的内容会不断重复,而web服务器不会启动。我相信我可能在做一些愚蠢的事情,但对我来说很难找出问题所在,因为我是个新手。气流的版本是1.8.0。非常感谢您的帮助。谢谢 enter Running the Gunicorn Server with: Workers: 4 sync Host: 0.0.0.

我对气流很陌生。我的气流已经好几天了。我设法运行了一些复杂的管道。最近出了点问题,气流停止了工作。实际上,服务器在几个PID上引导,并且这种情况会反复发生

附件是错误。当我启动Airflow时,下面的内容会不断重复,而web服务器不会启动。我相信我可能在做一些愚蠢的事情,但对我来说很难找出问题所在,因为我是个新手。气流的版本是1.8.0。非常感谢您的帮助。谢谢

enter Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120
Logfiles: - -
=================================================================
[2018-04-30 02:41:53,282] {__init__.py:57} INFO - Using executor SequentialExecutor
[2018-04-30 02:41:53 -0500] [4461] [INFO] Starting gunicorn 19.3.0
[2018-04-30 02:41:53 -0500] [4461] [INFO] Listening at:   http://0.0.0.0:8080 (4461)
[2018-04-30 02:41:53 -0500] [4461] [INFO] Using worker: sync
[2018-04-30 02:41:53 -0500] [4464] [INFO] Booting worker with pid: 4464
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
[2018-04-30 02:41:53 -0500] [4465] [INFO] Booting worker with pid: 4465
[2018-04-30 02:41:53 -0500] [4466] [INFO] Booting worker with pid: 4466
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
.format(x=modname), ExtDeprecationWarning
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
[2018-04-30 02:41:53 -0500] [4467] [INFO] Booting worker with pid: 4467
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
[2018-04-30 02:41:53,935] [4464] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
[2018-04-30 02:41:54,038] [4465] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
[2018-04-30 02:41:54,052] [4466] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
[2018-04-30 02:41:54,152] [4467] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
2018-04-30 02:41:56.080 python[4464:89245] The application with bundle ID (null) is running setugid(), which is not allowed.
[2018-04-30 02:41:56 -0500] [4480] [INFO] Booting worker with pid: 4480
 /Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
2018-04-30 02:41:56.217 python[4465:89249] The application with bundle ID (null) is running setugid(), which is not allowed.
2018-04-30 02:41:56.221 python[4466:89250] The application with bundle ID (null) is running setugid(), which is not allowed.
[2018-04-30 02:41:56 -0500] [4481] [INFO] Booting worker with pid: 4481
[2018-04-30 02:41:56 -0500] [4482] [INFO] Booting worker with pid: 4482
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
2018-04-30 02:41:56.323 python[4467:89253] The application with bundle ID (null) is running setugid(), which is not allowed.
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
[2018-04-30 02:41:56 -0500] [4483] [INFO] Booting worker with pid: 4483
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
   .format(x=modname), ExtDeprecationWarning
[2018-04-30 02:41:56,446] [4480] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
[2018-04-30 02:41:56,574] [4481] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
[2018-04-30 02:41:56,618] [4482] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
[2018-04-30 02:41:56,712] [4483] {models.py:167} INFO - Filling up the DagBag from /Users/sam/All-Program/App/PropertyClassification/dags
2018-04-30 02:41:58.580 python[4480:89485] The application with bundle ID (null) is running setugid(), which is not allowed.
[2018-04-30 02:41:58 -0500] [4498] [INFO] Booting worker with pid: 4498
/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-    packages/flask/exthook.py:71: ExtDeprecationWarning: Importing    flask.ext.cache is deprecated, use flask_cache instead.
我试图重置db“气流重置db”。我得到以下错误:

low/migrations/env.py", line 86, in <module>
run_migrations_online()
  File "/Users/sam/App-    Setup/anaconda/envs/anaconda35/lib/python3.5/site-    packages/airflow/migrations/env.py", line 81, in run_migrations_online
context.run_migrations()
  File "<string>", line 8, in run_migrations
  File "/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/alembic/runtime/environment.py", line 807, in run_migrations
self.get_context().run_migrations(**kw)
  File "/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/alembic/runtime/migration.py", line 321, in run_migrations
step.migration_fn(**kw)
  File "/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/airflow/migrations/versions/cc1e65623dc7_add_max_tries_column_to_task_instance.py", line 53, in upgrade
    query = session.query(sa.func.count(TaskInstance.max_tries)).filter(
AttributeError: type object 'TaskInstance' has no attribute 'max_tries'
low/migrations/env.py”,第86行,在
运行_迁移_联机()
文件“/Users/sam/App-Setup/anaconda/envs/anaconda35/lib/python3.5/site-packages/afflow/migrations/env.py”,第81行,运行中在线迁移
context.run_migrations()
文件“”,第8行,运行迁移中
文件“/Users/sam/App Setup/anaconda/envs/anaconda35/lib/python3.5/site packages/alembic/runtime/environment.py”,第807行,运行迁移中
self.get_context().运行_迁移(**kw)
文件“/Users/sam/App Setup/anaconda/envs/anaconda35/lib/python3.5/site packages/alembic/runtime/migration.py”,第321行,运行迁移中
步骤.迁移\u fn(**kw)
文件“/Users/sam/App Setup/anaconda/envs/anaconda35/lib/python3.5/site packages/afflow/migrations/versions/cc1e65623dc7_add_max_trys_column_to_task_instance.py”,升级中第53行
query=session.query(sa.func.count(TaskInstance.max_)).filter(
AttributeError:类型对象“TaskInstance”没有属性“max\u tries”

是的,我尝试重置数据库,附件是重置数据库时的错误说明。这似乎已损坏,看起来是气流升级失败。除非您具备数据库处理方面的知识,否则您可能需要考虑重新安装气流,然后重新安装DAG。