Skip to content

[Bug]: No module named 'quart_auth' #11479

@Ykubernetes

Description

@Ykubernetes

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

1

RAGFlow image version

v0.22.1

Other environment information

CPU:Intel(R) Core(TM) i7-13700K   CPU @ 5.2GHz
MEM:66G
CUDA Version: 12.4 
NVIDIA GeForce RTX 4080

Actual behavior

ModuleNotFoundError: No module named 'quart_auth'

Expected behavior

No response

Steps to reproduce

ragflow-gpu-1  | Traceback (most recent call last):
ragflow-gpu-1  |   File "/ragflow/rag/svr/sync_data_source.py", line 36, in <module>
ragflow-gpu-1  |     from api.db.services.connector_service import ConnectorService, SyncLogsService
ragflow-gpu-1  |   File "/ragflow/api/db/services/__init__.py", line 19, in <module>
ragflow-gpu-1  |     from .user_service import UserService as UserService
ragflow-gpu-1  |   File "/ragflow/api/db/services/user_service.py", line 24, in <module>
ragflow-gpu-1  |     from api.db.db_models import DB, UserTenant
ragflow-gpu-1  |   File "/ragflow/api/db/db_models.py", line 28, in <module>
ragflow-gpu-1  |     from quart_auth import AuthUser
ragflow-gpu-1  | ModuleNotFoundError: No module named 'quart_auth'
ragflow-gpu-1  | 2025-11-24 15:44:22,300 INFO     75 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'ragflow.es_conn': 'DEBUG', 'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
ragflow-gpu-1  | Traceback (most recent call last):
ragflow-gpu-1  |   File "/ragflow/api/ragflow_server.py", line 34, in <module>
ragflow-gpu-1  |     from api.apps import app, smtp_mail_server
ragflow-gpu-1  |   File "/ragflow/api/apps/__init__.py", line 21, in <module>
ragflow-gpu-1  |     from quart import Blueprint, Quart, request, g, current_app, session
ragflow-gpu-1  | ModuleNotFoundError: No module named 'quart'
ragflow-gpu-1  | Traceback (most recent call last):
ragflow-gpu-1  |   File "/ragflow/rag/svr/task_executor.py", line 28, in <module>
ragflow-gpu-1  |     from api.db.services.knowledgebase_service import KnowledgebaseService
ragflow-gpu-1  |   File "/ragflow/api/db/services/__init__.py", line 19, in <module>
ragflow-gpu-1  |     from .user_service import UserService as UserService
ragflow-gpu-1  |   File "/ragflow/api/db/services/user_service.py", line 24, in <module>
ragflow-gpu-1  |     from api.db.db_models import DB, UserTenant
ragflow-gpu-1  |   File "/ragflow/api/db/db_models.py", line 28, in <module>
ragflow-gpu-1  |     from quart_auth import AuthUser
ragflow-gpu-1  | ModuleNotFoundError: No module named 'quart_auth'
ragflow-gpu-1  | Traceback (most recent call last):
ragflow-gpu-1  |   File "/ragflow/rag/svr/sync_data_source.py", line 36, in <module>
ragflow-gpu-1  |     from api.db.services.connector_service import ConnectorService, SyncLogsService
ragflow-gpu-1  |   File "/ragflow/api/db/services/__init__.py", line 19, in <module>
ragflow-gpu-1  |     from .user_service import UserService as UserService
ragflow-gpu-1  |   File "/ragflow/api/db/services/user_service.py", line 24, in <module>
ragflow-gpu-1  |     from api.db.db_models import DB, UserTenant
ragflow-gpu-1  |   File "/ragflow/api/db/db_models.py", line 28, in <module>
ragflow-gpu-1  |     from quart_auth import AuthUser
ragflow-gpu-1  | ModuleNotFoundError: No module named 'quart_auth'
ragflow-gpu-1  | 2025-11-24 15:44:23,477 INFO     82 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'ragflow.es_conn': 'DEBUG', 'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
ragflow-gpu-1  | Traceback (most recent call last):
ragflow-gpu-1  |   File "/ragflow/api/ragflow_server.py", line 34, in <module>
ragflow-gpu-1  |     from api.apps import app, smtp_mail_server
ragflow-gpu-1  |   File "/ragflow/api/apps/__init__.py", line 21, in <module>
ragflow-gpu-1  |     from quart import Blueprint, Quart, request, g, current_app, session
ragflow-gpu-1  | ModuleNotFoundError: No module named 'quart'
ragflow-gpu-1  | Traceback (most recent call last):
ragflow-gpu-1  |   File "/ragflow/rag/svr/task_executor.py", line 28, in <module>
ragflow-gpu-1  |     from api.db.services.knowledgebase_service import KnowledgebaseService
ragflow-gpu-1  |   File "/ragflow/api/db/services/__init__.py", line 19, in <module>
ragflow-gpu-1  |     from .user_service import UserService as UserService
ragflow-gpu-1  |   File "/ragflow/api/db/services/user_service.py", line 24, in <module>
ragflow-gpu-1  |     from api.db.db_models import DB, UserTenant
ragflow-gpu-1  |   File "/ragflow/api/db/db_models.py", line 28, in <module>
ragflow-gpu-1  |     from quart_auth import AuthUser
ragflow-gpu-1  | ModuleNotFoundError: No module named 'quart_auth'

Additional information

Upgrade from version 0.22.0 to 0.22.1
Mount the dependencies required for v0.22.0 persistently into the RagFlow container
Run the mineru from version v0.22.1 as an independent mineru server via MINERU_APISERVER, whereas it was originally a local MINERU_EXECUTABLE
After startup, there is a missing AuthUser. What causes this

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions