Some NextCloud synced files get corrupted

Hello,

our users are facing problems with files that are synced using NextCloud and local client program, some of files get corrupted.

NextClient desktop version: 3.9.3
Operating system: Linux 5.15.0-72-generic #79-Ubuntu SMP Wed Apr 19 08:22:18 UTC 2023 x86_64
Webserver: Apache (fpm-fcgi)
Database: mysql 8.0.34
PHP version: 8.1.20

Modules loaded: Core, date, libxml, openssl, pcre, zlib, bcmath, bz2, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gmp, json, iconv, intl, SPL, ldap, mbstring, pcntl, PDO, session, posix, Reflection, standard, SimpleXML, mysqlnd, exif, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, pdo_mysql, cgi-fcgi, redis, Zend OPcache

Nextcloud version: 26.0.4 - 26.0.4.2

I don’t see any errors in nextcloud.log file.

I can also provide a sample of corrupted file.

Any idea why this is happening?

Thank you!