Closed ryant1911 closed 1 day ago
Again, I'm not 100% sure but I suspect my problem might have been introduced with #749 / #812. I see that was pushed 4 days ago. I also see ix-dev/community/clamav/templates/docker-compose.yaml
was changed quite a bit as part of the commits.
Looking at some of the other apps docker-compose.yaml
templates, I think we need something similar to this code:
{% for store in values.storage.additional_storage %}
{% do c1.add_storage(store.mount_path, store) %}
{% endfor %}
When I add that manually to the /mnt/.ix-apps/truenas_catalog/trains/community/clamav/1.2.3/templates/docker-compose.yaml
my container deploys successfully with additional storage mounts present.
root@Truenas[/mnt/.ix-apps]# docker exec -it ix-clamav-test-clamav-1 df -h
Filesystem Size Used Available Use% Mounted on
overlay 4.1T 7.1G 4.1T 0% /
tmpfs 64.0M 0 64.0M 0% /dev
shm 64.0M 0 64.0M 0% /dev/shm
Vault15-SSD/ix-apps/app_mounts/clamav-test/scandir
4.1T 128.0K 4.1T 0% /scandir
Vault15-SSD/ix-apps/docker
4.1T 7.1G 4.1T 0% /tmp
Vault15-SSD/ix-apps/app_mounts/clamav-test/etc_clamav
4.1T 256.0K 4.1T 0% /etc/clamav
Vault15 35.2T 1.0M 35.2T 0% /mnt/vault15
Vault15/NFS 35.2T 512.0K 35.2T 0% /mnt/vault15/NFS
Vault15/NVR 35.2T 20.5M 35.2T 0% /mnt/vault15/NVR
Vault15/Archive 35.2T 384.0K 35.2T 0% /mnt/vault15/Archive
Vault15/Temp 35.2T 384.0K 35.2T 0% /mnt/vault15/Temp
Vault15-SSD 4.1T 384.0K 4.1T 0% /scandir/vault15-ssd
Vault15-SSD/Private 4.1T 6.3G 4.1T 0% /scandir/vault15-ssd/Private
Vault15-SSD/Public 4.2T 48.9G 4.1T 1% /scandir/vault15-ssd/Public
tmpfs 62.2G 0 62.2G 0% /proc/asound
tmpfs 62.2G 0 62.2G 0% /proc/acpi
tmpfs 64.0M 0 64.0M 0% /proc/kcore
tmpfs 64.0M 0 64.0M 0% /proc/keys
tmpfs 64.0M 0 64.0M 0% /proc/timer_list
tmpfs 62.2G 0 62.2G 0% /sys/firmware
tmpfs 62.2G 0 62.2G 0% /sys/devices/virtual/powercap
Thanks @stavros-k !
I noticed today that my ClamAV scans were no longer scanning any files. After investigating further, I found that the additional storage options I setup are no longer being mounted in the container. The form choices (i.e. ClamAV Signature Database Storage, ClamAV Scan Directory Storage) mount inside the container just fine. I'm not exactly sure when this changed but I know did not have this issue on last week. I'm currently running Electric Eel 24.10.0.2 and ClamAV 1.2.3.
Here are the mounts from inside the container via
docker exec -it ix-clamav-clamav-1 df -h
:This is the clamav section of
user_config.yaml
:Thanks in advance for any assistance here. I'm open to other suggestions or troubleshooting to try. It's quite possible it's something I've done, but I'm at a lost as to what that could be.