[GH-ISSUE #7388] [Bug] In applications .deb photos uploaded from Iphone are not displayed #3286

Open
opened 2026-03-23 21:28:59 +00:00 by mirror · 0 comments
Owner

Originally created by @applikata on GitHub (Feb 16, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7388

Bug Description

When I upload a photo(PNG,HEIF) from my Iphone via the app to my self hosted Appflow server and then try to view it on my computer using .deb application AppFlowy-0.8.3-linux-x86_64.deb, then I get error 404 , error in the logs

{"timestamp":"2025-02-16T19:46:44.172786Z","level":"ERROR","fields":{"error":"Record not found:Record not exist in db. no rows returned by a query that expected to return at least one row)"},"target":"database::resource_usage","filename":"libs/database/src/resource_usage.rs","line_number":134,"span":{"method":"GET","path":"/api/file_storage/{workspace_id}/v1/blob/{parent_dir}/{file_id}","payload_size":0,"request_id":"80a80d73ab240b0b0e6d0d893dd4e8ae","name":"request"},"spans":[{"method":"GET","path":"/api/file_storage/{workspace_id}/v1/blob/{parent_dir}/{file_id}","payload_size":0,"request_id":"80a80d73ab240b0b0e6d0d893dd4e8ae","name":"request"}]}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Context canceled

If you hide the photo through .deb the app and open it on iPhone, then there will be no problem

When i upload JPEG all right.

How to Reproduce

Open AppFlowy App(latest) on Iphone load photo(PNG, HEIF) any document
Open AppFlowy on .deb app( AppFlowy-0.8.3-linux-x86_64.deb,)
get 404

Image

Expected Behavior

After uploading a photo(PNG,HEIF) via the iPhone app, it should open on any type of device.

Operating System

Debian 12, Iphone 12

AppFlowy Version(s)

AppFlowy-0.8.3-linux-x86_64.deb , AppFlowy 0.8.4 and later

Screenshots

No response

Additional Context

No response

Originally created by @applikata on GitHub (Feb 16, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/7388 ### Bug Description When I upload a photo(PNG,HEIF) from my Iphone via the app to my self hosted Appflow server and then try to view it on my computer using .deb application AppFlowy-0.8.3-linux-x86_64.deb, then I get error 404 , error in the logs {"timestamp":"2025-02-16T19:46:44.172786Z","level":"ERROR","fields":{"error":"Record not found:Record not exist in db. no rows returned by a query that expected to return at least one row)"},"target":"database::resource_usage","filename":"libs/database/src/resource_usage.rs","line_number":134,"span":{"method":"GET","path":"/api/file_storage/{workspace_id}/v1/blob/{parent_dir}/{file_id}","payload_size":0,"request_id":"80a80d73ab240b0b0e6d0d893dd4e8ae","name":"request"},"spans":[{"method":"GET","path":"/api/file_storage/{workspace_id}/v1/blob/{parent_dir}/{file_id}","payload_size":0,"request_id":"80a80d73ab240b0b0e6d0d893dd4e8ae","name":"request"}]} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Context canceled If you hide the photo through .deb the app and open it on iPhone, then there will be no problem When i upload JPEG all right. ### How to Reproduce Open AppFlowy App(latest) on Iphone load photo(PNG, HEIF) any document Open AppFlowy on .deb app( AppFlowy-0.8.3-linux-x86_64.deb,) get 404 ![Image](https://github.com/user-attachments/assets/f1d1555d-b173-4320-97cd-b0cec556b588) ### Expected Behavior After uploading a photo(PNG,HEIF) via the iPhone app, it should open on any type of device. ### Operating System Debian 12, Iphone 12 ### AppFlowy Version(s) AppFlowy-0.8.3-linux-x86_64.deb , AppFlowy 0.8.4 and later ### Screenshots _No response_ ### Additional Context _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3286
No description provided.