Looks like "NEXTCLOUD_ENABLE_DRI_DEVICE=true" not working

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Actual AIO Version
  • Operating system and version (e.g., Ubuntu 24.04):
    • up-to-date Debian 13
    • Kernel: 6.17.13+deb13-amd64
    • mesa: 25.2.6-1~bpo13+1
  • Web server and version (e.g, Apache 2.4.25):
    • Actual AIO Version, not relevant
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NPM, not relevant
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After installed my graphics card and trying to use it in AIO
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No
  • Docker is used via Portainer
    • nextcloud is created a “stack” in Portainer

Summary of the issue you are facing:

After installing my new card I would love to see some pressure on it. Instead it is completly idle…

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

  1. Installed my new “Intel Arc Pro B50”

  2. After first boot installed “linux-firmware” and rebooted

  3. Updated Kernel from “6.12.63+deb13-amd64” to “6.17.13+deb13-amd64” and rebooted

  4. Updated mesa from “25.0.7-2” to “25.2.6-1~bpo13+1” and rebooted

  5. Stopped AIO-Mastercontainer and deleted it.

  6. recreated AIO-Mastercontainer with “NEXTCLOUD_ENABLE_DRI_DEVICE=true” (compose-file see below)

  7. Stopped and started all AIO Containers via Master Web frontend (https://my-ip:8088/containers)

  8. checked all containers for /dev/dri entry, found nothing

  9. nvtop shows no GPU usage, AI is still extremly slow

Log entries

docker-compose:

services:
  nextcloud-aio-mastercontainer:
    image: nextcloud/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    ports:
      - 8088:8080
    environment:
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=127.0.0.1
      - NEXTCLOUD_DATADIR=/srv/nextcloud_aio/data
      - NEXTCLOUD_MOUNT=/srv/nextcloud_aio/external
      - NEXTCLOUD_MEMORY_LIMIT=1024M
      - NEXTCLOUD_ENABLE_DRI_DEVICE=true
      - BORG_RETENTION_POLICY=--keep-within=7d --keep-weekly=8 --keep-monthly=12
volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer

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.

There are no related log entries.

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
            }
        ],
        "appsallowlist": false,
        "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
        },
        "overwritehost": "wolke.wellmann.wtf",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "wolke.wellmann.wtf",
            "172.17.0.1"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.3.2",
        "overwrite.cli.url": "https:\/\/wolke.wellmann.wtf\/",
        "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": 1024,
        "preview_max_y": 1024,
        "jpeg_quality": 60,
        "enabledPreviewProviders": {
            "0": "OC\\Preview\\Imaginary",
            "1": "OC\\Preview\\MP3",
            "2": "OC\\Preview\\TXT",
            "3": "OC\\Preview\\OpenDocument",
            "4": "OC\\Preview\\Movie",
            "5": "OC\\Preview\\Krita",
            "6": "OC\\Preview\\ImaginaryPDF",
            "7": "OC\\Preview\\HEIC",
            "8": "OC\\Preview\\ImaginaryPDF",
            "9": "OC\\Preview\\Image",
            "10": "OC\\Preview\\TIFF",
            "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",
        "allow_local_remote_servers": true,
        "davstorage.request_timeout": 3600,
        "htaccess.RewriteBase": "\/",
        "dbpersistent": false,
        "files_external_allow_create_new_local": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_sendmailmode": "smtp",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "default_phone_region": "DE",
        "default_locale": "de_DE",
        "default_language": "de",
        "default_timezone": "Europe\/Berlin",
        "allow_user_to_change_display_name": true,
        "skeletondirectory": "",
        "logtimezone": "Europe\/Berlin",
        "preview_concurrency_all": 16,
        "preview_concurrency_new": 8,
        "preview_max_memory": 512,
        "sharing.minSearchStringLength": 1,
        "maintenance_window_start": 100,
        "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
        "auth.bruteforce.protection.enabled": true,
        "ratelimit.protection.enabled": true,
        "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
        "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",
        "updatechecker": false,
        "DOMAIN": "wolke.wellmann.wtf"
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 5.0.0-dev.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - assistant: 2.12.0
  - bruteforcesettings: 5.0.0-dev.0
  - calendar: 6.1.5
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - collectives: 3.5.0
  - comments: 1.22.0
  - contacts: 8.2.1
  - contactsinteraction: 1.13.1
  - context_chat: 5.2.0
  - cookbook: 0.11.5
  - cospend: 3.2.0
  - dashboard: 7.12.0
  - dav: 1.34.2
  - deck: 1.16.3
  - eidlogin: 1.0.19
  - end_to_end_encryption: 1.18.0
  - federatedfilesharing: 1.22.0
  - files: 2.4.0
  - files_antivirus: 6.1.0
  - files_archive: 1.2.8
  - files_automatedtagging: 3.0.2
  - files_bpm: 1.7.3
  - files_downloadlimit: 5.0.0-dev.0
  - files_external: 1.24.0
  - files_fulltextsearch: 32.0.2
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - forms: 5.2.3
  - fulltextsearch: 32.0.0
  - fulltextsearch_elasticsearch: 32.0.2
  - groupfolders: 20.1.7
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - mail: 5.6.7
  - memories: 7.7.0
  - music: 2.5.1
  - nextcloud-aio: 0.8.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notes: 4.12.4
  - notifications: 5.0.0-dev.0
  - notify_push: 1.3.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - passwords: 2025.12.21
  - photos: 5.0.0-dev.1
  - polls: 8.6.2
  - previewgenerator: 5.11.0
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - qownnotesapi: 25.8.0
  - recognize: 10.0.7
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - richdocuments: 9.0.2
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - socialsharing_bluesky: 4.0.1
  - socialsharing_diaspora: 4.0.1
  - socialsharing_facebook: 4.0.1
  - socialsharing_telegram: 4.0.1
  - socialsharing_twitter: 4.0.1
  - socialsharing_whatsapp: 4.0.1
  - spreed: 22.0.8
  - support: 4.0.0-dev.0
  - systemtags: 1.22.0
  - tables: 1.0.2
  - tasks: 0.17.1
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_totp: 14.0.0
  - updatenotification: 1.22.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - whiteboard: 1.5.2
  - workflow_ocr: 1.32.1
  - workflowengine: 2.14.0
Disabled:
  - dicomviewer: 2.3.1 (installed 2.3.1)
  - duplicatefinder: 1.7.3 (installed 1.7.3)
  - encryption: 2.20.0
  - federation: 1.22.0 (installed 1.17.0)
  - maps: 1.6.0 (installed 1.6.0)
  - money: 0.31.0 (installed 0.31.0)
  - news: 27.2.0 (installed 27.2.0)
  - survey_client: 4.0.0-dev.0 (installed 1.15.0)
  - suspicious_login: 10.0.0-dev.0
  - twofactor_nextcloud_notification: 6.0.0-dev.0
  - user_ldap: 1.23.0

Thanks for helping!

The most important spot: does it appear on your host? The containers can’t have it if the host doesn’t.

Yes, the GPU is fully working.

ls -lah /dev/dri/ output on host:

nvtop output:

grafik

Perhaps add www-data to the group that has access to the device file.

Hi, can you specify what kind of local AI you are using?

Steps ro reproduce:

  1. Click on the AI Icon in the top right corner and select “Chat with AI”
  2. Ask: “Wann wurde die DDR gegründet?” (English: When was the GDR founded?)
  3. Wait nearly an hour … get no answer
  4. GPU utilisation in nvtop: 0.00%

Some more infos about my Setup:

My AIO Containers:

  • nc_app_workflow_ocr_backend
  • nc_app_llm2
  • nc_app_context_chat_backend
  • nextcloud-aio-apache
  • nextcloud-aio-clamav
  • nextcloud-aio-collabora
  • nextcloud-aio-database
  • nextcloud-aio-docker-socket-proxy
  • nextcloud-aio-fulltextsearch
  • nextcloud-aio-imaginary
  • nextcloud-aio-mastercontainer
  • nextcloud-aio-nextcloud
  • nextcloud-aio-notify-push
  • nextcloud-aio-redis
  • nextcloud-aio-talk
  • nextcloud-aio-talk-recording
  • nextcloud-aio-whiteboard

My Assistant settings:

As a small reminder:

The Intel Arc Pro B50 does not use the i915 driver! It uses the xe driver!

The “The Context Chat Backend is not installed or not responding” message on your context chat page should be generating associated log entries.

https://docs.nextcloud.com/server/latest/admin_manual/ai/app_context_chat.html#logs

Good news first:

  • The “The Context Chat Backend is not installed or not responding” message is gone. Problem was, that AIO updated context_chat to 5.2.0 while context_chat_backend stayed 5.1.0 which is not compatible (Since this could break context_chat on every new App Version, I will create an issue for that later on GitHub).
  • I don’t know why, but: /dev/dri is visible in 2 out of 19 containers now:
    • nextcloud-aio-nextcloud
    • nextcloud-aio-talk-recording

Now the bad News:

  • The card is still not used where it is needed. I don’t fully understand the architecture behind nextcloud AI Integration, but I think it should be used in the following two containers:
    • nc_app_llm2
    • nc_app_context_chat_backend

Again the things I want to do:

  • Using “Chat with AI”
  • Using “Context Chat”
  • Using recognise for Face recognition, Object detection and landmark recognition
    • EDIT: Okay, it seems I can use my graphics card here, when I use the community Containers
      • “Memories Transcoder”
      • “Computing container for facerecognition” (discontinued)
    • right?

BTW: I had lots of errors like this in my config:

After checking all my configs again for the Chat-backend issue I found my config.php setting "preview_max_memory": 512 meanwhile the docker env says NEXTCLOUD_MEMORY_LIMIT=1024M. After changing the first value to 1024 this error no longer occurs. Is this intended, or a bug?