# Context Chat error

**URL:** <https://help.nextcloud.com/t/context-chat-error/214350>\
**Category:** ℹ️ Support\
**Tags:** cron, nc30, collabora-built-in\
**Created:** [January 7, 2025, 7:40pm UTC](https://help.nextcloud.com/t/context-chat-error/214350 "2025-01-07T19:40:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![schklerg](https://help.nextcloud.com/letter_avatar/schklerg/32/5_5575768a8748004e209b776fc1b2916d.png) [@schklerg](https://help.nextcloud.com/u/schklerg)\
**Post date:** [January 7, 2025, 7:40pm UTC](https://help.nextcloud.com/t/context-chat-error/214350/1 "2025-01-07T19:40:00Z")

</div>

## The Basics

- Nextcloud Server version _(e.g., 29.x.x)_:
  - 30.0.4

- Operating system and version _(e.g., Ubuntu 24.04)_:
  - Debian 12.8

- Web server and version _(e.g, Apache 2.4.25)_:
  - Apache 2.4.62

- PHP version _(e.g, 8.3)_:
  - 8.2.26

- Is this the first time you’ve seen this error? (Yes / No):
  - No

- When did this problem seem to first start?
  - After upgrade with the attempt for the AI chat

- Installation method _(e.g. AlO, NCP, Bare Metal/Archive, etc.)_
  - Bare Metal

- Are you using CloudfIare, mod\_security, or similar? _(Yes / No)_
  - Yes. mod\_security

### Summary of the issue you are facing:

I’m getting the following error over & over again:

RuntimeException Error during request to Context Chat Backend (ExApp): ExApp `context_chat_backend` not found  
Error while running background job OCA\ContextChat\BackgroundJobs\ActionJob (id: 14579, arguments: null)

After reading the external app instructions, I do not want to use the Chat app or external apps at all at this time. How can I clear out these errors and stop them from recurring?

### Steps to replicate it (hint: details matter!):

It’s been happening since I installed the Nextcloud Assistant

### Log entries

#### Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the _Copy raw_ option from _Administration settings-\>Logging_ screen or from your `nextcloud.log` located in your data directory). Feel free to use a pastebin/gist service if necessary.

```auto
{"reqId":"wxLmFJIhKu2Kk0dAB3Vw","level":3,"time":"2025-01-07T19:28:58+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job OCA\\ContextChat\\BackgroundJobs\\ActionJob (id: 14582, arguments: null)","userAgent":"--","version":"30.0.4.1","exception":{"Exception":"RuntimeException","Message":"Error during request to Context Chat Backend (ExApp): ExApp `context_chat_backend` not found","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/context_chat/lib/Service/LangRopeService.php","line":179,"function":"requestToExApp","class":"OCA\\ContextChat\\Service\\LangRopeService","type":"->"},{"file":"/var/www/html/nextcloud/apps/context_chat/lib/BackgroundJobs/ActionJob.php","line":54,"function":"deleteSources","class":"OCA\\ContextChat\\Service\\LangRopeService","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\ContextChat\\BackgroundJobs\\ActionJob","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/QueuedJob.php","line":43,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/QueuedJob.php","line":29,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":162,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/html/nextcloud/apps/context_chat/lib/Service/LangRopeService.php","Line":73,"message":"Error while running background job OCA\\ContextChat\\BackgroundJobs\\ActionJob (id: 14582, arguments: null)","exception":[],"CustomMessage":"Error while running background job OCA\\ContextChat\\BackgroundJobs\\ActionJob (id: 14582, arguments: null)"},"id":"677d81cdbe341"}

```

#### Nextcloud

The output of `occ config:list system` or similar is best, but, if not possible, the contents of your `config.php` file from `/path/to/nextcloud` is fine (make sure to remove any identifiable information!):

```auto
{
    "system": {
        "instanceid": " ***REMOVED SENSITIVE VALUE***",
        "passwordsalt": " ***REMOVED SENSITIVE VALUE***",
        "secret": " ***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "www.oddtime.net",
            "oddtime.net"
        ],
        "datadirectory": " ***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.4.1",
        "overwrite.cli.url": "https:\/\/www.oddtime.net\/nextcloud",
        "overwriteprotocol": "https",
        "overwitehost": "www.oddtime.net",
        "dbname": " ***REMOVED SENSITIVE VALUE***",
        "dbhost": " ***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": " ***REMOVED SENSITIVE VALUE***",
        "dbpassword": " ***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_from_address": " ***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_domain": " ***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": " ***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "maintenance": false,
        "maintenance_window_start": 5,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "default_phone_region": "US",
        "theme": "",
        "loglevel": 2,
        "default_locale": "en_US",
        "updater.release.channel": "stable"
    }
}

```

#### Apps

Enabled:

- activity: 3.0.0
- admin\_audit: 1.20.0
- app\_api: 4.0.3
- bruteforcesettings: 3.0.0
- calendar: 5.0.8
- cloud\_federation\_api: 1.13.0
- comments: 1.20.1
- contacts: 6.1.2
- contactsinteraction: 1.11.0
- context\_chat: 4.0.1
- cookbook: 0.11.2
- dashboard: 7.10.0
- dav: 1.31.1
- deck: 1.14.2
- encryption: 2.18.0
- externalportal: 1.3.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files\_downloadlimit: 3.0.0
- files\_pdfviewer: 3.0.0
- files\_reminders: 1.3.0
- files\_sharing: 1.22.0
- files\_trashbin: 1.20.1
- files\_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup\_server\_connector: 1.18.0
- mail: 4.1.1
- maps: 1.5.0
- metadata: 0.21.0
- news: 25.1.2
- nextcloud\_announcements: 2.0.0
- notes: 4.11.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password\_policy: 2.0.0
- photos: 3.0.2
- privacy: 2.0.0
- provisioning\_api: 1.20.0
- recommendations: 3.0.0
- related\_resources: 1.5.0
- richdocuments: 8.5.3
- richdocumentscode: 24.4.1002
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- socialsharing\_email: 3.2.0
- support: 2.0.0
- survey\_client: 2.0.0
- suspicious\_login: 8.0.0
- systemtags: 1.20.0
- tasks: 0.16.1
- text: 4.1.0
- theming: 2.5.0
- twofactor\_backupcodes: 1.19.0
- twofactor\_totp: 12.0.0-dev
- updatenotification: 1.20.0
- user\_status: 1.10.0
- viewer: 3.0.0
- weather\_status: 1.10.0
- webhook\_listeners: 1.1.0-dev
- workflowengine: 2.12.0  
Disabled:
- circles: 30.0.0 (installed 27.0.1)
- files\_external: 1.22.0
- twofactor\_nextcloud\_notification: 4.0.0
- user\_ldap: 1.21.0

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [January 8, 2025, 7:50am UTC](https://help.nextcloud.com/t/context-chat-error/214350/2 "2025-01-08T07:50:03Z")

</div>

I’m under impression ExApp context chat is required to run Nextcloud Assistant

> [@Help with: AI in Nextcloud: what, why and how](https://help.nextcloud.com/t/help-with-ai-in-nextcloud-what-why-and-how/177874):
>
> Hi, Has anyone got this working? As I’m not a rocket scientist, just a user. I would like to ask for a simple as possible description on “what, why and how” in Stp-by-Step. 1.) install all necessary apps. … 2) configer … Please take a look at my desperate attempts here. I kindly request assistance with this issue. Could you please help me get this up and working

---

<div class="post-metadata">

**Author:** ![schklerg](https://help.nextcloud.com/letter_avatar/schklerg/32/5_5575768a8748004e209b776fc1b2916d.png) [@schklerg](https://help.nextcloud.com/u/schklerg)\
**Post date:** [January 8, 2025, 1:26pm UTC](https://help.nextcloud.com/t/context-chat-error/214350/3 "2025-01-08T13:26:25Z")

</div>

I saw yours and ended up in a similar spot. The external app requiring some docker setup and other things does not fit my deployment so I decided that I don’t need the chat. Now I just want to get rid of the error safely.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [April 8, 2025, 1:26pm UTC](https://help.nextcloud.com/t/context-chat-error/214350/4 "2025-04-08T13:26:59Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
