• New OMV user here, coming from a world of Proxmox/Truenas and a monster NAS/docker server that unfortunately, with the recent price jumps for electricity in Europe, has become too expensive to operate, so I've ordered a low-powered mini pc and will add a couple of USB3 drives. My first thought was to just install Debian and run all my services in docker, but OMV looks like a nice lightweight environment that could run on my lightweight platform and provide a GUI to simplify the admin tasks so I'm gently digging around to learn about it.


    WebDAV/SSL is the only filesharing I'd be comfortable using over the public internet so I'm surprised to find there is no native WebDAV support in OMV. I saw mention of a WebDAV plugin in the past, but the suggestion seems to be to just run it in a docker container. I'm all for running stuff in docker containers, but I think a core service like this ought to be in there with the other services - SMB/CIFS, NFS etc. File sharing is after all what NAS platforms do. If the solution is to just run WebDAV in a container, you could say the same for all other services.


    Not meaning to start a religious war about it, just trying to understand the thought behind not including it, and making sure I make the right decision going down this OMV path.


    (I'm talking about OMV6 btw if that's important. It seems most people find it good enough that a new users might as well start with that rather than having to migrate in the near future.)

    • Official Post

    I think a core service like this ought to be in there with the other services - SMB/CIFS, NFS etc. File sharing is after all what NAS platforms do. If the solution is to just run WebDAV in a container, you could say the same for all other services.

    You are in the minority. Most OMV users do not use webdav or at least don't complain about it or use vpn to access smb/nfs (this is better than webdav). The old webdav plugin was based on sabredav which used OMV's nginx instance. So, it is a good fit for a container. nfs is kernel level and a terrible fit. But not everything you can think can be a plugin. There are only two of us writing/maintaining plugins. If you want to port the old webdav plugin and bring it up to date, the code is there. I stop maintaining it because hardly anyone used it.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • First let me start by saying it wasn't meant as a complaint, just a question to understand the reasoning behind not including it.


    I think maybe a reason why few ask for it could be they don't know about it? I don't find WebDAV to be a generally understood protocol. Essentially it's just a glorified webserver with access control right? How hard would it be to maintain?


    I'm a system administrator, not a developer, but thanks for the offer. :)

    • Official Post

    I think maybe a reason why few ask for it could be they don't know about it?

    As a Linux guy, I would never need webdav because I would argue scp is more secure. I would guess others use vpn or nextcloud. I can't say what the reason is.

    Essentially it's just a glorified webserver with access control right? How hard would it be to maintain?

    Hard isn't the question. I have X amount of time to maintain Y plugins. Why would I try force more time for a plugin that very few use? The plugin was available for years and still very few people used it. The plugin is also dependent on php-sabre-dav working with OMV's nginx config. This isn't non-trivial. How hard is it to use docker? I bet that is much less work for you than maintaining a plugin (that I don't use) for me.

    I'm a system administrator, not a developer, but thanks for the offer.

    And that is why we have to plugin devs and not every plugin people want. My solution was to help people get docker installed via omv-extras and then they were a compose file or portainer away from having what they want. samba and nfs are what 99% of NAS users need and OMV does that very well.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • this is my working webdav.yaml file, please modify it as you needs:


    • Official Post

    rcd2022 if you want to test an early version of the webdav plugin for omv 6.x, it is here - https://omv-extras.org/testing…avault-webdav_6.0_all.deb

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • I am running omv6 on an r-pi for about a month and besides some plugins that I needed to side load and the dashboard that it works erratically, I don’t have any issues.

  • Just tested openmediavault-webdav_6.0_all.deb on my OMV. Just a note that the plugin generates the dav_ext_methods directive in NGINX config, which requires apt install libnginx-mod-http-dav-ext. If auth is enabled, it also requires auth_pam and thus apt install libnginx-mod-http-auth-pam. If either is missing, NGINX won't start properly after applying changes and the Web GUI will fail, requiring fixes using the terminal.


    Could these two packages be added as dependencies to the deb?

    • Official Post

    Could these two packages be added as dependencies

    Added. https://github.com/OpenMediaVa…3a9aa726f53ed88d2b0e3a505


    I will rebuild the plugin when I get a chance. I haven't worked on it in a few months and don't remember where I left it.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • Hi all. It is very necessary to make webdav work in version 6 of openmediavault. Webdav is the only protocol for connecting external storage for the Onlyoffice teamwork system. The plugin does not save the settings, although it shows that everything was saved successfully. But when the page is updated, it again offers to activate it and select a directory to use. Thanks.

    • Official Post

    The plugin does not save the settings, although it shows that everything was saved successfully. But when the page is updated, it again offers to activate it and select a directory to use.

    It is alpha and I haven't really got much feedback on it. Hence why it isn't in the repos. I will see if I can reproduce.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

    • Official Post

    Found a couple missing lines. Give it a shot now - https://omv-extras.org/testing…avault-webdav_6.0_all.deb

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

    • Official Post

    As I understand it, in the plugin, you can open access to only one folder via webdav, not like in smb / cifs?

    Yes. That is the way the webdav plugin has always been. If I could get the plugin working well in a single folder setup, maybe it could be converted to multiple folders.

    Testing access with Windows 11 - unsuccessful.

    Unfortunately, I can't read your screenshots on the Windows side and don't use windows. Did you try using a browser to sign in? http://omv-hostname/webdav

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

    • Official Post

    Perhaps there are some logs from the omv side to study?

    Can I act as a debugger?

    Pretty sure nginx isn't restarting to see the config. Until I figure out the change to the plugin, run: sudo systemctl restart nginx

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • Log nginx after try http://fqdn/public and http://fqdn/webdav



    Code
    root@nas:~# tail -f /var/log/nginx/openmediavault-webgui_error.log
    
    
    2022/09/30 15:45:17 [error] 20733#20733: *3 open() "/srv/dev-disk-by-uuid-c6bba91b-cd34-4756-b934-0c7bef01a640/public/webdav" failed (2: No such file or directory), client: 10.101.101.37, server: openmediavault-webgui, request: "GET /webdav HTTP/1.1", host: "nas.*****.com"
    
    
    2022/09/30 16:02:16 [error] 20734#20734: *82 open() "/srv/dev-disk-by-uuid-c6bba91b-cd34-4756-b934-0c7bef01a640/public/webdav" failed (2: No such file or directory), client: 10.101.101.37, server: openmediavault-webgui, request: "GET /webdav HTTP/1.1", host: "nas.*****.com"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!