-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] self-hosted file storage to minio not working effectively #1018
Comments
@bdruth Thank you for reporting. I've moved this issue to appflowy-cloud repo. I will take a look later |
Confirmed that it's still happening w/ macOS v0.7.5 and iOS v0.7.4 (looks like 0.7.5 isn't in the App Store yet). As near as I can tell, the most recently published version of the backend is also present ( |
@bdruth I found the bug. Before uploading an image to the server, we calculate the file ID for the given image. If the image is the same, the file ID will also be the same, and duplicate files will not be uploaded. In your scenario, you uploaded three images, but since they are identical, only one image was uploaded. In the frontend application, we should remove duplicate images. |
Or maybe ... don't "calculate" the file ID and just "generate" a file ID for each file? I selected 3 distinct files from my drive, so they were not technically "the same file" - if that matters. Also, when I reproduced this in 0.7.5/0.7.4, I didn't use identical images and it still happened, fwiw. |
@bdruth sorry to hear that. I can't reproduce it. Can I have your log files? After open the folder, you will see |
Bug Description
When adding photos to a page (using photo gallery in this instance) - only one image out of 3 is actually being saved. The photo gallery looks OK on the device creating it, but on sync'd devices, only one image shows.
Note
nginx
logs when creating photo galleryNote
nginx
logs when viewing page from a sync'd devicethe first 3 entries are for the blobs for the 3 images, one is a
200
and the other 2 are404
. Those then are retried twice, each.Important
Minio shows only one blob in the console
How to Reproduce
Expected Behavior
Sync'd page looks the same as page on original device that created it.
Operating System
macOS 15.1.1 and iOS 18.1.1
AppFlowy Version(s)
0.7.2?
Screenshots
Additional Context
Using my own minio instance, not the container that's built-in to the
docker-compose.yml
.The text was updated successfully, but these errors were encountered: