# ClamAV preventing large uploads

**URL:** <https://help.nextcloud.com/t/clamav-preventing-large-uploads/215133>\
**Category:** ℹ️ Support\
**Tags:** clamav\
**Created:** [January 16, 2025, 5:22pm UTC](https://help.nextcloud.com/t/clamav-preventing-large-uploads/215133 "2025-01-16T17:22:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frenzybiscuit](https://help.nextcloud.com/user_avatar/help.nextcloud.com/frenzybiscuit/32/66929_2.png) [@frenzybiscuit](https://help.nextcloud.com/u/frenzybiscuit)\
**Post date:** [January 16, 2025, 5:22pm UTC](https://help.nextcloud.com/t/clamav-preventing-large-uploads/215133/1 "2025-01-16T17:22:08Z")

</div>

When using clamav on a baremetal install, it prevents large uploads on NextCloud (they error out or never finish uploading).

Is there a way to fix this without disabling ClamAV?

---

<div class="post-metadata">

**Author:** ![Hendrik](https://help.nextcloud.com/letter_avatar/hendrik/32/5_5575768a8748004e209b776fc1b2916d.png) [@Hendrik](https://help.nextcloud.com/u/Hendrik)\
**Post date:** [January 21, 2025, 8:52am UTC](https://help.nextcloud.com/t/clamav-preventing-large-uploads/215133/2 "2025-01-21T08:52:04Z")

</div>

I do not think this is ClamAV but the max\_execution time settings in PHP. The process is interupted before finalisation. Also look at the post\_max\_size and file max size settings.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [April 21, 2025, 8:52am UTC](https://help.nextcloud.com/t/clamav-preventing-large-uploads/215133/3 "2025-04-21T08:52:27Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
