Skip to content
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

Troubles with configuration #89

Closed
vwasteels opened this issue Dec 7, 2022 · 2 comments
Closed

Troubles with configuration #89

vwasteels opened this issue Dec 7, 2022 · 2 comments

Comments

@vwasteels
Copy link

Hello there,

Thanks for this usefull package :)

I am stucked with configuration, in my .env file , this is what I got for now :

OS_PROJECT_ID=<the OS_TENANT_ID value from the openrc.sh file>
OS_REGION_NAME=GRA11
# OS_USER_DOMAIN_NAME
OS_USERNAME=<the OS_USERNAME from the openrc.sh file>
OS_PASSWORD=<taken from the OVH interface directly (not present in the .sh file) >
OS_CONTAINER_NAME=<taken from the OVH interface too>

I keep receiving this error when I do php artisan ovh:set-temp-url-key :

 Endpoint URL could not be found in the catalog for this service.
Name: swift
Type: object-store
Region: GRA11
URL type: public

Any idea on this ? thank you

Also, I did not put the OS_TENANT_NAME value from the .sh file, since there is no OS_PROJECT_NAME corresponding in the configuration file you showed in README , but I might be missing something there too...

@vwasteels
Copy link
Author

concerning the Username, I read this in the code :

    /**
     * Returns the Project Username.
     *
     * @return string
     */
    protected string $username;

So should I set it to : OS_USERNAME or OS_TENANT_NAME ?

@vwasteels
Copy link
Author

Ok I got it working ,

Problem was that the S3 API is not handled by this plugin, you need to choose "Standard Object Storage - Swift API"

Screenshot -  2022-12-12 à 10 43 39

I created a new bucket and now it works !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant