Files stuck, cannot remove, cannot decrypt

Hi folks,

CONFIG:
I’m using the AIO docker image

 nextcloud:
    container_name: nextcloud-aio-mastercontainer
    restart: always
    environment:
      - NEXTCLOUD_DATADIR=/Server/Cloud
      - SKIP_DOMAIN_VALIDATION=true
      - APACHE_PORT=11000
      - NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-packets-permanently-to-the-nextcloud-container
      - NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS=imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container
      - TALK_PORT=3478 #
      - NEXTCLOUD_MEMORY_LIMIT=16384M
    ports:
      - 8080:8080
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be hanged
      - /var/run/docker.sock:/var/run/docker.sock:ro
    image: nextcloud/all-in-one:latest

PROBLEM
I’ve been having an issue with files not being able to be removed. It was because of some encryption error messages.
Now, I’ve run the following command to see if I can get them “unstuck”

occ encryption:decrypt-all

But some files give the error:

Files for following users couldn't be decrypted, 
maybe the user is not set up in a way that supports this operation: 

And then a list of files… all combined, around 200 files are stuck this way.

Trying to remove a file or move a file that is stuck this way gives the following error:

[webdav] Fout: Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa.
	MOVE /remote.php/dav/files/karel/The%20Comprehensive%20Manual%20of%20Therapeutic%20Exercises%20Orthopedic%20and%20General%20Conditions%20by%20Elizabeth%20Bryan%20(z-lib.org).pdf
	from 192.168.5.1 by karel at 29 apr 2024 10:21:55
{"reqId":"aHlyd6BR4vRDgsCQta8Z","level":3,"time":"2024-04-29T08:21:55+00:00","remoteAddr":"192.168.5.1","user":"karel","app":"webdav","method":"MOVE","url":"/remote.php/dav/files/karel/The%20Comprehensive%20Manual%20of%20Therapeutic%20Exercises%20Orthopedic%20and%20General%20Conditions%20by%20Elizabeth%20Bryan%20(z-lib.org).pdf","message":"Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0","version":"28.0.4.1","exception":{"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden","Message":"Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa.","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"checkLock","class":"OCA\\EndToEndEncryption\\Connector\\Sabre\\LockPlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:MOVE",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/LockPlugin.php","Line":117,"message":"Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa.","exception":[],"CustomMessage":"Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa."},"id":"662f58abb7e12"}