Seafile on Univention virus scan

Hello,

I’m running seafile server as part of univention cooperate server. My seafile server version is 7.0.10. I installed and configured clamav according to: seafile-manual ““deploy_clamav_as_daemon.md”. Testing using clamdscan works without any issues.” However if I run “pro.py virus_scan” I get the following messages: "Virus scan for file / encounter error: [Errno 2] No such file or directory.

I think it has to do that seafile is running as a docker image and clamav is running on the host. Are there any instructions on how to get the virus scan working with a “dockerized” seafile server.

Any help welcome
Alex

Hello afranken,
as far as I know this is not possible. Seafile “passes” the files to a local antivirus-engine that has to be installed on the same (docker-)system.

Another possibility could be to use two docker containers and define the second to be the “background-task” server - but this is right now more a theoretical approach. I never tested this before.

Best regards
Christoph