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

Amazon S3 not updating #11652

Closed
dev4press opened this issue Oct 18, 2014 · 6 comments
Closed

Amazon S3 not updating #11652

dev4press opened this issue Oct 18, 2014 · 6 comments

Comments

@dev4press
Copy link

When I added S3 bucket, it was attached and files where added. I removed some files using ownCloud, but S3 was not deleting files. I removed files manually, and I had to delete S3 access keys from ownCloud and add them again, and only than changes were visible.

But now, I have many new files added into bucket, but ownCloud shows only state of bucket from 20 days ago, and it is not seeing any new file in bucket. Removing and adding access keys have no effect.

Only error in the log is this:

Fatal | remote | An exception occurred while executing 'SELECT `size` FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ?': SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Regards,
Milan

@karlitschek
Copy link
Contributor

@butonic any idea?

@butonic
Copy link
Member

butonic commented Oct 20, 2014

@dev4press are you using encryption? What version of owncloud are you using? Please consider updating the initial report with our issue template https://raw.github.com/owncloud/core/master/issue_template.md

What happens when you rescan the files via command line with occ?

> php occ files:scan <username>

or in the browser console with

scanFiles(true,'/')

Furthermore, you can increase the amount of logging in the config.php

@butonic
Copy link
Member

butonic commented Oct 20, 2014

might be a duplicate of #8633 when the missing files reside in subfolders in s3

@nlaplante
Copy link

I had a similar issue. I ran:

scanFiles(true, '/Amazon S3')

in the browser console. 'Amazon S3' is my S3 mount point. Refreshed the page and now I see the bucket content.

@nlaplante
Copy link

@butonic I don't think so; since I couldn't see files at the root of the bucket.

@PVince81
Copy link
Contributor

PVince81 commented Aug 3, 2015

Closing as duplicate of #13507

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

6 participants