# Nextcloud SNAP CLAMAV not working correctly - Errors

**URL:** <https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123>\
**Category:** ℹ️ Support\
**Tags:** snap, nc19, files-antivirus-app\
**Created:** [October 24, 2020, 5:15pm UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123 "2020-10-24T17:15:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baggers](https://help.nextcloud.com/user_avatar/help.nextcloud.com/baggers/32/29772_2.png) [@Baggers](https://help.nextcloud.com/u/Baggers)\
**Post date:** [October 24, 2020, 5:15pm UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/1 "2020-10-24T17:15:57Z")

</div>

Platform

Ubuntu 20.04 LTS  
SNAP Install  
Nextcloud 19.04  
Intel NUC

Issue

CLAM AV

Log shows

`Error	files_antivirus	RuntimeException: The antivirus executable could not be found at /usr/bin/clamscan`

Security Tab shows  
` `The antivirus executable could not be found at /usr/bin/clamscan`

I have installed Clam AV but it isn’t working, showing the errors above. I imagine its because of the SNAP install as that has given me other areas. Any help, very welcome.

Thanks

 ![image](https://help.nextcloud.com/uploads/default/original/3X/a/b/ab93827c4e39a928e83c4a68b418d0ccd6d6bc23.png)

---

<div class="post-metadata">

**Author:** ![Infopal](https://help.nextcloud.com/letter_avatar/infopal/32/5_5575768a8748004e209b776fc1b2916d.png) [@Infopal](https://help.nextcloud.com/u/Infopal)\
**Post date:** [February 14, 2021, 10:00am UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/2 "2021-02-14T10:00:24Z")

</div>

Hello, I’m running into the same problem without SNAP installation, using same Intel NUC, 20.04, the newest nextcloud. What to do? Thanks!

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [February 14, 2021, 10:58am UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/3 "2021-02-14T10:58:01Z")

</div>

How did you install Nextcloud? Did you used some premade scripts ot did you install it yourself?

---

<div class="post-metadata">

**Author:** ![Infopal](https://help.nextcloud.com/letter_avatar/infopal/32/5_5575768a8748004e209b776fc1b2916d.png) [@Infopal](https://help.nextcloud.com/u/Infopal)\
**Post date:** [February 14, 2021, 11:28am UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/4 "2021-02-14T11:28:32Z")

</div>

Without scripts, on brand new Intel NUC from total scratch yesterday including 20.04 LTS server.

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [February 14, 2021, 11:44am UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/5 "2021-02-14T11:44:55Z")

</div>

Here is a guide [Nextcloud absichern mit ClamAV – Carsten Rieger IT-Services](https://www.c-rieger.de/nextcloud-absichern-mit-clamav/) (in german, otherwise you can translate it with google translator)

You could also have a look at this script for some inspiration:

> <https://github.com/nextcloud/vm/blob/master/apps/clamav.sh>

---

<div class="post-metadata">

**Author:** ![Infopal](https://help.nextcloud.com/letter_avatar/infopal/32/5_5575768a8748004e209b776fc1b2916d.png) [@Infopal](https://help.nextcloud.com/u/Infopal)\
**Post date:** [February 14, 2021, 1:44pm UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/6 "2021-02-14T13:44:23Z")

</div>

Thank you very much! I got it working and tested succesfully with Eicar viruses, but not with Daemon socket. Clamav works now as an executable. It says that clamd.ctl not found. But I’m happy with this, if this works as it now does 🙂

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:14pm UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/7 "2024-12-12T19:14:26Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:14pm UTC](https://help.nextcloud.com/t/nextcloud-snap-clamav-not-working-correctly-errors/96123/8 "2024-12-12T19:14:27Z")

</div>


