How to configure Antivirus for files in Nextcloud?

NethServer Version: 8
Module: Nextcloud

Hello friends,

I am currently trying to configure the Antivirus for files app in my Nextcloud. But I keep failing with the settings, none of which work. Can anyone tell me what needs to be set in the app?

Thank you and best regards…

Uwe

Can you explain what you expect, what you are testing and what setting are you trying?

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/antivirus_configuration.html

I actually only expect to be able to run the app in the same way as under NS 7. I use the ClamAV daemon (socket) mode. But I always get the error message “Cannot connect to /var/run/clamav/clamd” when saving: No such file or directory (code 2)

You have installed the mail module right? Otherwise there is no ClamAV running/present. Just checking.

Having said that, Mail is also in a container, so so is ClamAV… and not on the root filesystem

see /home/mail1/.local/share/containers/storage/volumes

(thinking out loud)

cc: @giacomo

1 Like

As @LayLow points out, there’s no clamav.
To make it work, I guess clamav should be installed inside the container, or an additional ns8-clamav app has to be built-up to interact with other containers (allowing mounting clamav socket to container volumes or whatever nextcloud manual says …IDK)

Developers, Markuz or someone else might have some other idea or be able to point it out in a step-by-step guide.

3 Likes

ClamAV as a seperate app discussion here.

1 Like

Yes, Mail has been installed. I quickly realized that it wasn’t working as planned. It was probably a mistake to think that it would work as easily as with NS7.