TeleGPT icon indicating copy to clipboard operation
TeleGPT copied to clipboard

Docker run error

Open Voldeemort opened this issue 1 year ago • 8 comments

[+] Running 0/1 ⠿ app Error 2.0s Error response from daemon: denied

Voldeemort avatar Mar 19 '23 18:03 Voldeemort

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

Voldeemort avatar Mar 19 '23 19:03 Voldeemort

We are tracking this issue on #11.

unixzii avatar Mar 20 '23 02:03 unixzii

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

unixzii avatar Mar 20 '23 02:03 unixzii

Okay, I have successfully deployed it, but the telegram bot keeps sending me "Thinking..." message. I am sure that my openaiAPIKey is valid.

Voldeemort avatar Mar 20 '23 09:03 Voldeemort

The telegpt bot you provided is also experiencing the same issue.

Voldeemort avatar Mar 20 '23 09:03 Voldeemort

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

I used the Docker provided by you to pull and deploy a bot, but the data returned to me is “Thinking…”. Did I do something wrong? Here are my steps: First, I cloned your repository and "cp config.example.json config.json". Then, I ran ‘docker compose up -d’ successfully, but the bot keeps responding with “Thinking…”. I’m sure the API is correct, but I’m not sure if I missed anything. I checked the logs and found the following error: “telegpt-app-1 | 2023-03-20T16:58:10.722Z ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram’s error: Bad Request: message text is empty”.

Voldeemort avatar Mar 20 '23 17:03 Voldeemort

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

I used the Docker provided by you to pull and deploy a bot, but the data returned to me is “Thinking…”. Did I do something wrong? Here are my steps: First, I cloned your repository and "cp config.example.json config.json". Then, I ran ‘docker compose up -d’ successfully, but the bot keeps responding with “Thinking…”. I’m sure the API is correct, but I’m not sure if I missed anything. I checked the logs and found the following error: “telegpt-app-1 | 2023-03-20T16:58:10.722Z ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram’s error: Bad Request: message text is empty”.

Maybe OpenAI server was down at that time, you can try again now.

unixzii avatar Mar 21 '23 16:03 unixzii

There is no detailed explanation for the 'telegpt.sqlite' file in the 'telegpt.config.json' file.

This is the path that database file will be stored. If you are using Docker to serve the bot, you can ignore it and leave it unchanged (the value in config.example.json is good to go).

I used the Docker provided by you to pull and deploy a bot, but the data returned to me is “Thinking…”. Did I do something wrong? Here are my steps: First, I cloned your repository and "cp config.example.json config.json". Then, I ran ‘docker compose up -d’ successfully, but the bot keeps responding with “Thinking…”. I’m sure the API is correct, but I’m not sure if I missed anything. I checked the logs and found the following error: “telegpt-app-1 | 2023-03-20T16:58:10.722Z ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram’s error: Bad Request: message text is empty”.

Maybe OpenAI server was down at that time, you can try again now.

I have tested it, but it still doesn't work. However, when I called the same API using another program, it worked normally.

Voldeemort avatar Mar 21 '23 16:03 Voldeemort