Open affemogaffe opened 8 months ago
This seems to be an issue with files_fulltextsearch in combination with per-user key encryption.
You may be able to get a bit more certainty about the broader code path this is flowing through by temporarily enabling log.backtrace
:
The files themselves can be opened without errors both from the web interface and the desktop drive.
But can they even be searched via FTS successfully? Or is the log noise truly your primary concern?
Yeah, sorry for not including that rather important info, the files cannot be searched via FTS successfully. I enabled log.backtrace, and almost all lines produced when uploading a testfile include "app":"files_fulltextsearch"
or "app":"fulltextsearch_elasticsearch"
.
⚠️ This issue respects the following points: ⚠️
Bug description
The log is clogged up with error messages when uploading files (See exact error message below). All user accounts are affected. This seems to be an issue with files_fulltextsearch in combination with per-user key encryption. Even though the error message does not indicate a specific app, it is only encountered when files_fulltextsearch is enabled (doesnt't happen if only fulltextsearch and fulltextsearch_elasticsearch are enabled). The error message appears whenever a human-readable file is uploaded. If e.g. a .dll file is uploaded, no error messages occur. If the file extension is changed from .dll to .txt, the error occurs immediately. The files themselves can be opened without errors both from the web interface and the desktop drive.
Steps to reproduce
Expected behavior
No errors in the logs
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response