Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
33.0.3 AIO 13.0.4
- Operating system and version (e.g., Ubuntu 24.04):
Truenas25.10.3.1
- Web server and version (e.g, Apache 2.4.25):
replace me
- Reverse proxy and version _(e.g. nginx 1.27.2)
replace me
- PHP version (e.g, 8.3):
replace me
- Is this the first time you’ve seen this error? (Yes / No):
replace me
- When did this problem seem to first start?
replace me
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Cloudflare only for externa access.
Summary of the issue you are facing:
Environment: Nextcloud AIO on TrueNAS SCALE, Context Chat + context_chat_backend 5.3.0.
Background jobs are set to Cron and are running via:
docker exec -u www-data nextcloud-aio-nextcloud php -f /var/www/html/cron.php every 2 minutes.
Context Chat shows:
Total eligible files: 10407
Files in indexing queue: 3702 (3700 new)
Files successfully sent to backend: 6063
Indexed documents: files__default => 9538, mail__mail => 8355
mail__mail keeps increasing, but files__default barely moves.
occ background-job:list shows:
OCA\ContextChat\BackgroundJobs\IndexerJob with recent last_run
OCA\ContextChat\BackgroundJobs\FileSystemListenerJob and ActionJob with recent last_run
OCA\ContextChat\BackgroundJobs\SubmitContentJob with last_run = 1970-01-01T00:00:00+00:00
When I force the job with:
php occ background-job:execute 86753023916453888
it prints “Job executed!”, but running occ context_chat:stats afterwards shows no change in “Files successfully sent to backend” or files__default.
At the same time, the Mail app has:
“Make mails available to Context Chat” disabled in the user settings,
but mail__mail continues to be indexed and there are active OCA\Mail\BackgroundJob\ContextChat… jobs with recent last_run.
This looks like:
Context Chat’s SubmitContentJob for files not processing the file queue at all, and
the Mail → Context Chat integration not respecting the “Make mails available to Context Chat” toggle.
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": { "one-click-instance": true, "one-click-instance.user-limit": 100, "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 } ], "check_data_directory_permissions": false, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379, "timeout": 3, "read_timeout": 10 }, "overwritehost": "nextcloud.enghult.se", "overwriteprotocol": "https", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "nextcloud.enghult.se", "127.0.0.1", "172.16.1.6", "192.168.1.37" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "33.0.3.2", "overwrite.cli.url": "https:\/\/nextcloud.enghult.se\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "loglevel": 2, "log_type": "file", "logfile": "\/var\/www\/html\/data\/nextcloud.log", "log_rotate_size": 10485760, "log.condition": { "apps": [ "admin_audit" ] }, "preview_max_x": 2048, "preview_max_y": 2048, "jpeg_quality": 60, "enabledPreviewProviders": { "0": "OC\\Preview\\Imaginary", "1": "OC\\Preview\\ImaginaryPDF", "2": "OC\\Preview\\ImaginaryPDF", "3": "OC\\Preview\\ImaginaryPDF", "4": "OC\\Preview\\ImaginaryPDF", "5": "OC\\Preview\\Movie", "6": "OC\\Preview\\ImaginaryPDF", "7": "OC\\Preview\\ImaginaryPDF", "8": "OC\\Preview\\ImaginaryPDF", "9": "OC\\Preview\\HEIC", "10": "OC\\Preview\\ImaginaryPDF", "11": "OC\\Preview\\TIFF", "12": "OC\\Preview\\ImaginaryPDF", "13": "OC\\Preview\\ImaginaryPDF", "14": "OC\\Preview\\Image", "23": "OC\\Preview\\ImaginaryPDF" }, "enable_previews": true, "upgrade.disable-web": true, "mail_smtpmode": "smtp", "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 30", "activity_expire_days": 30, "simpleSignUpLink.shown": false, "share_folder": "\/Shared", "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/", "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726", "updatedirectory": "\/nc-updater", "maintenance_window_start": 100, "allow_local_remote_servers": true, "davstorage.request_timeout": 3600, "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425", "htaccess.RewriteBase": "\/", "dbpersistent": false, "auth.bruteforce.protection.enabled": true, "ratelimit.protection.enabled": true, "files_external_allow_create_new_local": true, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***", "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***", "memories.db.triggers.fcu": true, "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-musl", "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64", "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg", "memories.vod.ffprobe": "\/usr\/bin\/ffprobe", "default_phone_region": "SE", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "memories.gis_type": 2, "updater.release.channel": "stable", "updatechecker": false, "data-fingerprint": "3a7b7fb10445bdab7085cdaf526a7648", "facerecognition.external_model_url": "nextcloud-aio-facerecognition:5000", "facerecognition.external_model_api_key": "***REMOVED SENSITIVE VALUE***", "enabledFaceRecognitionMimetype": [ "image\/jpeg", "image\/png", "image\/heic", "image\/tiff", "image\/webp" ], "memories.vod.disable": false, "memories.vod.external": true, "memories.vod.connect": "nextcloud-aio-memories:47788", "serverid": 473, "log_type_audit": "file", "logfile_audit": "\/var\/www\/html\/data\/audit.log", "app_install_overwrite": [ "occweb" ], "DOMAIN": "nextcloud.enghult.se", "AIO_VERSION": "v13.0.4" }}
Apps
The output of occ app:list (if possible).
Tips for increasing the likelihood of a response
- Use the
preformatted textformatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.