-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
File upload fails with encryption on s3 storage "ObjectUpload not found" #10455
Comments
GitMate.io thinks possibly related issues are #4730 (Storage), #3748 (Primary S3 Storage Backend + Encryption problem with file size, mimetype and first download failed), #8954 (Uploading large files fails), #8299 (Decryption failed with s3), and #3294 (No Previews/Thumbnails with Primary Storage S3 + Encryption). |
@TecJon can you test if this fix also solves the issue for you? |
@schiessle I am not sure what you mean. Do you speak of the branch “encryption-s3-fix” commited 6 days ago? |
@schiessle I'm afraid the error stays the same. To avoid any misunderstanding, I had to manually upload the changed files. Only 3 relevant files changed compared to NC 14 beta 1? |
@TecJon that's correct. This will not fix the problem for existing files, but should solve the issue for newly uploaded files after the fix was deployed. Did you tested it with old or new files? |
@schiessle I still can't upload (new) files. The progress bar will go to 100% and then nothing happens. Refreshing shows an empty folder. Not sure if related, I'm getting many 504 gateway timeouts suddenly on my test server. #10430 (comment) is the error log of the one click web host test install. |
@TecJon can you check the storage directly? Was the file uploaded. Also check the oc_file_cache table if there is a entry for the file you tried to upload. |
@schiessle here's what I found. Using NC 14 beta 2. Without adding the function
After adding the function
error log
editTrying to download the image again resulted in different errors: error 1
and error 2
Hope this helps 👍 |
I think the missing signature error should be fixed here: #10397 @icewind1991 any idea? |
Without it. Tested it again with the patch and the result looks like this. nextcloud log
That is strange. It happened to me on both test installations on completely different servers. |
Should be fixed with #10397 |
This should be fixed now with Nextcloud 1 beta 3. Please re-open the ticket and/or reply here if the problem still persist for you. |
Steps to reproduce
Expected behaviour
It should upload successfully
Actual behaviour
Upload bar stops at 100% and does not respond anymore.
I should add, this is a test install on a shared web space. However, so far I couldn't make an external storage with encryption work on any installation or release.
Could be related to #10430, #8299, #7420
Server configuration
Web server: shared web space
Database: mysql 5.7.21
PHP version: 7.0.25
Nextcloud version: 14.0.0.13
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from:
Signing status: No errors have been found.
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: yes, s3
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 61 64 Bit
Operating system: shared webspace
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: