litedb-org / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.65k stars 1.25k forks source link

[BUG] #2518

Open MayaZayn opened 4 months ago

MayaZayn commented 4 months ago

Version 5.0.21

Describe the bug I used Litedatabase.FileStorage.Upload() to upload a file to the database. When I ran the program locally, there was no problem and _files and _chunks collections were created automatically when a user uploads a file. When I deployed it on Azure, only _chunks was created and _files wasn't. This led to the file not being found (404). I deployed it on another service (Somee.com) and it worked fine (files were successfully uploaded).

JKamsker commented 4 months ago

Can you share a minimal repro?