The Basics
- Nextcloud Server version (e.g., 29.x.x):31.0.0
- Operating system and version (e.g., Ubuntu 24.04):Fedora 41
- Web server and version (e.g, Apache 2.4.25):Included in Docker
- Reverse proxy and version _(e.g. nginx 1.27.2):Caddy 2.9.1
- PHP version (e.g, 8.3): 8.3.17
- Is this the first time you’ve seen this error? (Yes / No): Yes
- When did this problem seem to first start?
- Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.) Nextcloud docker
- Are you using Cloudflare, mod_security, or similar? (Yes / No) No
Summary of the issue you are facing:
Trying to install context_agent and it won’t install just gives the error
An error occurred during the request. Unable to proceed.
Could not perform installation of ExApp
Steps to replicate it (hint: details matter!):
Make sure to have a functioning exapps that allows you to install stuff. Try to install context_agent and it fails to install.
Log entries
No warnings or error, but if you set logging to debug you get the following that repeats about 20 to 30 times:
[app_api] Debug: ExApp "context_agent" not found.
POST /apps/app_api/apps/enable/context_agent
from 192.168.1.36 by ***** at Feb 26, 2025, 12:15:17 AM
Web server / Reverse Proxy
The output of your Apache log in docker logs(only relevant portion):
172.29.29.29 - - [26/Feb/2025:19:23:10 +0000] "POST /apps/app_api/apps/enable/context_agent HTTP/1.1" 500 789 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0"
Configuration
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!):
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"upgrade.disable-web": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"app"
],
"forwarded_for_headers": [
"HTTP_X_FORWARDED_FOR"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.0.18",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"app_install_overwrite": {
"0": "epubreader",
"2": "epubviewer",
"3": "twofactor_email",
"4": "files_archive",
"6": "money",
"7": "cookbook",
"11": "htmlviewer"
},
"maintenance": false,
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 100,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"overwrite.cli.url": "https:\/\/cloud.***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"default_phone_region": "US",
"defaultapp": "",
"music.lastfm_api_key": "***REMOVED SENSITIVE VALUE***",
"loglevel": 2,
"enabledPreviewProviders": [
"OC\\Preview\\BMP",
"OC\\Preview\\GIF",
"OC\\Preview\\JPEG",
"OC\\Preview\\Krita",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\PNG",
"OC\\Preview\\TXT",
"OC\\Preview\\XBitmap",
"OC\\Preview\\PDF"
],
"trashbin_retention_obligation": "auto, 90",
"memcache.distributed": "\\OC\\Memcache\\Redis"
}
}
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- announcementcenter: 7.1.0
- app_api: 5.0.2
- assistant: 2.4.0
- bruteforcesettings: 4.0.0
- calendar: 5.1.2
- circles: 31.0.0-dev.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.0.1
- contactsinteraction: 1.12.0
- context_chat: 4.1.0
- cookbook: 0.11.2
- cospend: 3.0.11
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.0
- end_to_end_encryption: 1.17.0
- epubviewer: 1.7.2
- external: 6.0.1
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_archive: 1.2.3
- files_automatedtagging: 2.0.0
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- files_zip: 2.1.0
- firstrunwizard: 4.0.0
- flow_notifications: 2.0.0
- forms: 5.0.0
- htmlviewer: 30.0.0
- impersonate: 2.0.0
- integration_giphy: 2.0.1
- integration_openai: 3.4.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 4.2.2
- money: 0.29.1
- music: 2.1.2
- nextcloud_announcements: 3.0.0
- notes: 4.11.0
- notifications: 4.0.0
- notify_push: 1.0.0
- oauth2: 1.19.1
- oidc: 1.4.0
- password_policy: 3.0.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- quota_warning: 1.21.0
- recommendations: 4.0.0
- registration: 2.6.0
- related_resources: 2.0.0
- richdocuments: 8.6.1
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.0.0
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- tables: 0.9.0
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- twofactor_webauthn: 2.1.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- whiteboard: 1.0.5
- workflow_pdf_converter: 2.0.0
- workflowengine: 2.13.0
Disabled:
- checksum: 1.2.5 (installed 1.2.5)
- drawio: 3.0.3 (installed 3.0.3)
- encryption: 2.19.0 (installed 2.18.0)
- gestion: 2.6.3 (installed 2.6.3)
- news: 25.2.1 (installed 25.2.1)
- photos: 4.0.0-dev.1 (installed 3.0.2)
- user_ldap: 1.22.0