Unable to update Talk and CODE

As stated, I’m unable to update Talk (spreed) to 21.0.1 and CODE (richdocumentscode) to 24.4.1302

The Basics

  • Nextcloud Server version :
    • 31.0.0 - 31.0.0.18
  • Operating system and version :
    • Linux 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 (in a Docker container, using latest nextcloud:fpm image)
  • Web server and version :
    • nginx/1.23.3 (fpm-fcgi)
  • Reverse proxy and version
    • nginx/1.23.3 (fpm-fcgi)
  • PHP version :
    • 8.3.17
  • Is this the first time you’ve seen this error? :
    • yes
  • When did this problem seem to first start?
    • just now when I tried to update
  • Installation method
    • latest Nextcloud:fpm Docker image
  • Are you using CloudfIare, mod_security, or similar?
    • no

Summary of the issue you are facing:

Not able to update Talk and CODE. However I was able to update Contacts and Calendar

Steps to replicate it :

  1. Go to Admin > Applications > Updates > Update Talk or CODE
  2. or on the command-line : ./occ app:update --all

Log entries

In the Admin panel, just this (quite unhelpful) alert (forgive my French :slightly_smiling_face:) :

Une erreur s'est produite pendant la demande. Impossible de poursuivre.
Impossible de mettre à jour l'app.

On the command-line :

$ ./occ app:update --all
spreed new version available: 21.0.1
PHP Notice:  fwrite(): Write of 334 bytes failed with errno=28 No space left on device in /var/www/html/lib/private/Log/File.php on line 58
spreed couldn't be updated
richdocumentscode new version available: 24.4.1302
PHP Notice:  fwrite(): Write of 296 bytes failed with errno=28 No space left on device in /var/www/html/lib/private/Log/File.php on line 58
PHP Notice:  fwrite(): Write of 334 bytes failed with errno=28 No space left on device in /var/www/html/lib/private/Log/File.php on line 58
richdocumentscode couldn't be updated
PHP Notice:  fwrite(): Write of 333 bytes failed with errno=28 No space left on device in /var/www/html/lib/private/Log/File.php on line 58

I read here that it could be related to the available space on /tmp ; I checked the available space on the filesystems (Nextcloud Docker image defaults), there seems to be plenty of space :

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay          48G   46G  133M 100% /
tmpfs            64M     0   64M   0% /dev
/dev/md5         48G   46G  133M 100% /sessions
shm              64M     0   64M   0% /dev/shm
/dev/md3         20G  5.2G   13G  29% /etc/timezone
/dev/md7        313G   74G  224G  25% /var/www/html/data
tmpfs           7.8G     0  7.8G   0% /proc/acpi
tmpfs           7.8G     0  7.8G   0% /sys/firmware
tmpfs           7.8G     0  7.8G   0% /sys/devices/virtual/powercap

Nextcloud

No error show in the Administration settings->Logging

Just this entry in nextcloud.log

{"reqId":"YMc979GfecQ6tMoZ2nhf","level":3,"time":"2025-03-22T09:02:16+00:00","remoteAddr":"37.67.24.244","user":"manu","app":"no app in context","method":"GET","url":"/settings/apps/update/spreed","message":"Could not extract app spreed: Error while opening {/tmp/oc_tmp_z3UQbA-folder/spreed/js/talk-defaultVendors-node_modules_nextcloud_vue_dist_chunks_NcCheckboxRadioSwitch-CCuKA55c_mjs.js} in write binary mode","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36","version":"31.0.0.18","exception":{"Exception":"Exception","Message":"Could not extract app spreed: Error while opening {/tmp/oc_tmp_z3UQbA-folder/spreed/js/talk-defaultVendors-node_modules_nextcloud_vue_dist_chunks_NcCheckboxRadioSwitch-CCuKA55c_mjs.js} in write binary mode","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Installer.php","line":144,"function":"downloadApp","class":"OC\\Installer","type":"->","args":["*** sensitive parameters replaced ***",false]},{"file":"/var/www/html/apps/settings/lib/Controller/AppSettingsController.php","line":612,"function":"updateAppstoreApp","class":"OC\\Installer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":200,"function":"updateApp","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"updateApp"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function

Web server / Reverse Proxy

The output of nginx

nginx_1      | 37.67.24.244 - - [22/Mar/2025:10:33:37 +0100] "GET /settings/apps/update/spreed HTTP/2.0" 500 62 "-" "Mozil
la/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36" "-"(/var/www/html/nextcl
oud/index.php -> GET /settings/apps/update/spreed HTTP/2.0)[ pathinfo :  / uri : /index.php ]

Configuration

Nextcloud

The output of occ config:list system

{
    "system": {
        "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
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.alchimie-web.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.0.18",
        "overwrite.cli.url": "https:\/\/cloud.alchimie-web.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "default_phone_region": "FR",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "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": false,
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [
            "admin"
        ],
        "twofactor_enforced_excluded_groups": [],
        "log_type": "file",
        "logfile": "nextcloud.log",
        "loglevel": 2,
        "maintenance_window_start": 1,
        "allow_local_remote_servers": true,
        "theme": ""
    }
}

Apps

The output of occ app:list

Enabled:
  - activity: 4.0.0
  - app_api: 5.0.2
  - bookmarks: 15.1.0
  - bruteforcesettings: 4.0.0
  - calendar: 5.2.0
  - circles: 31.0.0-dev.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.0.4
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - deck: 1.15.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.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
  - firstrunwizard: 4.0.0
  - gpxpod: 7.0.4
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.11.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0-dev.1
  - polls: 7.4.1
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - richdocuments: 8.6.3
  - richdocumentscode: 24.4.1204
  - 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
  - tasks: 0.16.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - admin_audit: 1.21.0
  - drawio: 3.0.3 (installed 3.0.3)
  - encryption: 2.19.0
  - files_external: 1.23.0
  - maps: 1.5.0 (installed 1.5.0)
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1 (installed 1.19.0)
  - twofactor_nextcloud_notification: 5.0.0
  - user_ldap: 1.22.0

/ is full it seems. While your data directory still has space, the Nextcloud installation does not.

Thanks for this hint. Do you have a suggestion as to what I could/should do ?

/ (in the container) maps to /var/lib/docker on the host ; I had made it 50 GB, it seemed enough…
I’m starting with some cleanup of old docker images and stuff.

Should I mount part of the Nextcloud image filesystem on the host, so as not to overload the Nextcloud container ?

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