WEBDAV don't work anymore after an update

  • Hi,


    After one of the last update of omv 1.X my webdav installation stop working. Today I've upgrade to omv 2.x but the problem persist.


    I've tried to uninstall/purge/autoremove and reinstall the webdav plugin without success.


    I'm not skilled enough on webserver , for what I see something is up because the server answer with a white screen with a message of: "File not found."


    This is a ps -ef|grep dav


    www-data 2096 2088 0 09:59 ? 00:00:00 php-fpm: pool openmediavault-webdav
    www-data 2097 2088 0 09:59 ? 00:00:00 php-fpm: pool openmediavault-webdav



    This should be the webdav web site directory , I think the problem could be here , but I' not able to identify it ( index.php is missing ? )


    root@openmediavault:/var/www/webdav# ls -l
    totale 12
    -rw-rw-r-- 1 openmediavault openmediavault 774 dic 12 2014 auth.php
    -rw-rw-rw- 1 root root 76 giu 30 09:59 config.php
    -rw-rw-r-- 1 openmediavault openmediavault 794 dic 12 2014 server.php


    Thanks in advance for help!



    Regards

    • Offizieller Beitrag

    What is the output of:


    cat /var/www/webdav/config.php
    cat /etc/nginx/openmediavault-webgui.d/openmediavault-webdav.conf

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Thanks for the help




    • Offizieller Beitrag

    That all looks right. How about: dpkg -l | grep sabredav

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    Did you try connecting with cadaver on the omv box itself? cadaver http://localhost/webdav

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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

    My webdav directory is owned by openmediavault. Try:


    chown openmediavault:openmediavault /var/www/webdav
    service nginx restart


    And try cadaver again.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • My webdav directory is owned by openmediavault. Try:


    <code class="inlineCode">chown openmediavault:openmediavault /var/www/webdav</code>
    <code class="inlineCode">service nginx restart</code>


    And try cadaver again.



    Done , but with no effect at all



    But, digging inside forum I've found a problem with the file /etc/nginx/fastcgi_params.


    During the one of the last update of omv 1.x something happened at this file , I took the original file from another installation of OMV and now webdav work fine.


    For the other users , this is the working file fastcgi_params:



    Thanks a lot for your time.

    • Offizieller Beitrag

    That is same fastcgi_params that I have. Not sure how your other version was different. Glad it works.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!