External Storage does not work

I have mounted an external drive for 4 users. For the 3 of the users it works and they are able to see the files. But not for the last one.
Permissions on the NAS is the same. If I log in to the drive from my Mac with the same credentials it also works but not from Nextcloud.

In the log I get the following error.

  "reqId": "uFbYNHI1REsYwVKpR5w4",
  "level": 3,
  "time": "2024-06-22T19:00:39+00:00",
  "remoteAddr": "",
  "user": "jma",
  "app": "PHP",
  "method": "PROPFIND",
  "url": "/remote.php/dav/files/jma/Photo",
  "message": "Undefined array key \"attributes\" at /var/www/domains/xxxx/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#155",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15",
  "version": "",
  "data": {
    "app": "PHP"
  "id": "667721ac9efd3"

I have no idea where that IP address “remoteAddr”: “”, comes from. It should be Maybe that’s the problem.

I have tried to use grep on the files but the IP address is not there.