As a follow-up to this question, does anyone have experience with serving webDAV requests using the built-in nginx module (with dav-ext) rather than a heavy app like seafile or nextcloud?
My naive try did not succeed. With the config below, a PROPFIND request to https://my-domain.tld/webdav gets redirected (302) to https://my-domain.tld/yunohost/sso which then logically fails with 405 (method not supported). I guess that the authentication is not handled properly. Any idea how to fix this?
You need to add a persistent rules in SSOWat ( see /etc/ssowat ). the rule should disable sso on request /webdav/ . For example with skipped_uris property.
Yunohost user are like system user thanks to the service nscdu (if i remember well). You can login with ssh if you enable the access (not recommended).
Hi, I have the same need. I currently have a webdav on a non-yunohost vps and I need to move it. I was wondering if your changes survived an update or got over-written by yunohost?
I know this post is two years old, but that actually works in favour of the question
Else, is there another way not involving the overkill of seafile/nextcloud?
Hello, I created an app, available in Yunohost Catalog.
Thus any update of Yunohost keeps the webdav server alive
see https://apps.yunohost.org/app/my_webdav
Hi,
This is broken because of some automatic tests
These tests fail, but they should not be passed .
I am working on changing them. I think it should be ok next week
Nevertheless, i installed it on my machine. It works
Thank you sir, I will try it then
I installed nextcloud last night and it broke for webdav saying nginx wasn’t cfg’d correctly. I just came home from work to tackle that new problem, but I’ll uninstall NC and try yours instead. Thank you very much!
Edit: I have nuked nextcloud and installed my_webdav successfully! I’ve also connected with Joplin. Right now I’m making a tarball on my normal vps to copy to my yunohost vps. I will undo it in the multimedia dir.
Edit2: Success! I have sync’d joplin on my OG pinephone and my desktop. Thank you for replying my question. It seems to work just fine. It should not be marked broken in yh.
Hi @marc, I have installed the package, and in an attempt to sync my zotero library, it says I don’t have the write permissions on the folder. It was clear because Zotero offers the option to create the folder, and it was refused.
I ran a chmod command with my user name and group multimedia, since all the other folders were with identical metadata, but it does not change the limitation of rights.
Do you know what would be the root of the problem here?
Many thanks
Hi Mathieu
When Yunohost gets your credentials, it connects to the webdav. i dont remember if the user used for writing on the filesystem is your login or www-data.
Never mind, did you try to connect to your Webdav from another computer?
if so, are you able to create a folder?