I'm in a bind. We were using storage api to manage all of our uploaded videos on Amazon S3. The videos are originally uploaded to the local directory, then transferred by the storage api to amazon S3 and deleted from the local server. Cron had not been running for some time. We fixed the cron run. Before the recent cron run the Storage API showed 318 files in the container. After cron it only shows 48. The 48 files that it does show are on the top level. It no longer shows the other 270 files which are in sub directories set up by drupal such as image-cache. Now none of the files show up on the front end of the site.

I took a look at the amazon S3 bucket itself and all the files are still there.

How do I get storage_api to see these files in the subdirectory again?

Comments

nimbletoad created an issue.

Perignon’s picture

Sorta related. I just found that the cron jobs in the module was not logging anything to the DB if errors occurred. I just committed a change that adds logging. This will not fix any issue, but help troubleshoot.

http://cgit.drupalcode.org/storage_api/commit/?id=645803b

This is in the 7.x-1.x-dev.

If you want to try dev and see if some errors start appearing in your logs, that might help us get to a solution. I took over Storage API from the original creator so I am learning the module like everyone else. I have started documenting code to get a better understanding of how Storage API works. Then slowly start fixing problems and hopefully improving the code.