Internal rclone mount not working in Windows
Is there an existing issue for this?
- [x] I have searched the existing open and closed issues
Current Behavior
When starting Decypharr, it creates the folder structure specified in the config.json as the mount_path for rclone. The rclone mount then fails because the rclone mount is a symbolic link, and in Windows you can not make a symbolic link to a folder that already exists.
Creating an rclone mount manually to the same location works as intended.
Expected Behavior
What should happen is that Decypharr should not attempt to create the mount_path folder, and then rclone will create it as a symlink, not a real folder.
Steps To Reproduce
- In Windows 11, configure Decypharr's config.json with "mount_path": "C:\Decypharr\realdebrid\" (A non-existent folder on the OS)
- Start Decypharr
- See it fail to mount rclone because the folder already exists
Environment
- OS: Windows 11
- Version: 10.0.26100.6899
- Docker Install: No
- Browser: Edge 141.0.3537.71
What branch are you running?
Main/Latest
Trace Logs? Not Optional
2025-10-17 20:19:08 | INFO | [realdebrid] Debrid Service started with WebDAV 2025-10-17 20:19:08 | DEBUG | [decypharr] Started debrid worker 2025-10-17 20:19:08 | INFO | [http] Starting server on :8282/ 2025-10-17 20:19:08 | INFO | [realdebrid-webdav] Started indexing... 2025-10-17 20:19:08 | DEBUG | [realdebrid-webdav] Download link refresh job scheduled for every 40m 2025-10-17 20:19:08 | TRACE | [decypharr] Slots tracking job scheduled for every 30s 2025-10-17 20:19:08 | DEBUG | [realdebrid-webdav] Torrent refresh job scheduled for every 15s 2025-10-17 20:19:08 | DEBUG | [decypharr] Store worker started 2025-10-17 20:19:08 | DEBUG | [realdebrid-webdav] Link reset job scheduled for every midnight, CET 2025-10-17 20:19:08 | DEBUG | [decypharr] Started store worker 2025-10-17 20:19:08 | DEBUG | [decypharr] Started debrid cache worker for realdebrid 2025-10-17 20:19:08 | INFO | [realdebrid-webdav] 1213 torrents found from realdebrid 2025-10-17 20:19:09 | INFO | [realdebrid-webdav] Loaded 1213 torrents from cache 2025-10-17 20:19:09 | INFO | [realdebrid-webdav] Indexing complete, 1213 torrents loaded 2025-10-17 20:19:09 | INFO | [realdebrid-webdav] realdebrid WebDav server running at :8282/webdav/realdebrid/ 2025-10-17 20:19:09 | INFO | [rclone] Creating mount via RC mount_path="C:\mediacenter\realdebrid\realdebrid" provider=realdebrid webdav_url=http://localhost:8282/webdav/realdebrid/ 2025-10-17 20:19:09 | INFO | [rclone] Rclone RC server is ready 2025-10-17 20:19:09 | ERROR | [rclone] Mount attempt failed error="failed to create mount for realdebrid: failed to mount FUSE fs: mountpoint path already exists: C:\mediacenter\realdebrid\realdebrid" attempt=1 provider=realdebrid 2025-10-17 20:19:09 | DEBUG | [rclone] Retrying mount operation attempt=1 provider=realdebrid 2025-10-17 20:19:10 | DEBUG | [realdebrid-webdav] Refreshed download links 2025-10-17 20:19:11 | ERROR | [rclone] Mount attempt failed error="failed to create mount for realdebrid: failed to mount FUSE fs: mountpoint path already exists: C:\mediacenter\realdebrid\realdebrid" attempt=2 provider=realdebrid 2025-10-17 20:19:11 | DEBUG | [rclone] Retrying mount operation attempt=2 provider=realdebrid 2025-10-17 20:19:15 | ERROR | [rclone] Mount attempt failed error="failed to create mount for realdebrid: failed to mount FUSE fs: mountpoint path already exists: C:\mediacenter\realdebrid\realdebrid" attempt=3 provider=realdebrid 2025-10-17 20:19:15 | DEBUG | [rclone] Retrying mount operation attempt=3 provider=realdebrid 2025-10-17 20:19:18 | DEBUG | [decypharr] Started Arr worker 2025-10-17 20:19:21 | ERROR | [rclone] Mount attempt failed error="failed to create mount for realdebrid: failed to mount FUSE fs: mountpoint path already exists: C:\mediacenter\realdebrid\realdebrid" attempt=4 provider=realdebrid 2025-10-17 20:19:21 | ERROR | [rclone] Mount operation failed provider=realdebrid 2025-10-17 20:19:21 | ERROR | [realdebrid-webdav] Failed to mount realdebrid error="mount failed for realdebrid" 2025-10-17 20:19:32 | INFO | [rclone] Rclone RC server hard-terminated 2025-10-17 20:19:32 | INFO | [http] Shutting down gracefully... 2025-10-17 20:19:32 | DEBUG | [decypharr] Services context cancelled 2025-10-17 20:19:32 | DEBUG | [rclone] Mount monitoring stopped 2025-10-17 20:19:32 | INFO | [decypharr] Decypharr has been stopped gracefully. 2025-10-17 20:19:32 | INFO | [rclone] Stopping rclone RC server 2025-10-17 20:19:32 | INFO | [rclone] All mounts unmounted successfully 2025-10-17 20:19:32 | WARN | [rclone] Failed to send interrupt signal, using kill error="invalid argument" 2025-10-17 20:19:32 | ERROR | [rclone] Failed to kill rclone process error="invalid argument" 2025-10-17 20:19:32 | ERROR | [decypharr] Failed to stop rclone manager error="invalid argument"
Trace Logs have been provided as applicable
- [x] I have read and followed the steps in the documentation link and provided the required trace logs - the logs contain
trace- that are relevant and show this issue.