-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Potential issue - S3 External Storage Error: fclose(): supplied resource is not a valid stream resource #15486
Comments
Have the same issue with a full Amazon S3 backed Nextcloud instance running 16.0.0. It's running inside the official Docker container from Nextcloud. Files have size 0 when uploaded through the web interface. When uploaded through the client the file shows up with the right size and readable from other devices and the web interface. (Tested with text file and foto PNG) |
Also experiencing the same issue. Wasabi backend. Windows client. Running NC 16 installed manually. |
Experiencing the same issue on NC 16 with S3 bucket added as external storage |
Experiencing the same issue on NC 16.0.2 with S3 bucket added as external storage |
same issue with same v16 inside a docker with a wasabi/s3 sotage |
Could be a regression from #14210 server/apps/files_external/lib/Lib/Storage/AmazonS3.php Lines 639 to 641 in 0d667d1
Starting with the referenced pull request the stream is closed in
A) Remove |
Seeing this as well with 16.0.3 |
Observing the same beahviour on 19.0.3 @kesselb
|
Please create a new issue. |
Steps to reproduce
Expected behaviour
The file should be added to the bucket in the external storage without issues.
Actual behaviour
The file is added successfully to the bucket and syncs correctly. While the file is added, it throws a log message:
Server configuration
Operating system: Ubuntu 18.04
Web server: Apache 2.4
Database: MySQL 5.7, Redis 4.0
PHP version: PHP 7.2
Nextcloud version: 15.0.7
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: nextcloud-snap
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
No extra configuration beyond snap defaults.
Are you using external storage, if yes which one: yes, Wasabi (via Amazon S3 API)
Are you using encryption: yes for the local server. No for the external storage
Are you using an external user-backend, if yes which one: No
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: