运行main.py start的时候celery_default is stopped.怎么办

bishe@bishe-VMware-Virtual-Platform:~/毕设代码/MaxKB-main (1)/MaxKB-main$ python3 main.py start
Building prefix dict from the default dictionary …
DEBUG:jieba:Building prefix dict from the default dictionary …
Dumping model to file cache /tmp/jieba.cache
DEBUG:jieba:Dumping model to file cache /tmp/jieba.cache
Loading model cost 0.708 seconds.
DEBUG:jieba:Loading model cost 0.708 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
Operations to perform:
Apply all migrations: application, contenttypes, dataset, django_apscheduler, django_celery_beat, embedding, function_lib, setting, users
Running migrations:
No migrations to apply.
Your models in app(s): ‘dataset’, ‘function_lib’ have changes that are not yet reflected in a migration, and so won’t be applied.
Run ‘manage.py makemigrations’ to make new migrations, and then re-run ‘manage.py migrate’ to apply them.

  • Start Celery as Distributed Task Queue: Celery

  • Start Gunicorn Local Model WSGI HTTP Server

  • Start Gunicorn WSGI HTTP Server
    2024-12-14 02:41:58 Check service status: celery_default → running at 8244
    2024-12-14 02:41:59 Check service status: local_model → running at 8245
    2024-12-14 02:42:00 Check service status: gunicorn → running at 8246
    2024-12-14 02:42:31 Check service status: celery_default → stopped at 8244
    celery_default is stopped.
    Stop service: local_model Ok
    Stop service: gunicorn Error

使用dev参数执行下main.py,以下为各个服务启动方式。
web服务: python main.py
dev 异步任务服务: python main.py dev
celery 本地模型服务: python main.py dev local_model