January 3, 20224 yr How long should a scan take? I'm scanning /mnt/user for the first time, and it's been running for 24 hours. I see it in the process list. Nothing interesting in the Docker log, except "starting scan." My unRAID is about 20Tb. Thanks.
January 4, 20224 yr Depends. /mnt/user will take quite a while as it also scans appdata and if you have Plex for instance and a halfway decent library there's a couple of hundred thousand files in it alone.
January 7, 20224 yr On 1/3/2022 at 6:44 PM, Squid said: Depends. /mnt/user will take quite a while as it also scans appdata and if you have Plex for instance and a halfway decent library there's a couple of hundred thousand files in it alone. To follow up on this, the scans took 3 days to complete.
January 8, 20224 yr Author On 1/7/2022 at 1:27 PM, volcs0 said: To follow up on this, the scans took 3 days to complete. Sounds about right.
January 10, 20224 yr What's the default StreamLength set at for Clam? I have it running with NextCloud but getting these errors. Warning files_antivirus Failed to write a chunk. Check if Stream Length matches StreamMaxLength in anti virus daemon settings I'm using this tquinnelly/clamav-alpine EDIT: this version works https://hub.docker.com/r/mkodockx/docker-clamav Edited January 12, 20224 yr by Mr_Jay84
March 17, 20224 yr help please Updating ClamAV scan DB ERROR: Can't create freshclam.dat in /var/lib/clamav ERROR: Failed to save freshclam.dat! WARNING: Failed to create a new freshclam.dat! ERROR: initialize: libfreshclam init failed. ERROR: Initialization error! Hint: The database directory must be writable for UID 100 or GID 101 An error occurred (freshclam returned with exit code '2') 2022-03-17T02:42:38+00:00 ClamAV process starting Updating ClamAV scan DB Hint: The database directory must be writable for UID 100 or GID 101 ERROR: Can't create freshclam.dat in /var/lib/clamav ERROR: Failed to save freshclam.dat! WARNING: Failed to create a new freshclam.dat! ERROR: initialize: libfreshclam init failed. ERROR: Initialization error! An error occurred (freshclam returned with exit code '2') ** Press ANY KEY to close this window **
March 26, 20224 yr I am having the same problem that osokthedevil shows above. I even tried changing the template to User ID 100 and Group ID 101 but the same error message occurs. I am assuming this used to work and something changed possibly... I can see the template made the appdata folder correctly it just has no contents.
March 26, 20224 yr Author 12 hours ago, RyanRoberts210 said: I am having the same problem that osokthedevil shows above. I even tried changing the template to User ID 100 and Group ID 101 but the same error message occurs. I am assuming this used to work and something changed possibly... I can see the template made the appdata folder correctly it just has no contents. I didnt have this issue before, but after recreating the file structure, I am getting the same error. If you run the built-in script `newperms /path/to/your/db/folder` it will resolve. That script effectively does the following... chmod -R u-x,go-rwx,go+u,ugo+X '/path/to/your/db/folder' chown -R nobody:users '/path/to/your/db/folder'
March 27, 20224 yr On 3/26/2022 at 3:20 AM, RyanRoberts210 said: I am having the same problem that osokthedevil shows above. I even tried changing the template to User ID 100 and Group ID 101 but the same error message occurs. I am assuming this used to work and something changed possibly... I can see the template made the appdata folder correctly it just has no contents. Change the virus DB location outside of appdata and then run the Docker Safe New Perms found under Unraid Tools. This worked for me today.
April 5, 20224 yr On 3/29/2022 at 1:49 PM, Squid said: Or just uninstall / reinstall I ve just installed this for the first time on a very new unraid install and I am getting the same "exit code 2" and "cant create freshclam.dat in /var/lib/clamav". I've tried chacing the UID and GID from the default (99 & 100) to 100 and 101 with no luck. Is there something wrong with the standard build that needs me to run a script to get it to work?
April 8, 20224 yr On 10/11/2021 at 10:11 PM, Helediron said: The user script writes the parameter file and runs the container. Thanks for cool script ,all working fine . clamavtargets.txt we can add here shares only for manual scans ? or it can be used by script scans also.
April 8, 20224 yr Author On 4/5/2022 at 2:00 PM, PitRejection2359 said: I ve just installed this for the first time on a very new unraid install and I am getting the same "exit code 2" and "cant create freshclam.dat in /var/lib/clamav". I've tried chacing the UID and GID from the default (99 & 100) to 100 and 101 with no luck. Is there something wrong with the standard build that needs me to run a script to get it to work? Occasionally I run into this, and the fix is to chmod and chown the files/folders.
April 8, 20224 yr Author 7 hours ago, Masterwishx said: can we update or only wait for docker update ? You can update if you wish. My builds are waiting for all dependencies to be updated before I build for Clam. I check the Alpine site weekly to know when I can update stable and edge branches.
April 9, 20224 yr 12 hours ago, TQ said: Occasionally I run into this, and the fix is to chmod and chown the files/folders. Sorry to be a pain / newb: where can I find that script? and I presume the "standard" path (I didn't change anything during the install) to db folder is /mnt/cache/appdata/clamav? Thank you.
April 9, 20224 yr Author 2 hours ago, PitRejection2359 said: Sorry to be a pain / newb: where can I find that script? and I presume the "standard" path (I didn't change anything during the install) to db folder is /mnt/cache/appdata/clamav? Thank you. chmod -R u-x,go-rwx,go+u,ugo+X /mnt/cache/appdata/clamav chown -R nobody:users /mnt/cache/appdata/clamav
April 9, 20224 yr 20 hours ago, TQ said: You can update if you wish. but i cant update to 104.2 , or how can i ? Thanks for cool container , also updated to lasted release but its still 103.3 ... Edited April 9, 20224 yr by Masterwishx
April 10, 20224 yr 21 hours ago, TQ said: chmod -R u-x,go-rwx,go+u,ugo+X /mnt/cache/appdata/clamav chown -R nobody:users /mnt/cache/appdata/clamav That fixed it - thanks very much.
April 11, 20224 yr is some one integrated ClamAV to nextcloud + Antivirus scanner app by deamon or exec with this docker or official maybe is it good idea to run it like deamon for nextcloud and how to do it?
April 13, 20224 yr @Helediron how i can add "My Folder" to FOLDERSWEEKLY i mean share with space inside ?
June 18, 20224 yr Sorry if this has been asked before. I did a search but came up with nothing. ClamAV has reported it detected 1 infection on concurrent scans. How do I know what file is infected? What is ClamAV supposed to do to the infected file once it is detected? I assume it is not successfully dealing with it as it continues to report 1 file is infected after every single scan I run.
June 18, 20224 yr 1 hour ago, Aegisnir said: How do I know what file is infected? It's listed in the logs for the app. The script post much earlier should alert you as to which file(s) 1 hour ago, Aegisnir said: What is ClamAV supposed to do to the infected file once it is detected? It does nothing. That's for you to decide what to do with it
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.