Hi there,
We have recently been having issues sharing larger files (~200MB+) via public link from our owncloud instance as it now results in the download of the file stalling, partially completing or failing completely (network error) across all major browsers (Firefox, Chrome, Edge).
Rebooting the server had no effect and neither the owncloud nor apache logs produce any output while reproducing the issue. I have noticed a random apache process becoming defunct and disappearing every now and then but am not sure whether or not this was occurring prior to the problem.
This issue also appears to be related to the following unresolved issue: File Sharing (Link) download issues
I also suspect this problem might be related to the last OS patch that occurred a couple of weeks ago, however, this particular issue was not brought to our attention until recently. Here is the result of our ownCloud application server’s last OS patch (CentOS):
Jul 28 13:28:38 Updated: python-2.6.6-68.el6_10.x86_64
Jul 28 13:28:45 Updated: python-libs-2.6.6-68.el6_10.x86_64
Jul 28 13:28:45 Updated: 32:bind-libs-9.8.2-0.68.rc1.el6_10.3.x86_64
Jul 28 13:28:53 Updated: kernel-firmware-2.6.32-754.17.1.el6.noarch
Jul 28 13:28:53 Updated: 2:vim-filesystem-7.4.629-5.el6_10.2.x86_64
Jul 28 13:28:55 Updated: 2:vim-common-7.4.629-5.el6_10.2.x86_64
Jul 28 13:28:55 Updated: 2:vim-enhanced-7.4.629-5.el6_10.2.x86_64
Jul 28 13:29:02 Installed: kernel-2.6.32-754.17.1.el6.x86_64
Jul 28 13:29:02 Updated: 32:bind-utils-9.8.2-0.68.rc1.el6_10.3.x86_64
Jul 28 13:29:04 Updated: kernel-headers-2.6.32-754.17.1.el6.x86_64
Jul 28 13:29:05 Updated: 2:vim-minimal-7.4.629-5.el6_10.2.x86_64
Jul 28 13:29:05 Updated: tzdata-2019b-2.el6.noarch
Jul 28 13:29:12 Installed: kernel-devel-2.6.32-754.17.1.el6.x86_64
Jul 28 13:29:12 Updated: 1:dbus-libs-1.2.24-11.el6_10.x86_64
IMPORTANT NOTE: Our site has not been able to upgrade from a very old server version (v8.1.5) due to issues related to upgrading the database (even with the help of EE support). I am still waiting to hear back from EE support regarding our current issue but time is really of the essence for us (and there can be a significant time delay hearing back from support) so I’m kind of hoping the community might be able to come through for us here.
Steps to reproduce
- Access a public link file/folder
- Attempt to download a large file
- Wait for it to fail
Expected behaviour
The download should complete 100% every time.
Actual behaviour
The download stalls, partially completes (the browser thinks it’s completed when it’s clearly not going by the filesize) or fails (Chrome reports: network error).
Server configuration
Operating system: CentOS 6.10
Web server: Apache/2.4.12
Database: MySQL 5.1.73
PHP version: v5.5.21
ownCloud version: v8.1.5
Updated from an older ownCloud or fresh install: Updated from an even older version but has been running just fine until recently.
Where did you install ownCloud from: owncloud.com
Signing status (ownCloud 9.0 and above): N/A
The content of config/config.php:
$CONFIG = array (
‘supportedDatabases’ =>
array (
0 => ‘mysql’,
1 => ‘pgsql’,
2 => ‘oci’,
),
‘instanceid’ => ‘removed’,
‘passwordsalt’ => ‘removed’,
‘secret’ => ‘removed’,
‘trusted_domains’ =>
array (
0 => ‘removed’,
),
‘datadirectory’ => ‘/var/www/html/owncloud/data’,
‘overwrite.cli.url’ => ‘removed’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘8.1.5.2’,
‘dbname’ => ‘removed’,
‘dbhost’ => ‘removed’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘removed’,
‘dbpassword’ => ‘removed’,
‘logtimezone’ => ‘removed’,
‘installed’ => true,
‘license-key’ => ‘removed’,
‘ldapIgnoreNamingRules’ => false,
‘loglevel’ => 4,
‘mail_from_address’ => ‘owncloud’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_domain’ => ‘removed’,
‘mail_smtphost’ => ‘removed’,
‘mail_smtpport’ => ‘25’,
‘maintenance’ => false,
‘trashbin_auto_expire’ => true,
‘trashbin_retention_obligation’ => 7,
‘debug’ => ‘0’,
‘rules’ => ‘[{}]’,
);
List of activated apps:
Enabled:
- activity: 2.0.2
- admin_audit: 0.6
- enterprise_key: 0.1.0
- files: 1.1.10
- files_antivirus: 0.7.0.2
- files_drop: 0.4
- files_external: 0.2.3
- files_locking:
- files_pdfviewer: 0.7
- files_sharing: 0.6.3
- files_sharing_log: 0.5
- files_texteditor: 0.4
- files_trashbin: 0.6.3
- files_versions: 1.0.6
- files_videoviewer: 0.1.3
- firewall: 0.91.2
- firstrunwizard: 1.1
- gallery: 0.6.0
- provisioning_api: 0.2
- templateeditor: 0.1
- user_ldap: 0.6.1.1
Disabled: - encryption
- external
- files_ldap_home
- objectstore
- sharepoint
- user_external
- user_shibboleth
- user_webdavauth
- windows_network_drive
Are you using external storage, if yes which one: SMB/CIFS
Are you using encryption: NO
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration
±------------------------------+
| Configuration | s02
±------------------------------+
| hasMemberOfFilterSupport | 0
| hasPagedResultSupport |
| homeFolderNamingRule |
| lastJpegPhotoLookup | 0
| ldapAgentName | removed
| ldapAgentPassword | ***
| ldapAttributesForGroupSearch |
| ldapAttributesForUserSearch |
| ldapBackupHost |
| ldapBackupPort |
| ldapBase | removed
| ldapBaseGroups | removed
| ldapBaseUsers | removed
| ldapCacheTTL | 1800
| ldapConfigurationActive | 1
| ldapEmailAttribute | mail
| ldapExperiencedAdmin | 1
| ldapExpertUUIDGroupAttr |
| ldapExpertUUIDUserAttr |
| ldapExpertUsernameAttr | sAMAccountName
| ldapGroupDisplayName | cn
| ldapGroupFilter | removed
| ldapGroupFilterGroups |
| ldapGroupFilterMode | 0
| ldapGroupFilterObjectclass |
| ldapGroupMemberAssocAttr | member
| ldapHost | removed
| ldapIgnoreNamingRules |
| ldapLoginFilter | removed
| ldapLoginFilterAttributes | memberOf
| ldapLoginFilterEmail | 0
| ldapLoginFilterMode | 0
| ldapLoginFilterUsername | 1
| ldapNestedGroups | 1
| ldapNoCase | 1
| ldapOverrideMainServer |
| ldapPagingSize | 500
| ldapPort | 389
| ldapQuotaAttribute |
| ldapQuotaDefault |
| ldapTLS | 0
| ldapUserDisplayName | displayname
| ldapUserFilter | removed
| ldapUserFilterGroups |
| ldapUserFilterMode | 0
| ldapUserFilterObjectclass | user
| ldapUuidGroupAttribute | auto
| ldapUuidUserAttribute | auto
| turnOffCertCheck | 1
| useMemberOfToDetectMembership | 1
±------------------------------+
Client configuration
Browser: Firefox, Chrome, Edge
Operating system: Windows 10
Logs
Web server error log
N/A - no relevant output
ownCloud log (data/owncloud.log)
N/A - no relevant output
Browser log
N/A - no relevant output
Any ideas?? Could this be an Apache/PHP/SMB issue??