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

Use with Digital Ocean Spaces? #12

Open
nickian opened this issue Apr 17, 2020 · 0 comments
Open

Use with Digital Ocean Spaces? #12

nickian opened this issue Apr 17, 2020 · 0 comments

Comments

@nickian
Copy link

nickian commented Apr 17, 2020

It looks like this works with a custom endpoint, but I'm not sure how to get Digital Ocean's Spaces to work. This is what my config.php file looks like:

define('AWS_KEY', 'my-key');
define('AWS_SECRET', 'my-secret');
define('AWS_S3_BUCKET', 'my-bucket-name');
define('AWS_S3_PREFIX', '');
define('AWS_S3_REGION', 'sfo2');
define('AWS_S3_OPTIONS', json_encode([
    'version' => 'latest', 
    'endpoint' => 'sfo2.digitaloceanspace.com', 
    'use_path_style_endpoint' => true
]));

But I get this error when I try to attach a document to a task:

Unable to upload files, check the permissions of your data folder.

Do I have the config set up correctly, or am I missing something?

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

No branches or pull requests

1 participant