Univention Nextcloud Errors:

RuntimeException The antivirus executable could not be found at /usr/bin/ or The antivirus executable could not be found at /usr/bin/clamscan

Log in to the Univention server shell and run sudo -i to access as root. Then run univention-app shell nextcloud to gain shell access to the Nextcloud container.

Look in /usr/bin to make sure that there is a clamscan directory with the executables inside.

cd /usr/bin

ls clam*

If it does not exist, clam AV is likely not installed.

Install ClamAV

apt-get install clamav && apt-get install clamav-daemon

This will install ClamAV and the daemon/service, afterward check again:

cd /usr/bin

ls clam*

You should now see several directories that match.

Run the freshclam command to install and update the database.

Run a scan to make sure that the ClamAV is working properly:

clamscan / -r

Go back and save your AV security settings, you should no longer receive an error.

Leave a comment

Your email address will not be published. Required fields are marked *

error: Sorry, copy/paste is disabled
Skip to content