Skip to content
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

Downloading of large file not working when using Swift as primary storage #22780

Closed
hyperbaba opened this issue Mar 2, 2016 · 11 comments
Closed

Comments

@hyperbaba
Copy link

hyperbaba commented Mar 2, 2016

Steps to reproduce

1.Upload large file (>1.5GB) to owncloud
2.Try to download it
3.

Expected behaviour

Tell us what should happen
File is downloaded to client computer

Actual behaviour

Tell us what happens instead
Nothing happens. Not even a error in owncloud.log

Server configuration

Operating system:
Ubuntu 14.04
Web server:
Apache
Database:
mysql
PHP version:
5.5
ownCloud version: (see ownCloud admin page)
8.2.2.2

Updated from an older ownCloud or fresh install:
Updated from an older
Where did you install ownCloud from:
From tar.gz downloaded from your download page
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 here.

List of activated apps:
default

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

Enabled:
  - activity: 2.1.3
  - files: 1.2.0
  - files_pdfviewer: 0.7
  - files_sharing: 0.7.0
  - files_texteditor: 2.0
  - files_versions: 1.1.0
  - files_videoviewer: 0.1.3
  - firstrunwizard: 1.1
  - gallery: 14.2.0
  - ocusagecharts: 3.4.5
  - provisioning_api: 0.3.0
  - templateeditor: 0.1
Disabled:
  - encryption
  - external
  - files_external
  - files_trashbin
  - notifications
  - updater
  - user_external
  - user_ldap

The content of config/config.php:

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

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

Are you using external storage, if yes which one: local/smb/sftp/...
I am using swift as a primary storage
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
We are using webdav on our client side

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:

Operating system:

Logs

Web server error log

Insert your webserver log here

no errors

ownCloud log (data/owncloud.log)

no errors or warnings on that matter

Insert your ownCloud log here

Browser log

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

a) The javascript console log
b) The network log 
c) ...
@hyperbaba
Copy link
Author

Forgot to mention. I see in /tmp that file is geting downloaded from objectstore but when it's downloaded it's deleted and new download from objectstore started with diferent php... name
This loops until client request is canceled

@PVince81 PVince81 added this to the 9.0.1-next-maintenance milestone Mar 2, 2016
@PVince81
Copy link
Contributor

PVince81 commented Mar 2, 2016

@icewind1991 can you have a look ?

CC @butonic

@PVince81
Copy link
Contributor

PVince81 commented Mar 9, 2016

Not sure if related, but there was this ticket about large file support: #19004

@hyperbaba
Copy link
Author

It's unrelated . Fails for files from 1GB+ . the #19004 is about swift restrictions for files 5GB+. We are using ceph radosgw instead of swift (but the with the swift v1 api.

@PVince81
Copy link
Contributor

PVince81 commented Mar 9, 2016

Could it be a PHP timeout issue then ? How long does it take to download ?

@hyperbaba
Copy link
Author

it's under 2 minutes. PHP timeout values are at 8 hour because of the slow upload clients

@ghost ghost modified the milestones: 9.0.2-current-maintenance, 9.0.1 Apr 11, 2016
@ghost ghost added the sev2-high label Apr 14, 2016
@ghost ghost modified the milestones: 9.0.3-next-maintenance, 9.0.2-current-maintenance Apr 19, 2016
@PVince81
Copy link
Contributor

@butonic have you ever observed this kind of issue with swift primary storage ?

@PVince81 PVince81 modified the milestones: 9.0.3, 9.0.4-current-maintenance Jun 30, 2016
@PVince81 PVince81 modified the milestones: 9.0.5, 9.0.4 Jul 18, 2016
@PVince81 PVince81 modified the milestones: 9.0.6, 9.0.5 Sep 21, 2016
@PVince81 PVince81 modified the milestones: 9.0.7, 9.0.6 Oct 20, 2016
@PVince81 PVince81 modified the milestones: 9.0.8, 9.0.7 Nov 30, 2016
@PVince81
Copy link
Contributor

PVince81 commented Feb 3, 2017

What swift server are you using ?

@PVince81 PVince81 modified the milestones: 9.0.9, 9.0.8 Feb 3, 2017
@hyperbaba
Copy link
Author

hyperbaba commented Feb 6, 2017 via email

@PVince81 PVince81 modified the milestones: 9.0.10, 9.0.9 Apr 13, 2017
@PVince81 PVince81 modified the milestones: 9.0.10, 9.0.11 May 29, 2017
@PVince81 PVince81 modified the milestones: triage, 9.0.11 Jun 29, 2017
@hodyroff
Copy link
Contributor

Swift will be deprecated in favor of full S3 support. Ceph supports S3.

@felixboehm felixboehm removed this from the triage milestone Apr 10, 2018
@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants