Error deleting a file

Hello everyone,
i’ve been battling this for a while. We have a single file in shared folder that nobody can not open or delete.
When we try to delete it, we get an error "error deleting a file . Below is an error i see in the Loggs. This file is visible only in web interface. the Next Cloud client (on all devices) always throws an error for this file that in can not decrypt this file.

OC\Encryption\Exceptions\DecryptionFailedException: Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.

This is the only file that we have an error with, all other files/folders we can create/delete no issues.

Any idea how to fix/resolve it?

OC\Encryption\Exceptions\DecryptionFailedException: Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.

0. /usr/share/nginx/nextcloud/lib/private/Files/Stream/Encryption.php - line 520: OCA\Encryption\Crypto\Encryption->decrypt("*** sensiti ... *")
1. /usr/share/nginx/nextcloud/lib/private/Files/Stream/Encryption.php - line 318: OC\Files\Stream\Encryption->readCache()
2. <<closure>>OC\Files\Stream\Encryption->stream_read()
3. /usr/share/nginx/nextcloud/lib/private/legacy/OC_Helper.php - line 260: fread()
4. /usr/share/nginx/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php - line 755: OC_Helper::streamCopy()
5. /usr/share/nginx/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php - line 651: OC\Files\Storage\Wrapper\Encryption->copyBetweenStorage()
6. /usr/share/nginx/nextcloud/lib/private/Files/Storage/Wrapper/Encryption.php - line 361: OC\Files\Storage\Wrapper\Encryption->copyFromStorage()
7. /usr/share/nginx/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 291: OC\Files\Storage\Wrapper\Encryption->copy()
8. /usr/share/nginx/nextcloud/lib/private/Files/View.php - line 936: OC\Files\Storage\Wrapper\Wrapper->copy()
9. /usr/share/nginx/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 474: OC\Files\View->copy()
10. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 132: OCA\DAV\Connector\Sabre\Directory->copyInto()
11. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 655: Sabre\DAV\Tree->copy()
12. /usr/share/nginx/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89: Sabre\DAV\CorePlugin->httpCopy()
13. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472: Sabre\DAV\Server->emit()
14. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253: Sabre\DAV\Server->invokeMethod()
15. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321: Sabre\DAV\Server->start()
16. /usr/share/nginx/nextcloud/apps/dav/lib/Server.php - line 332: Sabre\DAV\Server->exec()
17. /usr/share/nginx/nextcloud/apps/dav/appinfo/v2/remote.php - line 35: OCA\DAV\Server->exec()
18. /usr/share/nginx/nextcloud/remote.php - line 167: require_once("/usr/share/ ... p")

Delete the file from disk (i.e., log in to server via ssh, cd to path, rm {filename}), then rescan using occ files:scan --all.

Thank you, it seems that did it.

Thanks so much!!!