I installed OwnCloud on an EC2 instance and then created a folder pointing to an S3 bucket.
The installation seems to work well.
Whenever I try to upload a large file (> ~ 120 MB), I get the error message "Error assembling blocks".
Smaller files work well and larger files work in other folders as well.
The offer of the user is unlimited
When I review the requests, the request that has a problem contains the following information:
URL: https: ///remote.php/dav/uploads// web file upload/.File
Method: MOVE
Status: 500
header:
Goal: https: ///remote.php/dav/files///
Expected behavior
The file should be uploaded successfully
Actual behavior
Instead I get an error 500 "Blocks assembling error"
server configuration
Ubuntu 18.04
server:
Apache
Database:
MySQL
PHP version:
07/02/10
ownCloud Version:
10.0.10 (stable)
Updated from an older ownCloud or reinstall:
Fresh
Where did you install ownCloud:
Ubuntu repository
Edition of the current http: ///index.php/settings/integrity/failed
https://gist.github.com/danielfranca/8af8d65061e89e343d2e7aa434964b85
The contents of config / config.php:
not correct,
& # 39; # 39 & instanceid; => & # 39;& # 39 ;,
& # 39; password salt & # 39; => & # 39;& # 39 ;,
& # 39; secret & # 39; => & # 39;& # 39 ;,
& # 39; # 39 & TRUSTED_DOMAINS; =>
Array (
0 => & # 39;& # 39 ;,
1 => & # 39;& # 39 ;,
)
& # 39; # 39 & directory data; => & # 39; / var / www / owncloud / data & # 39 ;,
& # 39; # 39 & overwrite.cli.url; => & # 39; http: //& # 39 ;,
& # 39; # 39 & dbtype; => & # 39; mysql & # 39 ;,
& # 39; version & # 39; => & # 39; 10 .0.10.4 & # 39 ;,
& # 39; # 39 & dbname; => & Owncloud & # 39 ;,
& # 39; # 39 & dbhost; => & # 39;& # 39 ;,
& # 39; # 39 & dbtableprefix; => & # 39; oc _ & # 39 ;,
& # 39; # 39 & dbuser; => & Cir; oc_admin & # 39 ;,
& # 39; # 39 & dbpassword; => & # 39;& # 39 ;,
& # 39; # 39 & logtimezone; => & UTCTC,
& # 39; installed & # 39; => true,
);
sudo -u www-data php occ config: list system
{
"System": {
"Update Checker": false,
"instanceid": ""
Passwaltalt: REMOVED SENSITIVE VALUE ***
secret: REMOVED SENSITIVE VALUE
"TRUSTED_DOMAINS":[
""
""
],
"Data directory": " / var / www / owncloud / data",
"overwrite.cli.url": "http: / /"
"dbtype": "mysql",
"Version": "10.0.10.4",
"dbname": "owncloud",
"dbhost": ""
"dbtableprefix": "oc_",
dbuser: REMOTE SENSITIVE VALUE
dbpassword: REMOVED SENSITIVE VALUE
"logtimezone": "UTC",
"installed": true
}
}
List of activated apps:
enabled:
- Comments: 0.3.0
- configreport: 0.1.1
- dav: 0,4,0
- federated file sharing: 0.3.1
- Federation: 0,1,0
- Files: 1.5.1
- files_external: 0.7.1
- files_sharing: 0.11.0
- files_trashbin: 0.9.1
- File versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- Market: 0,2,5
- Notifications: 0.3.5
- Provisioning_api: 0.5.0
- system tags: 0.3.0
- Update notification: 0.2.1
disabled:
- Encryption
- externally
- user_external
Do you use an external memory, if so what? local / smb / sftp / …
s3
Use the encryption: Yes No
No
Do you use an external user backend, if so what: LDAP / ActiveDirectory / Webdav / …
No
Client Configuration
browser:
Tried in several: Chrome, Brave, Vivaldi, Firefox
Operating system:
logs
ownCloud protocol (data / owncloud.log)
That's the important part, I think
{"reqId": "fsFwhOqJnBqtvKfbTPzq", "level": 3, "time": "2018-11-21T15: 30: 16 + 00: 00", "remoteAddr": "213.127.78.59", "user": ""," app ":" PHP "," method ":" MOVE "," url ":" / remote.php / webdav /"," message ":" Exhausted memory size of 134217728 bytes exhausted (trying to map 992957192 bytes) under / var / www / owncloud / lib / composer / guzzle / stream / guzzle / stream / Stream.php # 71 "}