Attached files disappeared in all Talk conversations

Hello,

I’m using Nextcloud Talk basically exclusive within the family for communication / occasional file share. While it is clear to me, that Talk is not designed with file sharing in mind, this just works in my setup and somehow is acceptable for the users with different level of tech skills.

Recently I’ve noticed, that all the files shared in the converstaions are unavailable. They however still remain in /Talk folder. I have no idea what happened and where to start looking for clues. Googling didn’t helped me so far.

Newly shared files works with no issues (so far).

The Basics

  • Nextcloud Server version (e.g., 29.x.x):

    • 31.0.9 (although I've also tested update up to 32.0.1 but it did not help and eventually I broke it even more, so I've restored from backup to 31.0.9)

    Operating system and version (e.g., Ubuntu 24.04):

    • Debian 11
  • Web server and version (e.g, Apache 2.4.25):

    • Apache 2.4.65
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • -
  • PHP version (e.g, 8.3):

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

    • Yes, since about a week, not sure when it started
  • When did this problem seem to first start?

    • Between 1 week and 1 month ago
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • Bare Metal long time ago, I cannot remember details, very possible I've migrated from OwnCloud.
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • No

Summary of the issue you are facing:

All my conversations (accessed on all the clients - via Android app, Linux app, or through browser (any), and on all ends - meaning other people in these conversations observe the same) have “You shared a file that is no longer available” (or similar, I’m translating back from polish). This applies to all the files from all the conversations where I shared something (mainly images). It even happened in the “Note to myself” conversation.

All these files still exist in the /Talk directory of my account.

It looks like they were somehow massively and at once “unshared” or “expired” - although I’ve checked the settings of these conversations, and they all have “never expire”.

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

  1. It just happened and remains this way. All the clients (web / mobile) share it.

  2. Newly shared files remain shared, nothing happens to them so far.

Log entries

Nextcloud

I’m not sure even when to search in the logs, if you can suggest anything worth grep-ing the logs, then I can do it.

Configuration

Nextcloud

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "dbtype": "mysql",
        "version": "31.0.9.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "tls",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "mysql.utf8mb4": true,
        "updater.release.channel": "stable",
        "skeletondirectory": "",
        "trashbin_retention_obligation": "auto, 7",
        "versions_retention_obligation": "7, auto",
        "has_internet_connection": true,
        "connectivity_check_domains": [
            "www.nextcloud.com",
            "www.google.com"
        ],
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud.log",
        "default_phone_region": "PL",
        "app_install_overwrite": [
            "printer",
            "news",
            "keeweb",
            "diary",
            "snappymail"
        ],
        "has_rebuilt_cache": true,
        "memories.exiftool": "***REMOVED PATH***",
        "memories.vod.path": "***REMOVED PATH***",
        "memories.vod.ffmpeg": "***REMOVED PATH***",
        "memories.vod.ffprobe": "***REMOVED PATH***",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie"
        ],
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "memories.db.triggers.fcu": true,
        "maintenance_window_start": 3,
        "defaultapp": "files",
        "allowed_admin_ranges": [
            "127.0.0.1\/8",
            "***REMOVED SUBNET***"
        ],
        "memories.gis_type": 1
    }
}

Apps

Enabled:

  • admin_audit: 1.21.0
  • app_api: 5.0.2
  • bookmarks: 15.2.0
  • bruteforcesettings: 4.0.0
  • calendar: 5.5.7
  • checksum: 1.2.6
  • cloud_federation_api: 1.14.0
  • contacts: 7.3.4
  • cookbook: 0.11.4
  • dav: 1.33.0
  • dicomviewer: 2.3.1
  • federatedfilesharing: 1.21.0
  • files: 2.3.1
  • 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
  • keeweb: 0.6.22
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • memories: 7.7.0
  • metadata: 0.23.0
  • news: 27.0.1
  • nextcloud_announcements: 3.0.0
  • notes: 4.12.3
  • notifications: 4.0.0
  • oauth2: 1.19.1
  • password_policy: 3.0.0
  • phonetrack: 0.9.1
  • photos: 4.0.0
  • previewgenerator: 5.10.0
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • related_resources: 2.0.0
  • secrets: 2.1.4
  • serverinfo: 3.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • snappymail: 2.38.2
  • spreed: 21.1.5
  • 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.4.1
  • updatenotification: 1.21.0
  • viewer: 4.0.0
  • webhook_listeners: 1.2.0
  • workflow_script: 2.0.0
  • workflowengine: 2.13.0
    Disabled:
  • activity: 4.0.0 (installed 2.13.4)
  • circles: 31.0.0 (installed 25.0.0)
  • comments: 1.21.0 (installed 1.10.0)
  • contactsinteraction: 1.12.0 (installed 1.6.0)
  • dashboard: 7.11.0 (installed 7.5.0)
  • encryption: 2.19.0
  • federation: 1.21.0 (installed 1.10.1)
  • firstrunwizard: 4.0.0 (installed 2.9.0)
  • recommendations: 4.0.0 (installed 0.8.0)
  • support: 3.0.0 (installed 1.3.0)
  • survey_client: 3.0.0 (installed 1.8.0)
  • suspicious_login: 9.0.1
  • systemtags: 1.21.1 (installed 1.10.0)
  • user_ldap: 1.22.0
  • user_status: 1.11.0 (installed 1.0.1)
  • weather_status: 1.11.0 (installed 1.5.0)