webdav : 413 Request Entity Too Large

  • Hello,
    i am using the webdav plugin and Photosync on IOS to auto upload photos when i return home, but if it tries to upload videos i get the following error :

    Code
    413 Request Entity Too Large


    googling shows that i should change certain request sizes in php.ini etc which i have done but this doesn't seem to have fixed it, does anyone have a suggestion to allow the uploading of videos from the phone ?
    thanks


    by the way, i searched and found a few php.ini files and am not sure the exact files i should be editing
    also

    Zitat

    grep -E "upload_max_filesize|memory_limit|post_max_size" /etc/php5/fpm/php.ini

    shows


    i also set :

    Zitat

    client_max_body_size 0;


    in /etc/nginx/nginx.conf as noted here

  • Hi Deejc,


    I think I fixed it :)


    you need to Change here


    /etc/php5/fpm/php.ini


    Code
    upload_max_filesize = 100M
    post_max_size = 100M


    and you need to update the real conf file for the webdav


    located here


    /etc/nginx/sites-available/openmediavault-webgui


    Code
    client_max_body_size xxxxM;


    xxxx is your limit


    then via SSH run


    Code
    service php5-fpm reload
    service nginx reload


    or restart


    Let me know, since I updated a lot of other files in the course of this .


    Have a nice Sync


    :P:P

  • that sems to be the right one, i set them masssive (2G) and it sems to upload videos now, so that means everytime i arrive home any photos or videos i have taken while out will auto upload to OMV


    Cheers!

    • Offizieller Beitrag

    File a bug report (feature request) on bugtracker to allow a default to be set in /etc/defaults/openmediavault. Then that value would be written every time the config was written.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Should work.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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