-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[oC7 Beta 1] S3 external storage doesn't work #11280
Comments
Got the error by debugging, somehow this is not logged:
|
Hmmmm, it seems that this PR #9509 breaks it for me. @ser72 would be good if you could try checking out commit 46ba08a and 687cd7f and compare whether it works for you. |
@ser72 is your test instance empty ? |
No there are files in the ocsteve bucket. only 1 or 2 but there are files there |
@ser72 what database are you using? I just tested with sqlite and get a lot of |
Postgresql. |
The database is locked errors are also worth to be debugged. I think we got bug reports like that in the past but could never really reproduce. |
FWIW I am experiencing a similar issue.
My oC log says: Debug webdav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found This is oC 7.0.2 on Ubuntu 14.04, Apache, MariaDB |
@karlitschek I can avoid the database is locked errors by commenting @carlaschroder that might be caused by another issue I noticed: the external storage seems to keep the cached files when removing and readding the cache. Even worse the storage filecach seems to be reused when the bucket name is changed, requiring a manual file rescan. For this issue I think I have a solution, but the tests somehow disagree ... I am on it. |
I'm not done yet, but progress can be tracked in https://github.com/owncloud/core/tree/fix_files_external_amazon_s3_stat_call TODO:
|
most of the problems are solved with #10104. I need another review for it, then I'll rebase my work to fix some remaining issues |
#11375 now fixes leftover issues after #10104 has been merged and backported. @icewind1991 @karlitschek @DeepDiver1975 What do we do with the database locked error on sqlite. It seems to be reproducible when scanning an external storage due to the open transaction. Should we disable it for sqlite only? |
@butonic if you’re asking if I used |
Tracking the db locked issue in #11391 |
fix will be in next build of master and stable7, discussion on sqlite db locking after the EE release in #11391 |
Expected Behavior
S3 mounted as external storage and accessible
Actual Behavior
S3 is mounted with green light but not accessible
Steps
Configure S3 external storage as such:
Go to ALL FILES page and see "UNKNOWN ERROR"
Go to EXTERNAL STORAGE page and see "UNKNOWN ERROR" remains but Amazon folder is listed:
Click on Amazon folder -- it spins forever attempting to open but never brings up a directory listing:
There are NO logs appearing in the owncloud.log file!!
Environment
Broken in 7.0.2RC1
Broken in oC7 Beta 1
Works in 6.0.5
@butonic @PVince81
The text was updated successfully, but these errors were encountered: