WebDAV dowloads filling up system disk

    • OMV 4.x
    • WebDAV dowloads filling up system disk

      Hi, I am running OMV4 on a RPi. For some weird reason, when I download large files externally via WebDAV, my system disk (on SD card) gets filled up quickly.
      Could WebDAV be cashing on the SD card, and is there any way to prevent this? Besides the disk filling up, lots of write actions on the SD are also not a good idea...
    • Not without changing the plugin which would be overwritten by an update. You could consider running webdav in a docker or using ssh/scp.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • justtim wrote:

      It needs to be as simple as possible.

      Will look into other solutions for this purpose. Any recommendations?
      Use the sftp plugin which will create an sftp sandbox (along as user is in proper group) to upload/download files from specified shared folders. WinSCP is pretty easy to use. Otherwise, look at running nextcloud in a docker.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • @ryecoaaron Thanks for the suggestions. SFTP/SCP are not webbased (user will still need a client), and therefore not user-friendly enough in my opinion. I need it to work for my computer illiterate friends and family ;)
      Nextcloud might be overkill for simple occasional file sharing.

      @Mr.Grape I have seen that topic, but since WebDAV is unfortunately not working for me (although it does more or less what I am looking for), the solution for me is not in there.

      I will do some more research on different options. The topic has been discussed extensively on this forum for as far as I can see :) .
    • justtim wrote:

      hanks for the suggestions. SFTP/SCP are not webbased (user will still need a client), and therefore not user-friendly enough in my opinion. I need it to work for my computer illiterate friends and family
      Nextcloud might be overkill for simple occasional file sharing.
      If it is just occasional, maybe ftp/ftps would be the way to go. Most browsers support ftp.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      If it is just occasional, maybe ftp/ftps would be the way to go. Most browsers support ftp.
      I'll look into FTPS. Didn't think of that one yet. Would that work with the lets encrypt cert I already have installed?

      Mr.Grape wrote:

      I usually use a very simple web-based solution (not webdav) for the average user: index directory, ssl, basic auth. If there is a need to upload files, a simple php script.
      Would you mind sharing what you use? The functions I am looking for are in fact index directory, SSL and basic auth ^^ . No need to upload.
    • Mr.Grape wrote:

      Personally, I use the basic "directory index" function that you have in apache and nginx, and probably in every daemon server web. All you need to do is enter the location to be listed and activate the function in the daemon, the server will generate the page itself when the user visits.
      You can also optimize result using the right variables. In apache you have even htaccess which can handle variables per location. Ssl and basic auth is also part of the web daemon.
      If you do not have a certificate, either generate your own or use "lets encrypt", so browsers will not post a warning. You have "htpasswd" to generate passwords.

      All this is the usual procedure for preparing a website hosted on the machine. But you do not need to use any php. The server itself spits out simple html. For a user who in 2018 is mainly trained in using websites, this is a very simple solution.



      mr-grape.8w4.ovh/Frepke/
      login: Patrick
      password: Demo

      This is an example that I prepared for other forum user. More or less, this is how it can look to the end user who uses it
      Nice demo! This is exactly what I am looking for. Very simple click to download functionality, but with SSL and user account based.
      You should write a plugin for it! ;)

      gderf wrote:

      The level of simplicity you desire for your users is IMHO, unreasonable.

      There is no free lunch here. Someone has to perform some effort, and zero is not a reasonable amount.
      Well that's just like, your opinion man...
    • justtim wrote:

      You should write a plugin for it!
      openmediavault-nginx already exists.
      omv 4.1.15 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!