Skip to content

Error when moving recording file to groupfolder before transcript is delivered #17281

Description

@pmarini-nc

Hello,

Today, after recording a call, I've got the following error:

{
  "reqId": "4nHkR4miUJBPl1oRD6kd",
  "level": 2,
  "time": "2026-03-05T12:12:16+01:00",
  "remoteAddr": "",
  "user": "--",
  "app": "spreed",
  "method": "",
  "url": "--",
  "scriptName": "occ",
  "message": "Could not save recording transcript as the recording could not be found",
  "userAgent": "--",
  "version": "32.0.6.1",
  "occ_command": [
    "occ",
    "background-job:worker"
  ],
  "data": {
    "app": "spreed",
    "owner": "user1",
    "roomToken": "krxzcdv3",
    "recordingFileId": "218779"
  }
}
{
  "reqId": "4nHkR4miUJBPl1oRD6kd",
  "level": 3,
  "time": "2026-03-05T12:12:16+01:00",
  "remoteAddr": "",
  "user": "--",
  "app": "spreed",
  "method": "",
  "url": "--",
  "scriptName": "occ",
  "message": "An error occurred while processing recording AI follow-up task",
  "userAgent": "--",
  "version": "32.0.6.1",
  "occ_command": [
    "occ",
    "background-job:worker"
  ],
  "exception": {
    "Exception": "InvalidArgumentException",
    "Message": "owner_participant",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/spreed/lib/Recording/Listener.php",
        "line": 93,
        "function": "storeTranscript",
        "class": "OCA\\Talk\\Service\\RecordingService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/spreed/lib/Recording/Listener.php",
        "line": 45,
        "function": "handleTranscriptionEvents",
        "class": "OCA\\Talk\\Recording\\Listener",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
        "line": 57,
        "function": "handle",
        "class": "OCA\\Talk\\Recording\\Listener",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 220,
        "function": "__invoke",
        "class": "OC\\EventDispatcher\\ServiceEventListener",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 56,
        "function": "callListeners",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 67,
        "function": "dispatch",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 79,
        "function": "dispatch",
        "class": "OC\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/TaskProcessing/Manager.php",
        "line": 1177,
        "function": "dispatchTyped",
        "class": "OC\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/TaskProcessing/Manager.php",
        "line": 1026,
        "function": "setTaskResult",
        "class": "OC\\TaskProcessing\\Manager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/TaskProcessing/SynchronousBackgroundJob.php",
        "line": 54,
        "function": "processTask",
        "class": "OC\\TaskProcessing\\Manager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
        "line": 61,
        "function": "run",
        "class": "OC\\TaskProcessing\\SynchronousBackgroundJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php",
        "line": 43,
        "function": "start",
        "class": "OCP\\BackgroundJob\\Job",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php",
        "line": 29,
        "function": "start",
        "class": "OCP\\BackgroundJob\\QueuedJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/core/Command/Background/JobWorker.php",
        "line": 132,
        "function": "execute",
        "class": "OCP\\BackgroundJob\\QueuedJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php",
        "line": 326,
        "function": "execute",
        "class": "OC\\Core\\Command\\Background\\JobWorker",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/core/Command/Base.php",
        "line": 218,
        "function": "run",
        "class": "Symfony\\Component\\Console\\Command\\Command",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/symfony/console/Application.php",
        "line": 1083,
        "function": "run",
        "class": "OC\\Core\\Command\\Base",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/symfony/console/Application.php",
        "line": 324,
        "function": "doRunCommand",
        "class": "Symfony\\Component\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/symfony/console/Application.php",
        "line": 175,
        "function": "doRun",
        "class": "Symfony\\Component\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Console/Application.php",
        "line": 187,
        "function": "run",
        "class": "Symfony\\Component\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/console.php",
        "line": 90,
        "function": "run",
        "class": "OC\\Console\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/occ",
        "line": 33,
        "args": [
          "/var/www/nextcloud/console.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/apps/spreed/lib/Service/RecordingService.php",
    "Line": 195,
    "message": "An error occurred while processing recording AI follow-up task",
    "exception": {},
    "CustomMessage": "An error occurred while processing recording AI follow-up task"
  }
}

While the LocalAI service was generating the transcript, I moved the webm recording file out of its original folder.

I'm not sure if this is a defect or there is some technical reason to prevent the transcript file to be delivered if the original file is renamed and/or moved.

I'm using Talk 22.0.9 on Nextcloud Server 32.0.6.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions