Comments (3)
alright, I figured it out. the AWS_URL url was missing from my env file. didn't need that root after all. I'm just using the bucket path as the AWS_URL. Admin and all images are working now.
Thank you for you help!
from voyager.
This appears to have been looked at/updated in the past for 1.6.
It's trying to get an icon url from S3 by dynamically mashing together php configs with vue's loop variables.
S3 is complaining that the filename key given is empty. Unless you have/had a pre 1.6 template that's still cached?
What OS is this on?
What do you have in your S3 config? (Without exposing credentials of course)
Do you have either of the following set?
'root' => "/" (Maybe try with or without this)
'directory_separator' => '/' (Might be needed on Windows?)
Seems there is similar issues
laravel/framework#42136
->
laravel/framework#41964
https://github.com/thephpleague/flysystem-aws-s3-v3/issues/293
You're also contradicting a bit "This has worked up until now." and " but this was happening before I even upgraded."
If emptynick had it "working" I have no reason to doubt it was for him, so I gotta lean towards a configuration difference possibly?
from voyager.
so I didn't have 'root' => "/" in there. I added that and now admin comes up but it strips the first letter of the path like one of the posters said.
I'm on a Mac, My S3 config contains:
'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'url' => env('AWS_URL'), 'endpoint' => env('AWS_ENDPOINT'), 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 'throw' => false, 'root' => '/'
from voyager.
Related Issues (20)
- Add or Edit Required Fields Mandatory * is not showing HOT 5
- cannot install voyager using composer require HOT 1
- Can not upload image via tinymce on voyager 1.6
- doesn't find migration of laravel voyager project Yet !! HOT 3
- Call to undefined method HOT 1
- Voyager doesn't load admin panel
- HasMany relation doesn't work
- Multiple BREAD for single table/model HOT 1
- Update docs for voyager 1.7
- Is it possible to translate BREAD BROWSE columns? HOT 5
- Whoopsie! The "" file does not exist or is not readable. HOT 3
- Unsupported image type image/heic. GD driver is only able to decode JPG, PNG, GIF, BMP or WebP files HOT 3
- media library's one of the folders is not loading HOT 3
- custom action not found on cpanel HOT 1
- How Authorize Works in Voyager and add Custom Roles? HOT 1
- Is there any way to upload the images to cloudinary or any cloud service HOT 6
- Migrate from Google Sign-In, for conection in Analytcs
- Unable to add BREAD to table HOT 5
- email_verified_at column reset to NULL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voyager.