ClamAV needs to be installed on the Nextcloud host for the Nextcloud’s Antivirus App to work. I am using TurnKey Linux (TKL) Nextcloud and TKL based image is Debian. To install ClamAV
# Turnkey Linux apt install -y clamav clamav-daemon # Debian/CentOS (Docker) docker exec -it nextcloud bash apt install -y clamav clamav-daemon # Univention distro univention-app shell nextcloud apt install -y clamav clamav-daemon
After installing the ClamAV, go back to the Nextcloud App Store search and download and enable the app Antivirus for files. The setting for this app can be found in the Settings > Administration > Security > Antivirus for Files as shown in Figure 1.
Once the ClamAV has been installed, we need to update its database. Login to the Docker container.
# Turnkey Linux freshclam # Debian/CentOS (Docker) docker exec -it nextcloud bash freshclam # Univention distro univention-app shell nextcloud freshclam
That’s about it. This is one of the easiest app to install. Hope you’ll find this helpful.