
I am using the https://github.com/appwrite/php-clamav package for scanning files before uploading them to the AWS server. But I am getting the error "Unable to connect to ClamAV server". Server I am using a Linux server on IONOS. I followed the installation procedure. But getting this error while trying to scan a file while uploading.
Here is my error log :
PHP Fatal error: Uncaught RuntimeException: Unable to connect to ClamAV server in /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-content/plugins/wp-s3-user-upload/vendor/appwrite/php-clamav/src/ClamAV/Network.php:66 Stack trace: #0 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-content/plugins/wp-s3-user-upload/vendor/appwrite/php-clamav/src/ClamAV/ClamAV.php(36): Appwrite\ClamAV\Network->getSocket() #1 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-content/plugins/wp-s3-user-upload/vendor/appwrite/php-clamav/src/ClamAV/ClamAV.php(52): Appwrite\ClamAV\ClamAV->sendCommand() #2 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-content/plugins/wp-s3-user-upload/inc/ucua-functions.php(371): Appwrite\ClamAV\ClamAV->ping() #3 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-includes/class-wp-hook.php(324): aws_s3_upload_process() #4 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-admin/admin-ajax.php(192): do_action() #7 {main} thrown in /var/www/vhosts/networksfortraining.org/sandbox-app-three.networksfortraining.org/wp-content/plugins/wp-s3-user-upload/vendor/appwrite/php-clamav/src/ClamAV/Network.php on line 66
Thanks.
Recommended threads
- setup custom domain to appwrite but stil...
i just installed a Appwrite instance in my vps and i did all default otions exept the domain i have setuop its dns as A records pointing to my vps ip altho...
- 1.7.x Style issue in the migration page
I am not able to select what to migrate because of the styling... the checkboxes are not showing on any of the appwrite versions 1.7.x. I tried other browsers, ...
- Appwrite Sites: Max File Size
Hello, I am facing an issue on my self-hosted appwrite instance with Appwrite Sites. I already have a small vite web app built out that I want to deploy, and ...
