[Solved] owncloud download large files aborted

  • Hello all,


    I'm facing an issue downloading large files with owncloud plugin.


    small files works fine (pictures for instance)


    I'm trying to share a 600Mo zip file and after a while connection aborts.


    apache2 openmediavault-webgui_error.log says:


    Code
    mod_fcgid: read data timeout in 300 seconds, referer: https://
    Premature end of script headers: index.php, referer: https://


    I've found this solution http://www.heath-whyte.info/da…id-timeouts-and-downloadsbut I'm not able to find the right config file where increase the FcgidBusyTimeout value.


    By the way if someone knows how increase value to make owncloud able to zip big files; right know it says:


    Code
    Selected files too large to generate zip file.
    
    
    Download the files in smaller chunks, seperately or kindly ask your administrator.



    Many thanks in advance,


    Florian

  • Do you have this in the admin section:


    File handling
    Enable ZIP-download


    Maximum input size for ZIP files



    When you are signed in as admin there is an admin dropdown in upper right-hand corner. Drop it down and select admin. Then look for this File handling for zip files.

  • ok thanks the second point is fixed.


    still my main issue; large files download aborted, still looking for a way to increase FcgiTimeout value but where is the config file?

  • Are you uploading to ownCloud or is a ownCloud user downloading to their machine??? Uploading is easy to fix in a php.ini file but I think he is talking when a user is downloading.


    Hurry burritto man. I have to take out the trash and get breakfast...

  • Ok I think I fixed it adding 2 lines in /etc/apache2/httpd.conf


    Code
    1
      2 <ifmodule mod_fcgid.c>
      3 FcgidBusyTimeout 3600
      4 FcgidIOTimeout 600
      5 MaxRequestLen 20000000000
      6 </ifmodule>
    ~
  • I think you will have to add something like this to the owncloud.conf, default.conf and default-ssl.conf (these 2 file are the virtual hosts). Then restart apache.
    Those configs are in these folders.
    /etc/apache2/openmediavault-webgui.d
    /etc/apache2/sites-available



    http://rickchristie.com/blog/2…-read-data-timeout-error/



    Anyway, I let you mess with that and give us feedback. If it does not work I try to look at this later.


    Hah, you beat me. You are on right track. It is apache issue. Good Luck..... :D

  • Okay I've fixed it.


    After a test in httpd.conf, I've modified in /etc/apache2/openmediavault-webgui.d


    owncloud.conf





    and default.conf



    and it works :) I was able to nsuccessfully download 677Mo with my poor adsl connection yuhuu!!


    I will check now the upload of big file to check if I will be able to upload my pictures remotly during holidays


    cheers


    Florian

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!