-
Notifications
You must be signed in to change notification settings - Fork 508
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
Filesystem with Digital Ocean spaces or S3 #2173
Comments
It looks like the package you are using is not compatible with PHP 8.1 |
yes I agree, that's why I have downgraded to PHP 7.4... but even so it's not working |
We've never tried this ourselves. We'll leave this issue as |
any news here? Just tried to setup another instance... not having to worry about storage for attachments would make life a lot easier! |
Got it running. Here is what I had to change. This is now obviously hardcoded I would assume, it will need some more love, but I'm not familiar at all with Laravel, so hopefully someone smarter than me with a more oversights can get this into a generic form.
|
Thanks for sharing the solution. |
Unfortunately the documentation here is not very clear. First of all it will not work with PHP > 8 So I have downgraded to PHP 7.4.
Installing the required package:
composer require league/flysystem-aws-s3-v3 ~1.0
I haved added the S3 and DO credentials to the .envfile for either S3 or DO spaces. It was never running. It was sometimes uploading vars.js to either S3 or DO, but that was about it. I could never get it to upload the actual attachments.
What is not quite clear:
Do I have to remove any files from storage in order for S3 to work?
The text was updated successfully, but these errors were encountered: