Skip to content
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

Laravel Vapor / Nova / S3 upload size restrictions #142

Open
lhilton opened this issue Sep 15, 2020 · 8 comments
Open

Laravel Vapor / Nova / S3 upload size restrictions #142

lhilton opened this issue Sep 15, 2020 · 8 comments

Comments

@lhilton
Copy link

lhilton commented Sep 15, 2020

I am using Vapor to host several applications, and I recently found that this imposes a 5mb (I could be wrong, but small) limit to file uploads.

Does Nova Filemanager support streaming to s3 instead of the store-and-forward setup? Are there any initiatives underway to support this configuration?

@Krato
Copy link
Collaborator

Krato commented Feb 27, 2021

You can chose any disk to be used by the package. Check the docs.

@lhilton
Copy link
Author

lhilton commented Mar 2, 2021

Perhaps I wasn't clear enough about my question. This bit of code:

public function uploadFile($file, $currentFolder, $visibility, $uploadingFolder = false, array $rules = [])

Will not work when you are using Laravel Vapor for hosting and uploading files that are larger than 5mb (maybe 6?). From the Laravel Vapor docs:

https://docs.vapor.build/1.0/resources/storage.html#file-uploads

I am curious if there is any plan to support streaming file uploads so we can overcome the file size limitation that currently exists.

@julianlaibach
Copy link

Hey all, is there any update on this? Would be great, it's bit of a bottleneck

@bilogic
Copy link

bilogic commented May 23, 2022

Not sure how streaming file uploads work, but I know this will help with large files, i.e. > GB
https://github.com/pionl/laravel-chunk-upload

I just spent half a day fixing the csrf issues. Anyone wants to tackle large files together?

@marcemarin
Copy link

Hello, how did you get the filemanager to work in vapor?

@julianlaibach
Copy link

We built a custom Tool - i think its not completely ready for production yet... let me know if you want to check out the code

@bilogic
Copy link

bilogic commented Sep 14, 2022

@julianlaibach sure!

@marcemarin
Copy link

We built a custom Tool - i think its not completely ready for production yet... let me know if you want to check out the code

It would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants