appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🐛 Bug Report: Error when uploading to bucket

Open Conrad6 opened this issue 3 years ago • 4 comments

👟 Reproduction steps

When I try to upload a file to a bucket on the console

👍 Expected behavior

It should upload the file successfully

👎 Actual Behavior

IT responds with a status code of 500

Request/ response info:

Screenshot 2023-04-16 103824

Screenshot 2023-04-16 103836

🎲 Appwrite version

Version 1.3.x

💻 Operating system

Linux

🧱 Your Environment

  • Server Environment: NGINX + Docker
  • SDK used: Web SDK v10.2.0

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

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Conrad6 avatar Apr 16 '23 09:04 Conrad6

@Conrad6, thanks for raising this issue! 🙏🏼 Would you please look in the docker logs for the appwrite container for the related 500 error and provide those logs?

stnguyen90 avatar Apr 17 '23 16:04 stnguyen90

@stnguyen90 Does this help?

image

Conrad6 avatar Apr 17 '23 16:04 Conrad6

@Conrad6 it looks like ClamAV isn't set up. Do you have the clamav server up with the _APP_STORAGE_ANTIVIRUS_* environment variables set correctly?

stnguyen90 avatar Apr 19 '23 15:04 stnguyen90

I don't have that. I didn't know about that. It works now after disabling the setting. Thanks

Conrad6 avatar Apr 19 '23 16:04 Conrad6