Skip to content

Amazon S3 not updating #11652

Closed
Closed

Description

@dev4press

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

Activity

  1. karlitschek commented on Oct 18, 2014

    @karlitschek
    Contributor

    @butonic any idea?

  2. butonic commented on Oct 20, 2014

    @butonic
    Contributor

    @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

  3. butonic commented on Oct 20, 2014

    @butonic
    Contributor

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

  4. nlaplante commented on Oct 21, 2014

    @nlaplante

    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.

  5. nlaplante commented on Oct 21, 2014

    @nlaplante

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

  6. PVince81 commented on Aug 3, 2015

    @PVince81
    Contributor

    Closing as duplicate of #13507

  7. locked as resolved and limited conversation to collaborators on Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions