I did exactly what @nephros wrote from step 1b (chum was yet installed) to step 8 using a Nextcloud account. Naturally, with tears in my eyes, I had to change nemo into defaultuser, but the rest was C+P and worked at the first try! It’s a little bit slow and it doesn’t refresh directory info realtime, but in general it does exactly what I want!
Unfortunately I can’t mount or umount as defaultuser any more! It only works in terminal as devel-su, and then i get a lot of error messages, e.g.
/sbin/mount.davfs: Warnung: der Server kann Dateien nicht sperren
but despite it still works as long as I mount/umount as devel-su in terminal. So, not completely damaged and still hope to make it running for daily driving sometimes.
edit: after the first crash i did deinstall everything and tried to reinstall davfs2 again following @nephros suggestions # 2 .There came some error messages and reinstallation was not possible. So I installed the package with Storeman, davfs2 version 1.5.6-1 again. Is this the right version?
The OR version currently doesn’t work on the Xperia 10, but this may also have other reasons, will say maybe i’ve made some mistakes. Tomorrow I will check again all details.
On the Volla it reported ‘package is yet installed’, so I did not install any package but only create the mountpoint and do the rest until # 8 in the list.
davfs is not listed in Settings/product info/installed packages. edit: on both Xperia 10 and Volla.
(deleted outdated info) But it’s working on the Volla. But it is SLOW!
edit: on X10 it’s version davfs2-1.6.1-1.4.1.jolla.armv7hl ,
on Volla it’s version davfs2-1.6.1-1.4.1.jolla.aarch64
edit: On X10 i deleted the ~/.davfs folder, deinstalled the package with pkvon, and then reinstalled again following # 1b to 8 and now it’s working again.
Yes that is the system-wide file. Note that things in the root partition are not encrypted, and it’s better to store secrets in the ~/.davfs2 per-user directory. (The original post mentions ~/davfs2 which is wrong, but I can’t edit the post any more.)
~/.davfs2 should be created automatically by running the mount command at least once.
Also, version 1.7.0 is now available on chum since a day or so.
Does this work reasonably fast though? In my local network, it was pretty much unusable. So I basically use my desktop nextcloud sync client in combination with syncthing on my phone and my desktop. That does the job way more smoothly for me. On top of that, but I might be wrong, periodically mounting and unmounting your Nextcloud WebDav folder to a folder on your phone that is being used by the file indexing system (it’s called tracker, isn’t it?) might not be ideal.
However, if you want to take full advantage of SFOS, using these standard folders like “Documents” is the best way to go and even necessary if you want to use the app “Documents” to open pdf-files, docx, odt,… I remember reading a few weeks back that blacklisting folders for tracker would be a good idea if you want to mount them with davfs. I didn’t find out how to do that back then, though: