GaiZhenbiao/SynologyChatGPT

按照教程做了很多次 永远都是提示无法执行命令,服务器未响应。

ihongyi123 opened this issue · 4 comments

从建立用户开始就不行,使用newuser就会提示服务器未响应 麻烦看下日志。
docker logs -n 50 -f a65c870d26da
No changes detected in app 'chat'
Operations to perform:
Apply all migrations: admin, auth, chat, contenttypes, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying chat.0001_initial... OK
Applying chat.0002_chatgptconfiguration_base_url_and_more... OK
Applying sessions.0001_initial... OK
[2023-10-14 15:02:24 +0000] [11] [INFO] Starting gunicorn 21.2.0
[2023-10-14 15:02:24 +0000] [11] [INFO] Listening at: http://0.0.0.0:8000 (11)
[2023-10-14 15:02:24 +0000] [11] [INFO] Using worker: sync
[2023-10-14 15:02:24 +0000] [13] [INFO] Booting worker with pid: 13

python版本为3.8

这个日志哪里可以看到?
我也是同样问题

我也是同样的问题,日志也差不多,在设定newuser,或者baseurl或者botkey的时候都显示“无法执行命令,服务器无响应”。
synology chat的控制台日志显示“webhook slash executed, id: 17, url: http://127.0.0.1:1999/webhook”,但是容器的日志里面没有同步时间的信息,感觉是没有传送到服务器。我跟着教程一样是1999的端口,请问有什么地方需要另外设置或者有什么建议可以自己做排查的吗?谢谢