Skip to content

An error occurred while adding the participants #17905

@schulle877

Description

@schulle877

Tip

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a new room results in Error: "Error while creating the conversation". The room is created without the participants, but I have to reload the page to see the new room
  2. Trying to add a participant in every room results in "An error occurred while adding the participants". After reloading the page, the participant is added, and can join the room.
  3. New users without any rooms can be added to groups with same error but cannot join the call. They even cannot see the new room.

Expected behaviour

New room is created correctly. Adding persons to rooms without errors.

Actual behaviour

See above

Talk app

Talk app version: 23.0.4 (this error occurs since v23)

Custom Signaling server configured: yes - Running version: 9a9ffeb7b2bfa3a50828eb7333e2e931cdcd26b4~docker

Custom TURN server configured: yes

Custom STUN server configured: yes

Browser

Microphone available: yes

Camera available: yes

Operating system: Windows

Browser name: every browser

Browser version: ...

Browser log

Details ``` participantsService.js:93 POST https://example.com/ocs/v2.php/apps/spreed/api/v4/room/uv6e7qvs/participants ```

Server configuration

Operating system: RedHat

Web server: Apache with docker image 33.0.2-apache

Database: Maria

PHP version: Apache with docker image 33.0.2-apache

Nextcloud Version: 33.0.2

List of activated apps:

spreed

Nextcloud configuration:

Details
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Server log (data/nextcloud.log)

Details
{
  "reqId": "uHhRNnZJLEnSpXxBqnCW",
  "level": 3,
  "time": "2026-05-04T14:02:39+00:00",
  "remoteAddr": "192.168.201.124",
  "user": "admin",
  "app": "no app in context",
  "method": "POST",
  "url": "/ocs/v2.php/apps/spreed/api/v4/room/uv6e7qvs/participants",
  "scriptName": "/ocs/v2.php",
  "message": "Class \"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\" not found in file '/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php' line 684",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36",
  "version": "33.0.2.2",
  "exception": {
    "Exception": "Exception",
    "Message": "Class \"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\" not found in file '/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php' line 684",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/html/lib/private/AppFramework/App.php",
        "line": 153,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OCA\\Talk\\Controller\\RoomController"
          },
          "addParticipantToRoom"
        ]
      },
      {
        "file": "/var/www/html/lib/private/Route/Router.php",
        "line": 321,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OCA\\Talk\\Controller\\RoomController",
          "addParticipantToRoom",
          {
            "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
          },
          {
            "_route": "ocs.spreed.room.addparticipanttoroom",
            "apiVersion": "v4",
            "token": "uv6e7qvs"
          }
        ]
      },
      {
        "file": "/var/www/html/ocs/v1.php",
        "line": 61,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/ocsapp/apps/spreed/api/v4/room/uv6e7qvs/participants"
        ]
      },
      {
        "file": "/var/www/html/ocs/v2.php",
        "line": 8,
        "args": [
          "/var/www/html/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
    "Line": 150,
    "Previous": {
      "Exception": "Error",
      "Message": "Class \"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\" not found",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/custom_apps/spreed/lib/Controller/RoomController.php",
          "line": 1527,
          "function": "addUsers",
          "class": "OCA\\Talk\\Service\\ParticipantService",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 205,
          "function": "addParticipantToRoom",
          "class": "OCA\\Talk\\Controller\\RoomController",
          "type": "->",
          "args": [
            "AF5A0695-1F88-4193-BA65-3C7657179395",
            "users"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 118,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            {
              "__class__": "OCA\\Talk\\Controller\\RoomController"
            },
            "addParticipantToRoom"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 153,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            {
              "__class__": "OCA\\Talk\\Controller\\RoomController"
            },
            "addParticipantToRoom"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 321,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OCA\\Talk\\Controller\\RoomController",
            "addParticipantToRoom",
            {
              "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            },
            {
              "_route": "ocs.spreed.room.addparticipanttoroom",
              "apiVersion": "v4",
              "token": "uv6e7qvs"
            }
          ]
        },
        {
          "file": "/var/www/html/ocs/v1.php",
          "line": 61,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": [
            "/ocsapp/apps/spreed/api/v4/room/uv6e7qvs/participants"
          ]
        },
        {
          "file": "/var/www/html/ocs/v2.php",
          "line": 8,
          "args": [
            "/var/www/html/ocs/v1.php"
          ],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php",
      "Line": 684
    },
    "message": "Class \"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\" not found in file '/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php' line 684",
    "exception": "{\"class\":\"Exception\",\"message\":\"Class \\\"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\\\" not found in file '/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php' line 684\",\"code\":0,\"file\":\"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php:150\",\"trace\":\"#0 /var/www/html/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Talk\\Controller\\RoomController), 'addParticipantT...')\\n#1 /var/www/html/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main('OCA\\\\Talk\\\\Contro...', 'addParticipantT...', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#2 /var/www/html/ocs/v1.php(61): OC\\Route\\Router->match('/ocsapp/apps/sp...')\\n#3 /var/www/html/ocs/v2.php(8): require_once('/var/www/html/o...')\\n#4 {main}\",\"previous\":{\"class\":\"Error\",\"message\":\"Class \\\"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\\\" not found\",\"code\":0,\"file\":\"/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php:684\",\"trace\":\"#0 /var/www/html/custom_apps/spreed/lib/Controller/RoomController.php(1527): OCA\\Talk\\Service\\ParticipantService->addUsers(Object(OCA\\Talk\\Room), Array, Object(OC\\User\\User))\\n#1 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Talk\\Controller\\RoomController->addParticipantToRoom('AF5A0695-1F88-4...', 'users')\\n#2 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Talk\\Controller\\RoomController), 'addParticipantT...')\\n#3 /var/www/html/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Talk\\Controller\\RoomController), 'addParticipantT...')\\n#4 /var/www/html/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main('OCA\\\\Talk\\\\Contro...', 'addParticipantT...', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#5 /var/www/html/ocs/v1.php(61): OC\\Route\\Router->match('/ocsapp/apps/sp...')\\n#6 /var/www/html/ocs/v2.php(8): require_once('/var/www/html/o...')\\n#7 {main}\"}}",
    "CustomMessage": "Class \"OCA\\Files_Sharing\\Event\\UserShareAccessUpdatedEvent\" not found in file '/var/www/html/custom_apps/spreed/lib/Service/ParticipantService.php' line 684"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions