- ๐ฒ๐ฝMexico gnuget Puebla
Ignore #63 it was a problem in my setup.
My error was the following:
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav ERROR: Can't open file or directory
I forgot to execute
freshclam
to update the virus database so it was failing when testing the file.Once I executed the file everything started working as expected.
No need to do anything else than update Drupal to version 10.3
:-)
- ๐ฒ๐ฝMexico gnuget Puebla
I just tested this on Drupal 10.3 (which was released yesterday) and it seems that there is still some work to do:
This is the error in Drupal 10.2:
Uploaded file public://inline-images/my-file.jpg could not be checked, and was deleted.
and then:
Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException: Object(Drupal\file\Entity\File): The anti-virus scanner could not check the file, so the file cannot be uploaded. Contact the site administrator if this problem persists. in Drupal\ckeditor5\Controller\CKEditor5ImageController->upload() (line 201 of /var/www/docroot/core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php).
This is the error in Drupal 10.3:
Uploaded file /tmp/phpCxbjJz could not be checked, and was deleted.
And then:
Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException: Object(Drupal\file\Entity\File): The anti-virus scanner could not check the file, so the file cannot be uploaded. Contact the site administrator if this problem persists. in Drupal\ckeditor5\Controller\CKEditor5ImageController->upload() (line 176 of /var/www/docroot/core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php).