Waseh

Community Developer
  • Posts

    203
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Waseh

  1. First of all the point of the script is to edit it where it says mntpoint="/local/path" and remoteshare="remote:path" replacing what's inside the double quotes.

     

    The script will then create all the necessary folders.

     

    In your case it should be mntpoint="/mnt/disks/Mount/"

    You need to delete the script folder in the plugin folder to reset the scripts and undo your changes. I will make a button I'm the gui to reset the scripts as well.

     

    I will try and edit the script to make it even more obvious

  2. Love the additions so far. I'd like to request that I be able to go to the GUI page by clicking on the icon on the plugins page. I think most of the plugins work that way in addition to going through the settings page. It would be nice for consistency and ease of use.

     

    Yea that's definitely missing! i'll push an update that lets you go to settings from the plugin page!

    In regards to your script i think i might link to it from the OP instead. I was thinking that the included scripts would be the very basics and any more advanced scripts should probably be added manually. One could always use the custom (and empty) script for this :)

     

  3. Hi,

     

    A Couple of questions.

     

    Just looking at your scripts, with your mount I note you are calling rclone as normal.

    I had issues with this, it would time out, usually after my terminal ended. Is this not an issue when calling from user scripts?

    My solution was to call rclone via screen.

     

    as such.

    screen -S rclone -d -m rclone mount --allow-other --dir-cache-time 60m --max-read-ahead 200M --uid 99 --gid 100 secret:media /mnt/disks/cloud/rclone

     

    Also on the point of using /mnt/disks/ to help with dockers, this doesn't seem to work as well with rclone as it was for acd_cli. If I remount rclone for some reason I then get and error "Transport endpoint is not connected" when I try and access the mount \ volume mapping inside my docker, a restart fixes it. I have the volume set as Slave:RW as I did with acd_cli. Anyone else seeing that?

     

    Thanks,

    Wob

     

    Indeed - When using User Scripts you can just run the script in the background :)

     

    I was actually able to recreate the "Transport endpoint is not connected" - But i can only recreate it when i close down the mount script incorrectly for example in your case closing screen before unmounting. Also i could fix it by unmounting correctly and then remounting, without restarting.

    This also made me discover that i can still browse the mount from my dockers even when it's unmounted and cant be browsed from neither cmd line or my samba share. I can even playback media. It seems the mount somehow survives inside the dockers even when unmounted from the system.

  4. Hey guys!

     

    I've pushed an update to the beta branch that updates the rclone version to the latest beta.

    However in other and bigger news the new beta includes a very (very) basic webgui that allows you to edit the rclone.config as well as a few template scripts that can be edited and moved to the User Scripts Plugin all from the unraid webgui. I'm sure you might find some bugs but it's a start, and i've been using it in my own setup the last couple of days with no hickups :)

    Any suggestions for improvement are very welcome :)

  5. Yea I could maybe do that but in the end people would have to edit most of the script anyway. And to be honest I'm afraid it would create a bigger support burden as it could indicate that it's something I as the dev support

  6. Oh I completely missed that he was using rsync. That seems a bit unorthodox. You should be able to upload by moving data into the mount (atleast with Google Drive) but I'm not sure why you would want to move data to the mount with rsync instead of just uploading directly with rclone commands (which is a much more stable way to do it - uploading a lot of data via the mount is not recommended by the rclone dev)

  7. I can hardly notice any difference when starting playback from an encrypted ACD volume with rclone. Maybe 4-5 sec in total. Can it be your connection speed - 17 seconds sounds extreme?

    Neither can I. Hell sometimes it feels like the stream is faster than the local to start if the disk is spun down.

  8. Is there a list somewhere of what files types work when mounted?  E.g I can't open ms office files.

     

     

    Loving the possibilities though - just wish my upload was faster so I could seriously consider uploading my Plex files.  At the moment I'm uploading to cloud sync so I won't need my server on all the time.... eventually

     

    Huh - I just tested it and have the same problem. I agree with bobbintb that you should consult the rclone forum or the rclone github repo. Maybe the developer can shed some light on this.

    Edit: I'm using Google Drive

  9. The stable branch of rclone has been updated today. Because of this i have now released a version of the plugin which follows the stable branch. You can use this if you dont want to be on bleeding edge beta releases :)

    I will keep both versions updated as new releases are made :)

  10. You can't use the same method as the would require editing  the plg each time an update is released.

    I would use the user scripts plugin as I state in the OP or manually adding the cron job to your go file

    The config is preserved :)

  11. Great work putting this together Waseh!

     

    Can you show a link to the source code? I will eventually make a simple GUI for this to make it even more user friendly.

     

    A GUI would be great. I thought about doing it but I don't have the time and it would take me even more time learning it than someone that is already familiar.

     

    I think rclone will eventually have a daemon but until then this might be usefulle to add to the plugin:

    https://techarena51.com/index.php/inotify-tools-example/

     

    You can add inotify from the nerd tools plugin - I think thats a better solution for the people who need it :)