GithubHelp home page GithubHelp logo

InvalidArgumentException PHP 8.1.13 9.52.4 Missing required client configuration options: region: (string) A "region" configuration value is required for the "s3" service (e.g., "us-west-2"). about writeout.ai HOT 9 OPEN

xyh2132 avatar xyh2132 commented on July 22, 2024
InvalidArgumentException PHP 8.1.13 9.52.4 Missing required client configuration options: region: (string) A "region" configuration value is required for the "s3" service (e.g., "us-west-2").

from writeout.ai.

Comments (9)

dennisvandalen avatar dennisvandalen commented on July 22, 2024 1

DO_ENDPOINT= xxx

Depends on your region. For example: https://nyc3.digitaloceanspaces.com you can find this in your DO Spaces config

from writeout.ai.

xyh2132 avatar xyh2132 commented on July 22, 2024

I have already configured AWS S3 according to the tutorial.

from writeout.ai.

xyh2132 avatar xyh2132 commented on July 22, 2024

EX
image

from writeout.ai.

xyh2132 avatar xyh2132 commented on July 22, 2024

If a Docker deployment that can be used on the server is provided, it can solve these problems.

from writeout.ai.

nxtreaming avatar nxtreaming commented on July 22, 2024

you should add the 'do' configuration in .env according to config/filesystems.php

and you should update your mysql transcribe table (include at least a 'public' true record)

from writeout.ai.

xyh2132 avatar xyh2132 commented on July 22, 2024

you should add the 'do' configuration in .env according to config/filesystems.php

and you should update your mysql transcribe table (include at least a 'public' true record)

Can you be more specific? I don't understand and need your help.

from writeout.ai.

nxtreaming avatar nxtreaming commented on July 22, 2024

The error is caused:
"it wants to get the first public available media file from a digitalocean's S3 compatible provider, it will return error because you do not configure your digitalocean's storage correctly (me too), you can remove the code."

I post my modification in your another issue , it should run successfully if you applied my modification.

from writeout.ai.

dennisvandalen avatar dennisvandalen commented on July 22, 2024

Looking at the error you need to configure the AWS credentials for the do filesystem.

Storage::disk indicates that the do filesystem is used

        'do' => [
            'driver' => 's3',
            'key' => env('DO_ACCESS_KEY_ID'),
            'secret' => env('DO_SECRET_ACCESS_KEY'),
            'region' => env('DO_DEFAULT_REGION'),
            'bucket' => env('DO_BUCKET'),
            'endpoint' => env('DO_ENDPOINT'),
            'use_path_style_endpoint' => env('DO_USE_PATH_STYLE_ENDPOINT', true),
        ],

Going by the following snippet from config/filesystems.php, you need to set the following ENV variables (instead of the default S3 ones):

DO_ACCESS_KEY_ID
DO_SECRET_ACCESS_KEY
DO_DEFAULT_REGION
DO_BUCKET
DO_ENDPOINT
DO_USE_PATH_STYLE_ENDPOINT

from writeout.ai.

iorikojima09 avatar iorikojima09 commented on July 22, 2024

DO_ENDPOINT= xxx
DO_USE_PATH_STYLE_ENDPOINT= xxx

I don't know what to enter for xxx above, can you tell me?

from writeout.ai.

Related Issues (12)

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.