So, I was messing with the Heath API a few minutes ago and everything workes fine except that the Antivirus service is returning "disabled". Is there something I need to do?
Self-hosted?
Errr. Using Digital Ocean
Check this https://book.appread.io/security#antivirus You can see that the calmav service is disabled by default and you'll need to enable it.
Alright. Thanks. trying it right away
Hi @Binyamin, I couldn't find this block in my docker-compose.yml file
clamav:
image: appwrite/clamav:1.2.0
container_name: appwrite-clamav
restart: unless-stopped
networks:
- appwrite
volumes:
- appwrite-uploads:/storage/uploads
You can see it here https://appwrite.io/install/compose
Copy it from there, remove the hashes and try to restart you docker compose
Nvm. I've seen it now. Scanned it twice before 🤦🏽
I've done that but I get the same result though. I programmed it to output failed if the status is not "online"
there might be a problem with this version of clamav
Opps, I forgot this part
Enable the antivirus inside the .env
file
_APP_STORAGE_ANTIVIRUS=enabled
Then restart the docker compose.
But anyway its seems like this version won't work anymore as Steven mentioned, this due the fact clamav
is blocking the current binary version of getting update as it is not up-to-date
You can give it a try by enabling the antivirus and check the clamav logs
docker logs appwrite-clamav
Also, notice that the initializing process of the calmav can take few minutes, after that you can check the health
endpoint.
If this won't work for you, you can try to install clamav on your machine in general as Docker volume file are store in plain sight - just inside a nested folder.
Alright. Thanks.
I already did this _APP_STORAGE_ANTIVIRUS=enabled
But I also get this error when I run docker logs appwrite-clamav
Yes, this is due the fact the software is 0.102 instead of the latest one.
Seems I'm gonna neglect this for now btw, can you explain this part:
If this won't work for you, you can try to install clamav on your machine in general as Docker volume file are store in plain sight - just inside a nested folder.
Does this mean it's not really fixable? Is there any sure workaround?
For example, If you run
docker volume inspect appwrite_appwrite-builds
You'll get something like this
[
....
"Mountpoint": "/var/lib/docker/volumes/appwrite_appwrite-builds/_data",
....
]
You can cd
into that mounting point
cd /var/lib/docker/volumes/appwrite_appwrite-builds/_data
To see all your files
This means even if you're using dokcer volumes the files are put in plain sight from the server aspect
Is that makes sense?
I think I understand. Alright, thanks. I'll be back.
.
Hi @Samuel Kings , is this fixed for you now?
nope
Twas taking too much of my time so put it on pending for now
let us know if you need any help!
Recommended threads
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...