Open eldevyas opened 1 month ago
Hello eldevyas - please make sure your file sharing implementation setting in Docker Desktop is set to osxfs (Legacy)
like in the screenshot below:
That fixes some issues with Supabase storage, but personally, I encountered too many issues to make it viable on my MacBook. I ended up getting a Linux VPS for this
Hi @thebrrt, thank you for the advice about the 'osxfs' setting. I switched from Docker to OrbStack because of CPU spikes, but OrbStack doesn't have a similar setting. I will switch back to Docker to test it. Your help is greatly appreciated!
@thebrrt I switched to Docker, re-installed all the docker images related to Supabase Local Dev CLI, and changed the setting of file sharing implementation to osxfs
as you mentioned, but I still got the same error somehow:
My Docker Settings:
The issue was coming from my supabase/config.toml
file, which configures the Supabase Local Dev CLI. I had previously enabled TLS for HTTPS during some testing. Here's what I did to fix the problem:
[api.tls]
enabled = false
api_url = "http://127.0.0.1:54321"
After making these changes, the upload issue was resolved, and file uploads are working as expected now. I hope the Supabase team can release a fix to make it work smoothly with TLS enabled.
Describe the bug I'm encountering an issue with file uploads using FilePond and TUS in Supabase CLI. Files under 6MB upload successfully, but uploads of larger files consistently fail.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected that larger files would upload smoothly since TUS is designed for resumable uploads. A failure for files larger than 6MB is concerning, as it severely limits the functionality of my app. Our users may need to upload significantly larger files, so this behavior is not acceptable.
Screenshots I've recorded a video demonstrating the issue in my Next.js app, but here’s a quick text log of what I see in the Supabase CLI local dashboard:
Then it fails with the following error:
https://github.com/user-attachments/assets/406ebb92-7c8a-47ae-bf54-3f600031eb9d
System information
26.1.3, build b72abbb
, OrbStack.Additional context I previously disabled built-in chunking in FilePond, hoping it would resolve the issue, but the problem persists.
Here’s a snippet of my upload code for reference:
Thanks for any help or insights you can provide!