Giter Club home page Giter Club logo

Comments (3)

mcirami avatar mcirami commented on May 27, 2024 1

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.

Emerica avatar Emerica commented on May 27, 2024

ed7bdb0

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.

mcirami avatar mcirami commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.