-
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
Cannot Install league/flysystem-aws-s3-v3 #4439
Comments
Yep.
|
Hey that’s awesome! Thank you! as a separate ask (so I know if I should make a pr or not), are you opposed to adding in parameter or two to Filesystems.php? I found out Digital Ocean and AWS are slightly different and need a separate parameter. I’m writing it up for work, and I’m happy to share the docs as well (like how to link the folder and all) |
It's not quite clear what parameter you are talking about. And do you mean |
That’s the file. I had to change the s3 section to this:
adding in endpoint and use_path_style_endpoint (the latter with the default of true for aws) was the other secret sauce to getting DigitalOcean to work without grief. I imagine it would also work for anyone using a non standard endpoint. |
PHP version: 8.3.6
FreeScout version: 1.8.160
Database: MySQL
Are you using CloudFlare: Yes
Are you using non-official modules: No
I was attempting to install AWS S3 for storage and I read the FAQ: https://github.com/freescout-help-desk/freescout/wiki/FAQ#how-can-attachments-be-stored-in-amazon-aws-s3
Per the laravel directions I ran
composer require league/flysystem-aws-s3-v3 ~1.0 --ignore-platform-req=php
(per https://github.com/freescout-help-desk/freescout/wiki/Development-Guide#github-workflow ) and everything seemed to work until I ranphp /var/www/html/artisan freescout:clear-cache
Now at first I thought it was related to a known issue in AWS ( guzzle/guzzle#3071 ) but when I ran
composer why guzzlehttp/guzzle
, I hit this:And the problem here is that if you update
laravel-selfupdater
to the version that supports Guzzle 7? laravel/framework 8.We're on 5.5. (I fully understand (and support!) the no-upgrade policy with regards to the framework.)
This made an endless circle of a headache for me.
It won't matter if I switch to PHP 7.4, since I would still have to use the modern AWS library to connect to the API without errors. I have zero control over that API 😞
So my question here is ... is 8 completely out of the question? I don't like needlessly updating the framework, but it's prohibiting connectivity with the AWS API (and the DigitalOcean one as well for anyone who tried that).
Alternatively does anyone have a workaround for this?
ETA:
Here's the error you'll get on PHP 7.4 when you try to flush the cache:
The text was updated successfully, but these errors were encountered: