Owncloud works perfectly in http but remains blocked in https

Steps to reproduce

  1. Launch in http only, transmit big files OK
  2. Change the website in https
  3. Large files are transferred to the upload directory but the interface remains on file processing for files larger than 10 MB

Expected behaviour

Tell us what should happen
Files must be uploaded and directory upload must be empty

Actual behaviour

Tell us what happens instead
Chunks of files remain in directories under /var/www/owncloud/data/user/uploads/

Server configuration

Operating system: Debian 10 (Buster)

Web server: Apache 2.4

Database: MariaDB Ver 15.1 Distrib 10.3.27-MariaDB

PHP version: PHP 7.3.27-1~deb10u1

ownCloud version: (see ownCloud admin page) 10.7.0.4

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: http://download.owncloud.org/download/repositories/production/Debian_10/

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…
no

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:
Chromium / Firefox ESR

Operating system:
Linux Debian Buster

Logs

Web server error log

[Fri May 14 13:39:13.597661 2021] [authz_core:error] [pid 25866] [client 192.168.0.250:42568] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Fri May 14 13:52:59.769110 2021] [authz_core:error] [pid 26958] [client 192.168.0.250:44006] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Fri May 14 14:10:54.433601 2021] [authz_core:error] [pid 26957] [client 192.168.0.250:45958] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Fri May 14 15:28:59.655067 2021] [authz_core:error] [pid 4375] [client 192.168.0.250:56304] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt

Insert your webserver log here
https://gist.github.com/jdtissot/8a10728560fb03290d705830f89e9faa#file-apache-log

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

{“reqId”:“DZEqRziVPcCrbP1R1ck1”,“level”:1,“time”:“2021-05-14T12:00:02+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T11:40:02+00:00”}
{“reqId”:“tUC0fJWLVIUuOfFMolED”,“level”:1,“time”:“2021-05-14T12:15:01+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T11:55:01+00:00”}
{“reqId”:“4seLXrkzfsTu3BWH1IS0”,“level”:1,“time”:“2021-05-14T12:30:02+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T12:10:02+00:00”}
{“reqId”:“6T9S2C9tQwqW361RbQFz”,“level”:1,“time”:“2021-05-14T12:45:02+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T12:25:02+00:00”}
{“reqId”:“8caWWlBSmpLBG0LQWtNA”,“level”:1,“time”:“2021-05-14T13:00:01+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T12:40:01+00:00”}
{“reqId”:“OXRJ4WkrcAjoPkVtumvc”,“level”:1,“time”:“2021-05-14T13:15:02+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T12:55:02+00:00”}
{“reqId”:“9B2E2wNPswlWAQCN7p57”,“level”:2,“time”:“2021-05-14T13:16:50+00:00”,“remoteAddr”:“192.168.0.250”,“user”:“jdtissot”,“app”:“core”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/jdtissot/ISO/precision-t1700-workstation_Owner’s%20Manual_fr-fr.pdf",“message”:“ignoring lock release with type 1 for files/b3af948c7d1bc6b05d4be28b2e3d3526. Lock hasn’t been acquired before”}
{“reqId”:“9B2E2wNPswlWAQCN7p57”,“level”:2,“time”:“2021-05-14T13:16:50+00:00”,“remoteAddr”:“192.168.0.250”,“user”:“jdtissot”,“app”:“core”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/jdtissot/ISO/precision-t1700-workstation_Owner’s%20Manual_fr-fr.pdf",“message”:“ignoring lock release with type 1 for files/f7459e89701a7172a8f6b5cd7bcb2b7c. Lock hasn’t been acquired before”}
{“reqId”:“V8rpusvBnCO41BDHrEdE”,“level”:2,“time”:“2021-05-14T13:17:01+00:00”,“remoteAddr”:“192.168.0.250”,“user”:“jdtissot”,“app”:“core”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/jdtissot/ISO/Depouillement%20Eval%202019.pdf",“message”:“ignoring lock release with type 1 for files/b3c9d483d513d270079066f0d4d1ca1a. Lock hasn’t been acquired before”}
{“reqId”:“V8rpusvBnCO41BDHrEdE”,“level”:2,“time”:“2021-05-14T13:17:01+00:00”,“remoteAddr”:“192.168.0.250”,“user”:“jdtissot”,“app”:“core”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/jdtissot/ISO/Depouillement%20Eval%202019.pdf",“message”:“ignoring lock release with type 1 for files/f7459e89701a7172a8f6b5cd7bcb2b7c. Lock hasn’t been acquired before”}
{“reqId”:“Z6KlA0lPE7jZvjwZLadn”,“level”:1,“time”:“2021-05-14T13:30:01+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T13:10:01+00:00”}
{“reqId”:“67i3SCFhkRiAxv18OCfM”,“level”:1,“time”:“2021-05-14T13:45:02+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T13:25:02+00:00”}
{“reqId”:“dZWTwDcBhUc1gntPNcDV”,“level”:2,“time”:“2021-05-14T13:58:48+00:00”,“remoteAddr”:“192.168.0.250”,“user”:“admin”,“app”:“core”,“method”:“PUT”,“url”:"/owncloud/remote.php/dav/files/admin/Depouillement%20Eval%202019.pdf",“message”:“ignoring lock release with type 1 for files/02c294872c5810b7102da59171e65d49. Lock hasn’t been acquired before”}
{“reqId”:“cI4FuN7w8lk8mG1BnKTC”,“level”:1,“time”:“2021-05-14T14:00:01+00:00”,“remoteAddr”:"",“user”:"–",“app”:“cron”,“method”:"–",“url”:"–",“message”:“Invalidating tokens older than 2021-05-14T13:40:01+00:00”}

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
JQMIGRATE: Migrate is installed, version 1.4.0
DevTools failed to load SourceMap: Could not load content for chrome-extension://mmhlniccooihdimnnjhamobppdhaolme/lib/tp/browser-polyfill.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
26Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "font-src 'self'".

js.js?v=2a622324a06c9374184c0ba1932ffab2:2329 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js?v=2a622324a06c9374184c0ba1932ffab2:2329
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1308
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
trigger @ jquery.js:4350
a.event.trigger @ jquery-migrate.min.js?v=2a622324a06c9374184c0ba1932ffab2:2
(anonymous) @ jquery.js:4901
each @ jquery.js:374
each @ jquery.js:139
trigger @ jquery.js:4900
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:787
_beforeSend @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:878
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
_onSend @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:994
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
data.submit @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:721
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:286
(anonymous) @ jquery.js:3256
j @ jquery.js:3099
fireWith @ jquery.js:3211
(anonymous) @ jquery.js:3339
j @ jquery.js:3099
fireWith @ jquery.js:3211
e.<computed> @ jquery.js:3301
(anonymous) @ client.js?v=2a622324a06c9374184c0ba1932ffab2:713
Promise.then (async)
_simpleCall @ client.js?v=2a622324a06c9374184c0ba1932ffab2:710
createDirectory @ client.js?v=2a622324a06c9374184c0ba1932ffab2:811
submit @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:276
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:650
_.each._.forEach @ underscore.js?v=2a622324a06c9374184c0ba1932ffab2:186
submitUploads @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:648
onNoConflicts @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1105
checkExistingFiles @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:865
add @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1127
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:789
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1090
each @ jquery.js:374
_onAdd @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1083
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1289
j @ jquery.js:3099
add @ jquery.js:3145
always @ jquery.js:3246
_onChange @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1279
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
handlerProxy @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:706
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
js.js?v=2a622324a06c9374184c0ba1932ffab2:2329 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js?v=2a622324a06c9374184c0ba1932ffab2:2329
start @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1140
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:789
_beforeSend @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:878
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
_onSend @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:994
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
data.submit @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:721
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:286
(anonymous) @ jquery.js:3256
j @ jquery.js:3099
fireWith @ jquery.js:3211
(anonymous) @ jquery.js:3339
j @ jquery.js:3099
fireWith @ jquery.js:3211
e.<computed> @ jquery.js:3301
(anonymous) @ client.js?v=2a622324a06c9374184c0ba1932ffab2:713
Promise.then (async)
_simpleCall @ client.js?v=2a622324a06c9374184c0ba1932ffab2:710
createDirectory @ client.js?v=2a622324a06c9374184c0ba1932ffab2:811
submit @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:276
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:650
_.each._.forEach @ underscore.js?v=2a622324a06c9374184c0ba1932ffab2:186
submitUploads @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:648
onNoConflicts @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1105
checkExistingFiles @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:865
add @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1127
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:789
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1090
each @ jquery.js:374
_onAdd @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1083
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1289
j @ jquery.js:3099
add @ jquery.js:3145
always @ jquery.js:3246
_onChange @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1279
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
handlerProxy @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:706
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
client.js?v=2a622324a06c9374184c0ba1932ffab2:250 MOVE https://dmz-pve-srv05/owncloud/remote.php/dav/uploads/admin/web-file-upload-9ad3c5b2dbe62a4d2affb30dd0c37f4b-1621001220885/.file 404 (Not Found)
request @ client.js?v=2a622324a06c9374184c0ba1932ffab2:250
_moveOrCopy @ client.js?v=2a622324a06c9374184c0ba1932ffab2:749
move @ client.js?v=2a622324a06c9374184c0ba1932ffab2:837
done @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:315
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1385
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
trigger @ jquery.js:4350
a.event.trigger @ jquery-migrate.min.js?v=2a622324a06c9374184c0ba1932ffab2:2
(anonymous) @ jquery.js:4901
each @ jquery.js:374
each @ jquery.js:139
trigger @ jquery.js:4900
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:787
_onDone @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:914
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:960
j @ jquery.js:3099
fireWith @ jquery.js:3211
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:844
j @ jquery.js:3099
fireWith @ jquery.js:3211
x @ jquery.js:8264
(anonymous) @ jquery.js:8605
load (async)
send @ jquery.js:8622
ajax @ jquery.js:8166
upload @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:818
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:842
j @ jquery.js:3099
fireWith @ jquery.js:3211
x @ jquery.js:8264
(anonymous) @ jquery.js:8605
load (async)
send @ jquery.js:8622
ajax @ jquery.js:8166
upload @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:818
_chunkedUpload @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:869
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
send @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:958
(anonymous) @ jquery.js:3256
j @ jquery.js:3099
add @ jquery.js:3145
(anonymous) @ jquery.js:3255
each @ jquery.js:374
(anonymous) @ jquery.js:3252
a.Deferred @ jquery-migrate.min.js?v=2a622324a06c9374184c0ba1932ffab2:2
then @ jquery.js:3251
_onSend @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1003
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
data.submit @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:721
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:286
(anonymous) @ jquery.js:3256
j @ jquery.js:3099
fireWith @ jquery.js:3211
(anonymous) @ jquery.js:3339
j @ jquery.js:3099
fireWith @ jquery.js:3211
e.<computed> @ jquery.js:3301
(anonymous) @ client.js?v=2a622324a06c9374184c0ba1932ffab2:713
Promise.then (async)
_simpleCall @ client.js?v=2a622324a06c9374184c0ba1932ffab2:710
createDirectory @ client.js?v=2a622324a06c9374184c0ba1932ffab2:811
submit @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:276
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:650
_.each._.forEach @ underscore.js?v=2a622324a06c9374184c0ba1932ffab2:186
submitUploads @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:648
onNoConflicts @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1105
checkExistingFiles @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:865
add @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1127
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:789
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1090
each @ jquery.js:374
_onAdd @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1083
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1289
j @ jquery.js:3099
add @ jquery.js:3145
always @ jquery.js:3246
_onChange @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1279
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
handlerProxy @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:706
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
client.js?v=2a622324a06c9374184c0ba1932ffab2:430 Uncaught (in promise) TypeError: Cannot read property 'getElementsByTagNameNS' of null
    at Client._getSabreException (client.js?v=2a622324a06c9374184c0ba1932ffab2:430)
    at client.js?v=2a622324a06c9374184c0ba1932ffab2:758
_getSabreException @ client.js?v=2a622324a06c9374184c0ba1932ffab2:430
(anonymous) @ client.js?v=2a622324a06c9374184c0ba1932ffab2:758
Promise.then (async)
_moveOrCopy @ client.js?v=2a622324a06c9374184c0ba1932ffab2:753
move @ client.js?v=2a622324a06c9374184c0ba1932ffab2:837
done @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:315
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1385
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
trigger @ jquery.js:4350
a.event.trigger @ jquery-migrate.min.js?v=2a622324a06c9374184c0ba1932ffab2:2
(anonymous) @ jquery.js:4901
each @ jquery.js:374
each @ jquery.js:139
trigger @ jquery.js:4900
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:787
_onDone @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:914
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:960
j @ jquery.js:3099
fireWith @ jquery.js:3211
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:844
j @ jquery.js:3099
fireWith @ jquery.js:3211
x @ jquery.js:8264
(anonymous) @ jquery.js:8605
load (async)
send @ jquery.js:8622
ajax @ jquery.js:8166
upload @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:818
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:842
j @ jquery.js:3099
fireWith @ jquery.js:3211
x @ jquery.js:8264
(anonymous) @ jquery.js:8605
load (async)
send @ jquery.js:8622
ajax @ jquery.js:8166
upload @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:818
_chunkedUpload @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:869
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
send @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:958
(anonymous) @ jquery.js:3256
j @ jquery.js:3099
add @ jquery.js:3145
(anonymous) @ jquery.js:3255
each @ jquery.js:374
(anonymous) @ jquery.js:3252
a.Deferred @ jquery-migrate.min.js?v=2a622324a06c9374184c0ba1932ffab2:2
then @ jquery.js:3251
_onSend @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1003
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
data.submit @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:721
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:286
(anonymous) @ jquery.js:3256
j @ jquery.js:3099
fireWith @ jquery.js:3211
(anonymous) @ jquery.js:3339
j @ jquery.js:3099
fireWith @ jquery.js:3211
e.<computed> @ jquery.js:3301
(anonymous) @ client.js?v=2a622324a06c9374184c0ba1932ffab2:713
Promise.then (async)
_simpleCall @ client.js?v=2a622324a06c9374184c0ba1932ffab2:710
createDirectory @ client.js?v=2a622324a06c9374184c0ba1932ffab2:811
submit @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:276
(anonymous) @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:650
_.each._.forEach @ underscore.js?v=2a622324a06c9374184c0ba1932ffab2:186
submitUploads @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:648
onNoConflicts @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1105
checkExistingFiles @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:865
add @ file-upload.js?v=2a622324a06c9374184c0ba1932ffab2:1127
_trigger @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:789
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1090
each @ jquery.js:374
_onAdd @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1083
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
(anonymous) @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1289
j @ jquery.js:3099
add @ jquery.js:3145
always @ jquery.js:3246
_onChange @ jquery.fileupload.js?v=2a622324a06c9374184c0ba1932ffab2:1279
(anonymous) @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:405
handlerProxy @ jquery-ui.custom.js?v=2a622324a06c9374184c0ba1932ffab2:706
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121

b) The network log 

c) ...

Hi here!

Have you configured the PHP php_value upload_max_filesize variable?

I attach one link that will be helpful for you. Please read it carefully, apply the suggested settings and let me know the results.

https://doc.owncloud.com/server/admin_manual/configuration/files/big_file_upload_configuration.html

Erwin Palma

1 Like

Hi,
I try it without success.
If my serveur is in http only, without changing anything about php values, I can upload 4 Gb or more files without problems. Theses files are separated in chunks during the upload and are consolided in one file after treatement by ownCloud.

After applying the changes into the php.ini file, has you restarted the php-fpm and apache services?

1 Like

Yes, I reboot also the virtual machine.
I don’t have php-fpm services.
Same problem.

@jdtissot This link has all the details for your answer. I would suggest you to look it again with focus.

1 Like

Hi all,
I test with global php.ini (/etc/php/7.3/apache2/php.ini) values :

  • output_buffering = 0
  • max_execution_time 3600
  • max_input_time 3600
  • post_max_size = 8192M
  • upload_max_filesize = 8192M
    without success.

For files greater than 10 Mb, ownCloud keep in Processing file…
in /var/www/owncloud/data/user, I have a directory uploads which contents web-file-upload-xxxx directories.
In these directories which contains parts of files with a maximum of 10 MB per file.
ownCloud can’t reconstruct the entire file to store it in the correct directory under /var/www/owncloud/data/user/files/

I specify that in non ssl mode (http://example.org/owncloud), everything works correctly even for 4 GB files without having to touch the values of the php.ini file (default value of the php installation).

My /etc/apache2/sites-enabled/000-default.conf apache configuration:

<VirtualHost *:443>

Header always set Strict-Transport-Security max-age=31536000; includeSubDomains; preload
Header add Content-Security-Policy frame-ancestors ‘self’;
Header always set Referrer-Policy strict-origin-when-cross-origin
Alias /owncloud	/var/www/owncloud/
<Directory /var/www/owncloud/>
	Options		+FollowSymlinks
	AllowOverride	All

	<IfModule mod_dav.c>
		Dav	off
	</IfModule>

	SetEnv HOME		/var/www/owncloud
	SetEnv HTTP_HOME	/var/www/owncloud
</Directory>

</VirtualHost>

# Intermediate configuration

SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder off
SSLSessionTickets off
SSLUseStapling On
SSLStaplingCache “shmcb:logs/ssl_stapling(32768)”

---------------------------------------------
My /etc/apache2/conf-enabled/security.conf file
ServerTokens Prod
ServerSignature Off
TraceEnable Off
Header set X-Content-Type-Options: “nosniff”
Header set X-XSS-Protection: “1; mode=block”
Header set X-Frame-Options: “sameorigin”

My ownCloud configuration report
config_report_20210630.json.txt (332.5 KB)

app list :

  • activity
  • comments
  • configreport
  • dav
  • federatedfilesharing
  • federation
  • files
  • files_external
  • files_mediaviewer
  • files_pdfviewer
  • files_sharing
  • files_texteditor
  • files_trashbin
  • files_versions
  • firstrunwizard
  • market
  • notifications
  • provisioning_api
  • systemtags
  • templateeditor
  • updatenotification

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.