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

Direct link to Amazon S3 storage #33890

Closed
Hubaxis7 opened this issue Dec 14, 2018 · 6 comments
Closed

Direct link to Amazon S3 storage #33890

Hubaxis7 opened this issue Dec 14, 2018 · 6 comments

Comments

@Hubaxis7
Copy link

Hubaxis7 commented Dec 14, 2018

I use the External storage module with Amazon S3. When I download or view (video mp4) a large file through the owncloud interface, I do not get a direct link to AWS S3, but have to wait a long time to start downloading/playing.

Steps to reproduce

  1. Connect AWS S3 through the External storage module.
  2. To upload a large (1GB) file in Amazon S3.
  3. To play a file in the owncloud folder from Amazon S3

Expected behaviour

When you play and download files from Amazon S3, provide a direct link or route to the S3 bucket files.

Actual behaviour

I assume that owncloud downloads files from AWS S3 to the cache before playing them.

Server configuration

Operating system: Ubuntu Linux 16.04.1
Web server: Apache 2.4.37
**Database:**MariaDB
PHP version: 7.0.32-0ubuntu0.16.04.1
ownCloud version: 10.0.10 (stable)

Updated from an older ownCloud or fresh install: Updated

Signing status (ownCloud 9.0 and above):

No errors have been found.

The content of config/config.php:


List of activated apps:

Enabled:
  - activity: 2.4.1
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_clipboard: 0.7.1
  - files_external: 0.7.1
  - files_external_ftp: 0.2.0
  - files_sharing: 0.11.0
  - files_trashbin: 0.9.1
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - market: 0.2.5
  - notifications: 0.3.5
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - files_primary_s3
  - files_versions
  - user_external

Using external storage: local/Amazon S3/WebDAV/

Are you using encryption: no

Client configuration

Browser: Chrome (latest)

Operating system: Windows 10 LTSB

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here
@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #33649 (S3 external storage id always assumes Amazon is used), #28568 (Files Locked in Amazon S3), #14371 (Issue adding S3 External Storage), #17826 (Adding Reduced Redundancy Storage on S3), and #18183 (config amazon s3 error).

@PVince81
Copy link
Contributor

There is some capability in the server to generate direct links as far as I remember, but is currently not used by the web UI. It would require the web UI to use the Webdav "downloadURL" property instead of the Webdav path.

Also this would not work for systems where the OC server is in an intranet where OC itself has access to Amazon but not the intranet users. Might need a config switch then.

@PVince81 PVince81 added this to the backlog milestone Jan 11, 2019
@Hubaxis7
Copy link
Author

There is some capability in the server to generate direct links as far as I remember, but is currently not used by the web UI. It would require the web UI to use the Webdav "downloadURL" property instead of the Webdav path.

I 'll be pleased if you give me, more detailed information how to configurate the server Ubuntu
+Owncloud to work with storage Amazon S3.

@PVince81
Copy link
Contributor

For support or help with setup, see https://owncloud.org/help/

I'll keep this ticket open only as feature request for adding direct link support in the web UI.

@stale
Copy link

stale bot commented Sep 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

@cristiano-linvix
Copy link

Any way to use direct link from s3 to download files??

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

No branches or pull requests

5 participants