I’m installed antivius app from app store.
First, in the case of mode is Executable,
I have been pointed out that there is no /usr/bin/clamscan when I look at the log. But actually there is clamscan there. I can also run clamscan. Do I need to adjust the path in Nextcloud?
Error no app in context RuntimeException: The antivirus executable could not be found at /usr/bin/clamscan
In the case of Daemon (socket),
It seems there is no permission of sock. Clamav’s conf file specifies “User root” and “DatabaseOwner root”. I can not start unless clamd@scan is root. Nextcloud is not the root user. In this case, how should it be set?
I think that this is general knowledge rather than Nextcloud, please let me know.
RuntimeException: Cannot connect to “/var/run/clamd.scan/clamd.sock”: Permission denied (code 13)
Let Nextcloud users be NC-USER.
I executed “/var/run/clamd.scan/” against “chown -R NC-USER:root”.
The error was continued when I changed it, but it seems that the error ceased to appear after a while. Is this method correct?