Update to Nextcloud 24.0.4: Creation of shares generates errors

Hi,

After I updated my Nextcloud instance to version 24.0.4.1, shares can no longer be created. Instead, the following error message appears in the log:

[no app in context] Fehler: Exception: Call to undefined method OC\Share20\Share::newAttributes() in file ‘/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php’ line 1885 at <>

  1. /var/www/html/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
  2. /var/www/html/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
  3. /var/www/html/nextcloud/ocs/v1.php line 62
    OC\Route\Router->match()
  4. /var/www/html/nextcloud/ocs/v2.php line 23
    require_once(“/var/www/html/nextcloud/ocs/v1.php”)

POST /ocs/v2.php/apps/files_sharing/api/v1/shares
from xx.xx.xx.xx by xxx at 2022-08-23T19:37:14+02:00

Even existing shares can no longer be used - “Server Error”. Where could the problem be?

Michael

A server-reboot solved the problem… :roll_eyes: