Open Bables55 opened 2 years ago
I have resolved the "File with id 847" issue with the above NC log. It was broken, in a state like a bug in NC. However, the "Tried to scan non file" error continues to occur.
{"reqId":"Y1zS6SWbN94nQBIKV4eB","level":4,"time":"2022-05-11T13:12:01+09:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"23.0.4.1","id":"627b43c6a8fb0"}
How can this obstacle be tracked?
Is this a problem on the side of ClamAV itself or the Antivirus for files app? Or my NC file structure? At least I just disable the Antivirus for Files app and error output in the NC logs stops.
I scanned the NC data directory using the command line. And there was no error output. What is the Antivirus for Files app doing every 15 minutes? What area is it going to inspect?
Is there any way to find out where this application is scrutinized?
Is there a way to unconditionally stop any errors that "Antivirus for files" outputs?
Version 4.0.0 seemed to resolve this issue, but after updating to 4.0.1, it reoccurred.
{"reqId":"********","level":3,"time":"2023-07-03T04:00:16+02:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"26.0.3.2","data":{"app":"files_antivirus"},"id":"*******"}
Same here since update to 5.2.1
Same for me. It seems to be a NC issue as clamav itself does not produce an error entry in its logs. Deinstalling and reinstalling antivirus for files didn't help NC 26.0.3 and AV 5.2.1
Same problem here. I set up a new nextcloud instance with docker and clamav in a separate container. Everything works just that error spamming all 15-30 mins.
Having the same issue with 5.2.1 and NC 27.0.0.
{"reqId":"***","level":3,"time":"2023-07-06T08:35:06+02:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"27.0.0.8","data":{"app":"files_antivirus"}}
same: NC - 24.0.12, Antivirus for files: 5.2.1, Clam - 1.1.0_1,1
{"reqId":"8nepi0LvIqgzQRoPiGTe","level":3,"time":"2023-07-11 17:15:05","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"24.0.12.1","data":{"app":"files_antivirus"}}
Same since NC 26.0.3
{"reqId":"ZVRGABClZYy694iZzmI1","level":3,"time":"2023-07-12T13:50:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"26.0.3.2","data":{"app":"files_antivirus"},"id":"64aeb0598a6ab"}
idem NC 27: {"reqId":"LjskTpyIO0WO2Y3cUjVq","level":3,"time":"2023-07-19T17:15:01+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"27.0.0.8","data":{"app":"files_antivirus"},"id":"64b81ba1c1503"}
NC 26: {"reqId":"ee1HvVrtePhRb8dHqage","level":3,"time":"2023-07-19T17:10:01+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"26.0.3.2","data":{"app":"files_antivirus"},"id":"64b81be960a81"}
Idem NC: 27.0.1 Antivirus for files: 5.2.1 ClamAV (Docker): stable
I just started getting this error today as well. I'm on Antivirus for files: 5.2.1 and it is filling my logs. {"reqId":"xJQG7Am34VcwYmUUCp2K","level":3,"time":"2023-07-26T08:46:56-04:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"27.0.1.2","data":{"app":"files_antivirus"}}
log is full of that:
remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"Tried to scan non file","userAgent":"--","version":"26.0.4.2","data":{"app":"files_antivirus"},"id":"xxxxx"}
[files_antivirus] Fehler: Tried to scan non file
Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file | | vor 14 Minuten Fehler | files_antivirus | Tried to scan non file
Steps to reproduce
Expected behaviour
No error is output.
Actual behaviour
A set of one error and 99 fatal errors occur every 20 minutes.
Server configuration
Operating system: CentOS 7.8 Web server: nginx 1.20.1 Database: MariaDB 10.2.44 PHP version: PHP 8.0.10 Nextcloud version: (see Nextcloud admin page) 22.1.1
Nextcloud configuration:
Logs
Nextcloud log (data/owncloud.log)