Files are going missing

Greetings. I am starting my own thread as I am not finding any solutions by searching. I am noticing that over a period of a few days, after photos are successfully uploaded from my iphone to my nextcloud instance, that they become unaccessible. In fact, I am seeing them no longer in nextcloud all together. The photos are still in my iphone photos though. I have a bunch of errors similar to this:
{“reqId”:“2rpsSI5xrrbGgwHpa5JJ”,“level”:3,“time”:“2024-02-12T17:21:02+00:00”,“remoteAddr”:“”,“user”:“”,“app”:“webdav”,“method”:“GET”,“url”:“/remote.php/dav/files//Photos/2024/IMG_3267.jpg”,“message”:“Could not open file”,“userAgent”:“Mozilla/5.0 (Windows NT 10.
0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36”,“version”:“28.0.2.5”,“exception”:{“Exception”:“Sabre\DAV\Exception\ServiceUnavailable”,“Message”:“Could not open file”,“Code”:0,“Trace”:[{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/CorePlugin.ph
p”,“line”:85,“function”:“get”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpGet”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/
Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:253,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/3rdparty/sabre/dav/lib/DAV/Server.php”,"
line":321,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/dav/lib/Server.php”,“line”:370,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:35,“function”:“exec”,“c
lass”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/app/www/public/remote.php”,“line”:172,“args”:[“/config/www/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/config/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php”,“Line”:505,“message”:“Could not open file”,"
exception":{},“CustomMessage”:“Could not open file”}}

I can provide other logs, but am not sure what to provide. I have had this issue, plus preview issues, and I don’t recall what I did to resolve this stuff last time, but need to find a solution as I cannot offer this service to others until I have a stable working system.

I am running the linuxserver/nextcloud docker on unraid.

Nextcloud version: 28.0.2

Hey,

we’ve had this exact Issue because we hadn’t updated our php after our upgrade to 28.0.2.

The Issue was resolved when we switched from php8.1 to php8.3

hope this helps