Error: [Excel: Sharing violation. Try saving to a different file.]

Nextcloud version (eg, 20.0.5): 22.2.3-Stable
Operating system and version (eg, Ubuntu 20.04): TrueNAS 12.0 STABLE
Apache or nginx version (eg, Apache 2.4.25): nginx 1.20.1
PHP version (eg, 7.4): php 7.4.25

The issue you are facing:
Cant save Excel files with size larger than 10MB, indicating “Sharing Violation”

Is this the first time you’ve seen this error? (Y/N):
YES
Steps to replicate it:

  1. Save Excel file size morethan 10MB to Nextcloud folder
  2. Edit excel and save.
  3. Error will occur (Sharing violation, Try saving to a different file.

The output of your Nextcloud log in Admin > Logging:

May not related to the Error  but here: https://pastebin.com/gbzBMfnP

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

https://pastebin.com/bHVaDD7u

The output of your Apache/nginx/system log in /var/log/____:

https://pastebin.com/ifM860Td

Note: my current solution is pause the sync before saving then resume.