-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS WebDAV #14
Comments
I'm also on a mac and I use this, does this work for you? |
I'm trying to bypass using macfuse or an rclone intermediary, my theory goes that this would improve stability (as I've had quite a few system hangs). zurg (inside docker) > rclone (native with macfuse) > mac dir: this seems to work but has some stability/hangup problems Are you running zurg natively or inside Docker? Which Docker solution are you running (if you are?) How many files/folders and how's performance? |
Ideally I'd like to mount like this: zurg (inside docker or even without docker) > native mac webdav mount |
I realized this is not fully supported yet, but I will! |
It seems to be okay using rclone as a proxy between them - but I imagine it would be cleaner without? |
@maxexcloo yes exactly. Always good to have a simpler setup. |
I use rclone from |
I will have to move the milestone to v0.9.4 sorry just too complex for me to do right now given that I'm prioritizing renames |
Trying to get this working too, it’s not an authentication issue is it ? |
It's not, it's just the bare-bones implementation of webdav protocol that I did for performance that is causing this |
Yeah perfect thanks for coming back, was able to download rclone and run it locally instead. Easier to have mount local instead of docker so you can use native plex app with hardware transcoding |
FYi @yowmamasita Have been looking at this and seems all you need is a head response, was able to pull this from logs outer Method not allowed: HEAD /dav/ map[Accept-Encoding:[gzip,deflate] Authorization:[Basic YW5vbnltb3VzOmN5YmVyZHVja0BleGFtcGxlLm5ldA==] Connection:[Keep-Alive] User-Agent:[Mountain Duck/4.15.3.21820 (Mac OS X/14.2.1) (x86_64)]] once a head response is given should work :) might know already but said I would send on |
This would be super helpful if we had it, especially because of often times rclone crashing on macos rendering the full scans impossible (everything gets deleted in plex because the mount dissapears) - see https://forum.rclone.org/t/rclone-keeps-disconnecting-using-zurg/43953 . |
Here is a little bit more further research I have done to try and resolve the rclone crashes. Docker compose
Docker Rclone volume pluginI tried to create a new volume using https://rclone.org/docker/, needed to do some special steps due to how docker works on mac OS:
Now this works and I can use the volume inside containers, however there is no way that I know of on how to use the volume on host system as volume propagation is not supported on macos. I could move my plex into the docker but then I would need to solve the hw acceleration etc. nfsmount with fuse-tI installed https://www.fuse-t.org/ and tried using |
I have tried to move my zurg/rclone setup to synology NAS - successfully. However, when scanning through Plex, mac seems to disconnect the network drive resulting in scan failure and all media becoming unavailable. I cannot move Plex because of lack of hw for transcoding. |
For documenting purposes, here is how one can use docker rclone on mac to expose webdav to host os:
|
I think I am in a pretty good state now. I changed my mount for the webdav native mount with following script in cron, solving the plex scan issues:
Then I found that when I run rdtclient it tends to kill the native webdav mount, possibly due to docker layer on mac mini. However, that was not the case when I was using the rclone mount. Rclone mount script that runs on cron every minute in addition to above:
And finally the docker containers; Note: I am using rogerfar/rdtclient:latest not the pukabyte since that does not work on Mac Mini M1.
|
Did anything happen with this? |
@JurajNyiri Thank you for those scripts. I downloaded zurg and rclone binaries and ran them locally. This is where I put them:
I ran Zurg first: Guys-MacBook-Pro:zurg guy$ ./zurg And then rclone: Guys-MacBook-Pro:zurg guy$ ./rclone serve webdav zurg: --addr 0.0.0.0:8080 --dir-cache-time 20s --vfs-cache-mode full --vfs-cache-max-size 10G --cache-dir="/Users/fastesthorse/ZurgTmp" And then I connected to
It keeps on going on and on. Maybe this is impacting performance? I'm on M1 Max Sonoma |
@JurajNyiri Is there a way I can reach out to you? Like Discord or Reddit or somewhere I can chat with you? I'm unable to setup Zurg, Rclone and RDTClient on a M1 Max MBP. I'd greatly appreciate your help. |
Hi,
First of all, awesome project! This is neat and I like how much more efficient it seems than before!
I'm trying to mount the created webdav share on macOS and not having a lot of luck - I'm not sure what exactly the problem is as it seems to fail silently with just this error:
zurg logs don't seem to be showing much either, do you have any tips?
Appreciate the help!
The text was updated successfully, but these errors were encountered: