Rclone-Flow icon indicating copy to clipboard operation
Rclone-Flow copied to clipboard

Can't make mount point

Open mobilelifeful opened this issue 3 years ago • 2 comments

Thank you for sharing this, but it seems like can't make mount point at this time. (Can you please confirm if true).

mobilelifeful avatar Mar 07 '22 12:03 mobilelifeful

Can you send a screenshot of the logs mentioning the error

sorry for the late reply xd

sentinm avatar Oct 12 '22 13:10 sentinm

I guess you need to give permission for fuse mount to docker container to be able to do that

version: "3.7"
services:
  rclone:
    image: rclone/rclone
    container_name: rclone
    restart: unless-stopped
    volumes:
      - /mount/dir:/mount/dir
      - /etc/fuse.conf:/etc/fuse.conf
      - /root/config:/config/rclone
      - /root/rclone/log:/log
      - /root/rclone/cache:/cache
    privileged: true
    cap_add:
      - SYS_ADMIN
    devices:
      - /dev/fuse
    security_opt:
      - apparmor:unconfined
    command: 'rcd --rc-web-gui --rc-web-gui-no-open-browser --rc-addr 0.0.0.0:$PORT --rc-user $USERNAME --rc-pass $PASSWORD '   

add this is your compose file to be able to mount it not tested just speculating and you cant mount on heroku or other free services to be able to do that you need own server or vps where you have sudo access

Let me know if this works

References 1.https://forum.rclone.org/t/docker-compose-rclone-data-mount-not-accessible-on-host/29419/6 2.https://forum.rclone.org/t/it-is-possible-to-run-rclone-inside-the-docker-container-and-mount-the-folder-to-host/31268/6

bolavefasfas avatar Oct 20 '22 08:10 bolavefasfas