Skip to content

🐛 Bug Report: Failed to delete file due to failed to upload because of Unable to connect to ClamAv server #8603

Closed

Description

@moshOntong-IT

👟 Reproduction steps

image

I am currently deployed my appwrite in digital ocean. I enabled the container of ClamAV server in docker-compose. Then I also enabled the antivirus in env variables. I got an error to upload of file because of Unable to connect to ClamAv Server even though I have enabled the container.

Screen.Recording.2024-09-01.094451.mp4

Now since it failed, I am trying to delete the file in console, but then I got an Server error , base on docker logs:
image

👍 Expected behavior

1st expectation: It must upload the file successfully, even I enabled the antivirus. Because I already enable the container of ClamAV
2nd expectation: If failed to upload the file because of Unable to connect to ClamAV Server then the status of the file must be Error and then deleting the file must be goes well.

👎 Actual Behavior

  • Failed to upload the file
  • The status of the file is "Pending" and I cant delete the file.

🎲 Appwrite version

Version 1.5.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. added
    bug
    on Sep 1, 2024
  2. changed the title [-]🐛 Bug Report: Failed to delete file due to an failed to upload because of `Unable to connect to ClamAv server`[/-] [+]🐛 Bug Report: Failed to delete file due to failed to upload because of `Unable to connect to ClamAv server`[/+] on Sep 1, 2024
  3. added
    product / self-hosted
    product / storage
    on Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugproduct / self-hostedproduct / storage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions