iflytek / AutoSpark

基于SuperAGI 专注中文领域的大模型AI应用框架

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

database

gaoshaojie0708 opened this issue · comments

⚠️ 请先阅读. ⚠️

  • 我已经搜过, 没有找到

你在哪个操作系统使用Autospark?

Windows

使用版本分支?

Main

你是使用星火大模型的账号实验的吗?

星火大模型

bug属于什么分类?

安装使用

描述你的问题

连不上数据库,请问数据库这一块的流程是什么样的,需要做什么才可以连接上

如何复现?

CMD ["./wait-for-it.sh", "as__postgres:5432","-t","60","--","./entrypoint.sh"]
配置到这一步骤的时候报错

上传bug日志内容

as__postgres-1 | 2024-04-17 16:28:55.706 CST [42] FATAL: database "as_agi_main" does not exist celery-1 | [2024-04-17 16:28:55,711: INFO/MainProcess] Task initialize-schedule-agent[a2e16292-bd17-41b0-9a2e-77b1388a7b4c] received celery-1 | [2024-04-17 16:28:55,711: DEBUG/MainProcess] basic.qos: prefetch_count->41 celery-1 | [2024-04-17 16:28:55,715: INFO/ForkPoolWorker-9] Task initialize-schedule-agent[a2e16292-bd17-41b0-9a2e-77b1388a7b4c] retry: Retry in 6s: OperationalError('(psycopg2.OperationalError) connection to server at "as__postgres" (172.18.0.2), port 5432 failed: FATAL: database "as_agi_main" does not exist\n') celery-1 | [2024-04-17 16:29:01,709: DEBUG/MainProcess] TaskPool: Apply <function fast_trace_task at 0x7f2cc62a6d30> (args:('initialize-schedule-agent', 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', {'lang': 'py', 'task': 'initialize-schedule-agent', 'id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'shadow': None, 'eta': '2024-04-17T08:29:01.707685+00:00', 'expires': None, 'group': None, 'group_index': None, 'retries': 3, 'timelimit': [None, None], 'root_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'parent_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'argsrepr': '()', 'kwargsrepr': '{}', 'origin': 'gen15@f9eb2a23afaa', 'ignore_result': False, 'properties': {'correlation_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'reply_to': '0335a863-96bc-3bd2-83af-1e746535e59c', 'replaced_task_nesting': 0, 'origin': 'gen8@f9eb2a23afaa', 'delivery_mode': 2, 'delivery_info': {'exchange': '', 'routing_key': 'celery'}, 'priority': 0, 'body_encoding': 'base64', 'delivery_tag': '828377ac-5d24-4c85-a76d-75526fb7d19a'}, 'reply_to': '0335a863-96bc-3bd2-83af-1e746535e59c', 'correlation_id': 'a2e16292-bd17-41b0-9a2e-77b1388a7b4c', 'hostname':... kwargs:{}) celery-1 | [2024-04-17 16:29:01,796: DEBUG/MainProcess] basic.qos: prefetch_count->40