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...

WebDAV dowloads filling up system disk
-
- OMV 4.x
- justtim
-
-
Not without changing the plugin which would be overwritten by an update. You could consider running webdav in a docker or using ssh/scp.
-
Ok, than I'll move away from WebDAV.
I can/do use SSH/SCP or Samba over VPN for myself, but I want to share an occasional file with external users. It needs to be as simple as possible.Will look into other solutions for this purpose. Any recommendations?
-
-
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.
-
@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
.
-
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.
-
-
SFTP/SCP are not webbased (user will still need a client), and therefore not user-friendly enough in my opinion.
This is one of the best excuses for not accomplishing something I have ever seen
-
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?
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.
-
This is one of the best excuses for not accomplishing something I have ever seen
The problem is not me wanting/being able to set it up, I simply use VPN/Samba myself as said. The problem is I want to keep it as simple as possible for the users I am going to share a file with...
-
-
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.
-
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: DemoThis 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!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...
-
You should write a plugin for it!
openmediavault-nginx already exists.
-
-
Plugin for it? Sounds like some blasphemy!
I know, was just kidding
Thanks for your help! You've given me some good ideas!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!