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

[External Storage] Amazon S3 uploaded folders via AWS console are not available in ownCloud #26819

Closed
SamuAlfageme opened this issue Dec 13, 2016 · 9 comments

Comments

@SamuAlfageme
Copy link

SamuAlfageme commented Dec 13, 2016

Steps to reproduce

  1. Configure a bucket in Amazon S3 and mount it as ext. storage option in ownCloud
  2. Create a couple of folders / upload some files
  3. Upload some folders to the bucket root:

screen shot 2016-12-13 at 10 01 04

Expected behaviour

The same dir tree is mounted in the external storage folder: /AmazonS3

Actual behaviour

The folders/files created in step 2 are the only ones displayed in the web UI:

screen shot 2016-12-13 at 10 03 51

To force updating the external storage directory (#11797) tried running sudo -u www-data ./occ files:scan --all -vvvvvv but again, it returns only those folders/files:

        ...
	Folder /admin/files/AmazonS3/
	File   /admin/files/AmazonS3/Screen Shot 2016-12-07 at 16.54.47.png
	File   /admin/files/AmazonS3/Screen Shot 2016-12-09 at 10.51.22.png
	File   /admin/files/AmazonS3/Screen Shot 2016-12-09 at 11.15.34.png
	File   /admin/files/AmazonS3/Screen Shot 2016-12-09 at 13.49.04.png
	File   /admin/files/AmazonS3/data_too_big.png
	Folder /admin/files/AmazonS3/new

+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 16      | 27    | 00:00:04     |
+---------+-------+--------------+

Server configuration

  • Operating system: Ubuntu 16.04 LTS
  • Web server: Apache 2
  • Database: mysql 5.5
  • PHP version: php5
  • ownCloud version: 9.1.3 RC1
  • Updated from an older ownCloud or fresh install: fresh
  • Signing status (ownCloud 9.0 and above):
- core
	- EXTRA_FILE
		- container_status.php
  • Are you using external storage, if yes which one: Amazon S3
  • Are you using encryption: no

Logs

ownCloud log (data/owncloud.log)

{"reqId":"VCe4gCRZoDBR1+MA0IZq","remoteAddr":"","app":"PHP","message":"Class 'OC_Mount_Config' not found at \/opt\/owncloud\/apps\/windows_network_drive\/appinfo\/register_command.php#24","level":3,"time":"2016-12-12T12:35:33+00:00","method":"--","url":"--","user":"--"}
@SamuAlfageme SamuAlfageme changed the title [External Storage] Amazon S3 uploaded files via AWS console are not available in ownCloud [External Storage] Amazon S3 uploaded folders via AWS console are not available in ownCloud Dec 13, 2016
@PVince81 PVince81 added this to the 9.1.4 milestone Dec 14, 2016
@PVince81 PVince81 modified the milestones: 10.0, 9.1.4 Dec 14, 2016
@PVince81 PVince81 modified the milestones: 10.0.1, 10.0 Apr 26, 2017
@PVince81 PVince81 modified the milestones: triage, 10.0.1 May 17, 2017
@PVince81 PVince81 removed their assignment Jun 26, 2017
@mitiih
Copy link

mitiih commented Aug 30, 2017

Same problem here...
If I use "Cloudberry Explorer for Amazon S3" to upload folders OR upload a folder through AWS S3 web console, the folder does not show up in owncloud storage.
Then if I create (not upload) a folder in AWS S3, that does show up in owncloud.
Folder size does not seem to matter in uploading problem.

Uploaded files does show up, no problem there but uploaded folders do not.

I'm just testing owncloud with AWS S3 so using t2 micro EC2 Ubuntu 16.04 and owncloud version 10.0.2.
The setup is just installed and updated.

@jdopson0624
Copy link

Why are these getting added to stale issues when they are in fact bugs?

@phil-davis
Copy link
Contributor

Why are automated tools stupid? What is the meaning of life, the universe and everything?

@ghost
Copy link

ghost commented Dec 19, 2017

Sorry, incomplete thought on my part. I saw another issue go stale, then close without any action taken and was thinking that would happen here too on a legitimate bug.

@phil-davis
Copy link
Contributor

This one got lucky - the automated bots have been closing a bunch of bug issues that are still valid.

@PVince81
Copy link
Contributor

@DeepDiver1975 mind having a look since you're in object store world ?

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@SamuAlfageme SamuAlfageme reopened this Jan 27, 2018
@DeepDiver1975
Copy link
Member

Secondary s3 storage integration just got move over to https://github.com/owncloud/files_external_s3.

Unfortunately GitHub does not allow to move issues. Please reopen the issue at https://github.com/owncloud/files_external_s3/issues

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants