Skip to content

Upload problems with files >10 MB in shared folders #1317

Closed

Description

@mcgege

Hello community,

whenever I upload bigger files (> 10 MB) with the windows client (version 1.5.0, build 1913), I get an internal server error. The file is then found on the server (6.0.0a) with the suffix .ocTransferIdxxxxx ... in the logfile I also can find a lot of "File source not found for:" errors for successful transfered files!

And: this only happens in shared folders, my own folder is fine. Uploads via web interface is no problem at all ...

Greetings

Michael

Activity

  1. mcgege commented on Dec 22, 2013

    @mcgege
    Author

    Expected behaviour

    A file of size 10-20 MB should be synced / uploaded to a shared folder without problems

    Actual behaviour

    The sync breaks with an "internal server error"

    Steps to reproduce

    1. Put a file >10 MB in a shared folder (shared to you)

    Server configuration

    Operating system:
    OpenSUSE 12.3 x64

    Web server:
    Apache 2.2.22

    Database:
    sqlite3

    PHP version:
    5.3.17

    ownCloud version: (see ownCloud admin page)
    6.0.0a

    Updated from an older ownCloud or fresh install:
    fresh install

    List of activated app:
    Activity, Contacts, Deleted Files, Documents, PDF Viewer, Shared Files, Text Editor, Updater, Versions

    The content of config/config.php: (Without the database password and passwordsalt)
    'instanceid' => 'oc3d981b5bce',
    'datadirectory' => '/srv/www/htdocs/owncloud/data',
    'dbtype' => 'sqlite3',
    'version' => '6.0.0.14',
    'installed' => true,
    'forcessl' => true,
    'maxZipInputSize' => 838860800,
    'allowZipDownload' => true,
    'default_language' => 'de',
    'log_rotate_size' => 1048576,
    'enable_avatars' => false,

    Are you using external storage, if yes which one:
    no

    Client configuration

    Browser:
    Firefox 26.0

    Operating system:
    Windows 7 x64

    Logs

    Web server error log

    [Sun Dec 22 12:39:23 2013] [notice] Apache/2.2.22 (Linux/SUSE) mod_ssl/2.2.22 OpenSSL/1.0.1e PHP/5.3.17 configured -- resuming normal operations
    [Sun Dec 22 12:58:02 2013] [error] [client 141.0.20.83] client denied by server configuration: /srv/www/htdocs/owncloud/data/htaccesstest.txt
    [Sun Dec 22 13:03:38 2013] [error] [client 141.0.20.83] client denied by server configuration: /srv/www/htdocs/owncloud/data/htaccesstest.txt
    [Sun Dec 22 13:58:26 2013] [error] [client 141.0.20.83] client denied by server configuration: /srv/www/htdocs/owncloud/data/htaccesstest.txt
    [Sun Dec 22 15:03:06 2013] [error] [client 46.182.140.203] PHP Fatal error: Call to undefined method OC\Files\Storage\Wrapper\Quota::deleteAll() in /srv/www/htdocs/owncloud/lib/private/files/view.php on line 400
    [Sun Dec 22 15:05:25 2013] [error] [client 46.182.140.203] PHP Fatal error: Call to undefined method OC\Files\Storage\Wrapper\Quota::deleteAll() in /srv/www/htdocs/owncloud/lib/private/files/view.php on line 400
    [Sun Dec 22 15:07:51 2013] [error] [client 46.182.140.203] PHP Fatal error: Call to undefined method OC\Files\Storage\Wrapper\Quota::deleteAll() in /srv/www/htdocs/owncloud/lib/private/files/view.php on line 400
    [Sun Dec 22 15:25:32 2013] [error] [client 141.0.20.83] client denied by server configuration: /srv/www/htdocs/owncloud/data/htaccesstest.txt
    [Sun Dec 22 21:22:54 2013] [error] [client 141.0.20.83] client denied by server configuration: /srv/www/htdocs/owncloud/data/htaccesstest.txt
    [Sun Dec 22 21:43:34 2013] [error] [client 141.0.20.83] client denied by server configuration: /srv/www/htdocs/owncloud/data/htaccesstest.txt

    ownCloud log (data/owncloud.log)

    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/mingliub.ttc.ocTransferId1864264941","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/mingliub.ttc.ocTransferId1864264941","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/msmincho.ttc","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/msmincho.ttc","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/tt0140m_.ttf","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/tt0140m_.ttf","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/tt0141m_.ttf","level":3,"time":"2013-12-22T14:09:23+00:00"}
    {"app":"files_sharing","message":"File source not found for: /files/Gemeindeprogramm/Schriften/tt0141m_.ttf","level":3,"time":"2013-12-22T14:09:23+00:00"}

  2. mcgege commented on Dec 25, 2013

    @mcgege
    Author

    Could be linked to issue #1279

  3. dali-dbr commented on Jan 4, 2014

    @dali-dbr

    I have exactly the same issue. Windows 8.1 64bit / Apache 2.4.4 / PHP 5.4.13

  4. jannikolai commented on Jan 15, 2014

    @jannikolai

    Experiencing the same behavior using the latest OS X client (1.5.0).
    Uploading into a shared folder via the webinterface works fine, but the client fails.

  5. dragotin commented on Jan 15, 2014

    @dragotin
    Contributor

    This is supposed to be fixed with the fix of owncloud/core#6608 You could verify with using the stable6 branch or wait until 6.0.1 is available.

  6. mcgege commented on Jan 15, 2014

    @mcgege
    Author

    Thanks - I'll test it with 6.0.1 ...

  7. mcgege commented on Jan 24, 2014

    @mcgege
    Author

    Confirmed! Problem ist fixed in 6.0.1

  8. Paulvw commented on Feb 5, 2014

    @Paulvw

    Running 6.0.1 , but experience the exact same problem. Upload with client 1.5.0 fails at 10MB. Upload by web works fine. Tried on 2 different servers (both with the same software installed) and multiple clients
    Server is Debian 7 Wheezy, php 5.4.4-14, apache 2.2.22 and MySQL
    Tested with client from win7 x64, win8 x64 and server 2012, all with the same result (bad request)

  9. Paulvw commented on Feb 6, 2014

    @Paulvw

    After some further investigation it turns out that it works fine as long as it's uploaded to a location on the debian host, however when i mount a folder to the host, and add with external storage app that location to a user, uploading stops at 10mb. Mount is created with uid and gid 33 (www-data)

  10. Paulvw commented on Feb 6, 2014

    @Paulvw

    Issue got solved. Turned out that adding some permissions when mounting the smb-share was needed. After that it all works like a charm :)

  11. Paulvw commented on Feb 7, 2014

    @Paulvw

    Other issue that also gave the 10mb-limit back was that i've set the quota to 0b, and want users only to use the location on the mounted storage. It seems that the temp-folder for the file-parts is limited to the user's quota. The size of upload is limited to the size of the quota that's set. Now set to 1GB and everything works perfectly :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions