Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call Bot Not Active or Generating Summaries #30

Closed
reidellawfirm opened this issue Dec 6, 2023 · 17 comments · Fixed by #34
Closed

Call Bot Not Active or Generating Summaries #30

reidellawfirm opened this issue Dec 6, 2023 · 17 comments · Fixed by #34

Comments

@reidellawfirm
Copy link

Hello, I have installed the Call Summary Bot from the NC Apps module and also made sure to flip the switch option under Conversation Settings > Call Summary to enable it in a couple of our Talk chats. I haven't seen any changes to the Talk room and no bot was added (not sure if there is a notification for that). Whenever we have a call no summary is generated and no todos are indicated as tasks.

What can I do to troubleshoot this? I am using Nextcloud AIO (Nextcloud Hub 6 (27.1.4)). Please let me know what I am missing or how I can troubleshoot this as this feature will be very helpful for my team.

@reidellawfirm
Copy link
Author

I did try disabling, removing the call summary bot app from the NC Apps module and then reinstalling. There was no change. I haven't found any documentation yet to help troubleshoot either.

@nickvergessen
Copy link
Member

  1. Can you check with occ talk:bot:list if the bot is registered correctly? (okay to post the result)

  2. ⚠️ Do not post those results of this question publicly ⚠️ Can you confirm that the secret from occ talk:bot:list -vvv is listed in occ call-summary-bot:list and that links correctly back to your instance in "backend"

@reidellawfirm
Copy link
Author

reidellawfirm commented Dec 6, 2023

  1. Yes, it is listed so it appears to be installed.
occ $ talk:bot:list
+----+-----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------
--+-------+-------------------+
| id | name                  | description                                                                                                                                                                                     | error_coun
t | state | features          |
+----+-----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------
--+-------+-------------------+
| 1  | Call summary          | Call summary (British English) - The call summary bot posts an overview message after the call listing all participants and outlining tasks                                                     | 0         
  | 1     | webhook, response |
| 2  | Protokoll             | Protokoll (Deutsch (Persönlich: Du)) - Der Anruf-Zusammenfassungs-Bot veröffentlicht nach der Unterhaltung eine Übersichtsnachricht, in der alle Teilnehmenden und die Aufgaben aufgeführt sind | 0         
  | 1     | webhook, response |
| 3  | Resumen de la llamada | Resumen de la llamada (Español (España)) - El bot de resumen de llamada publica un mensaje de visión general listando a todos los participantes y delineando tareas                             | 0         
  | 1     | webhook, response |
| 4  | Résumé de l'appel     | Résumé de l'appel (Français) - The call summary bot posts an overview message after the call listing all participants and outlining tasks                                                       | 0         
  | 1     | webhook, response |
| 5  | ملخص المكالمة         | ملخص المكالمة (اللغة العربية) - يقوم روبوت "ملخص المكالمة"بنشر رسالة عامة بعد المكالمة يسرد فيها جميع المشاركين و يحدد المهام                                                                   | 0         
  | 1     | webhook, response |
| 6  | Resumo da chamada     | Resumo da chamada (Português Brasileiro) - O bot de resumo da chamada publica uma mensagem de visão geral após a chamada, listando todos os participantes e descrevendo as tarefas              | 0         
  | 1     | webhook, response |
| 7  | Çağrı özeti           | Çağrı özeti (Türkçe) - Çağrı özeti botu, çağrıdan sonra tüm katılımcıları listeleyen ve görevleri özetleyen bir özet iletisi gönderir.                                                          | 0         
  | 1     | webhook, response |
| 8  | 通话摘要              | 通话摘要 (简体中文) - 通话摘要机器人会在通话结束后发布一条概述信息,列出所有与会者并概述各项任务                                                                                                | 0           | 1     | webhook, response |
| 9  | Call summary          | Call summary (British English) - The call summary bot posts an overview message after the call listing all participants and outlining tasks                                                     | 0         
  | 1     | webhook, response |
| 10 | Protokoll             | Protokoll (Deutsch (Persönlich: Du)) - Der Anruf-Zusammenfassungs-Bot veröffentlicht nach der Unterhaltung eine Übersichtsnachricht, in der alle Teilnehmenden und die Aufgaben aufgeführt sind | 0         
  | 1     | webhook, response |
| 11 | Resumen de la llamada | Resumen de la llamada (Español (España)) - El bot de resumen de llamada publica un mensaje de visión general listando a todos los participantes y delineando tareas                             | 0         
  | 1     | webhook, response |
| 12 | Résumé de l'appel     | Résumé de l'appel (Français) - The call summary bot posts an overview message after the call listing all participants and outlining tasks                                                       | 0         
  | 1     | webhook, response |
| 13 | ملخص المكالمة         | ملخص المكالمة (اللغة العربية) - يقوم روبوت "ملخص المكالمة"بنشر رسالة عامة بعد المكالمة يسرد فيها جميع المشاركين و يحدد المهام                                                                   | 0         
  | 1     | webhook, response |
| 14 | Resumo da chamada     | Resumo da chamada (Português Brasileiro) - O bot de resumo da chamada publica uma mensagem de visão geral após a chamada, listando todos os participantes e descrevendo as tarefas              | 0         
  | 1     | webhook, response |
| 15 | Çağrı özeti           | Çağrı özeti (Türkçe) - Çağrı özeti botu, çağrıdan sonra tüm katılımcıları listeleyen ve görevleri özetleyen bir özet iletisi gönderir.                                                          | 0         
  | 1     | webhook, response |
| 16 | 通话摘要              | 通话摘要 (简体中文) - 通话摘要机器人会在通话结束后发布一条概述信息,列出所有与会者并概述各项任务                                                                                                | 0           | 1     | webhook, response |
+----+-----------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------
--+-------+-------------------+

@reidellawfirm
Copy link
Author

  1. Ah ok, I think I see the issue. So two secret hashes are listed. The correct one is listed for a different domain. We recently migrated a standard Nextcloud Hub install to a NC AIO install.

So it seems I need to manually revise the call-summary-bot:list to match the new server and hash? Are there any details on how to do that?

@nickvergessen
Copy link
Member

easiest is probably to:

  1. Remove all bots in Talk: occ talk:bot:remove 1, occ talk:bot:remove 2 until occ talk:bot:remove 16
  2. Remove all Backends in call summary bot: occ call-summary-bot:delete ID with ID being all values listed in occ call-summary-bot:list
  3. Afterwards disable and reenable the call_summary_bot app: occ app:disable call_summary_bot and occ app:enable call_summary_bot

@reidellawfirm
Copy link
Author

Ok, so I did go through your steps. I still wasn't able to get the call summary bot to work. No list of attendees and no todos listed from call.

I noticed when I run occ call-summary-bot:list that both the old and new server still come up under backend with their own secret key.

I am assuming I need to find a way to remove the old backend server credentials from re-populating when enabling the call summary bot. Are there other artifacts of the old server backend I should look for to delete?

@nickvergessen
Copy link
Member

occ call-summary-bot:delete <ID> exists and should help with that

@reidellawfirm
Copy link
Author

So I do get the response that the secret was deleted with that delete command but now confirming after with list command that the list is identical before and after. See attached.

Do I need to go into server config files and manually delete the duplicate server ID
somewhere?

Screenshot_20231213_065921_Firefox

@nickvergessen
Copy link
Member

It's in the database oc_appconfig table

@nickvergessen
Copy link
Member

Deleting command is fixed in #33

@nickvergessen
Copy link
Member

I added a new command occ call-summary-bot:repair in #34 and will release a new version 1.0.1 tonight.
You can then update to that version and run the command once.

@nickvergessen
Copy link
Member

It's uploaded and should be offered as an update soon:
https://apps.nextcloud.com/apps/call_summary_bot

@reidellawfirm
Copy link
Author

When I updated and ran the repair command, the response I got back was [object] [object].

Though I can now delete the secret to the old server. I ran through the steps again to test you gave in the first comment but I still can't get the summary bot to work.

After disabling the call summary bot app, when I run occ $ talk:bot:list I still see the full list of bots but it goes from 1 through 8 and then continues from 17 through 24. (See attached).

Any other ideas on troubleshooting steps? I currently have the call summary bot disabled but still have the bots coming up in the list as shown. I guess I need to delete these manually from the database files?

@reidellawfirm
Copy link
Author

Can anyone help me with this? Or do I have to open a new issue? The call summary bot still does not work for me.

@nickvergessen
Copy link
Member

Copied from #38


I recently submitted an issue (#30 ) where my call summary bot was not working. The issue was closed after some bug was identified but the fix did not help me and I am trying to completely remove the call summary bot from my server so I can try to reinstall it fresh.

I am attaching various screencaps showing my current status. Please let me know what steps I can take to troubleshoot this and hopefully reinstall the bot fresh.

Screencap 1: showing the call summary bot is not installed per NC Apps
Screenshot from 2023-12-28 17-17-00

Screencap 2: showing the talk bot list per OCC, bot sure if it matters but note the bots go from 1-8 and then repeat starting at 17
Screenshot from 2023-12-28 17-16-22

Screencap 3: showing the talk bot list details per OCC; note that the first set of bots are for an older server (signal.) which existed before a migration; the current server is cloud.;
Screenshot from 2023-12-28 17-18-08

Screencap 4: detailed lost continued
Screenshot from 2023-12-28 17-18-13

Screencap 5: call summary bot commands not recognized in OCC
Screenshot from 2023-12-28 17-19-19

@nickvergessen
Copy link
Member

Screenshot 1 and 5 indicate that the app is not enabled at the moment.
If that is still your current state, let's do the following occ commands:

talk:bot:uninstall 1
talk:bot:uninstall 2
talk:bot:uninstall 3
talk:bot:uninstall 4
talk:bot:uninstall 5
talk:bot:uninstall 6
talk:bot:uninstall 7
talk:bot:uninstall 8
talk:bot:uninstall 9
talk:bot:uninstall 10
talk:bot:uninstall 11
talk:bot:uninstall 12
talk:bot:uninstall 13
talk:bot:uninstall 14
talk:bot:uninstall 15
talk:bot:uninstall 16
talk:bot:uninstall 17
talk:bot:uninstall 18
talk:bot:uninstall 19
talk:bot:uninstall 20
talk:bot:uninstall 21
talk:bot:uninstall 22
talk:bot:uninstall 23
talk:bot:uninstall 24

Afterwards enable the app again from screenshot 1

@reidellawfirm
Copy link
Author

Thank you, this did the trick. Finally had a chance to update and run through your instructions.

Uninstalled the extra bots and was able to successfully reinstall and enable the call summary bot to work. For future reference, anyone migrating their domain will likely want to disable and uninstall the call summary bot before the migration and then re-install and enable after the migration to prevent any leftover and conflicting bot IDs/APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants