-
Posts
2,801 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Everything posted by DZMM
-
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
All looks ok to me - maybe someone else will spot something @Kaizac ??. What happens if you create a few test folders in: (i) /mnt/user/mount_unionfs/google_vfs (ii) directly in /mnt/user/rclone_upload/google_vfs Do they appear in /mnt/user/mount_rclone/google_vfs? (change --min-age 30m to --min-age 1m or delete in the upload script to test) The only thing I can think of is there was a weird gdrive issue last week where uploads from Europe were blocked for a day, but this has been resolved as far as I know -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Can you post your rclone config and scripts please -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
16gb should be enough. I'd disable the scripts and reboot. Then delete any residual checker files form /mnt/user/appdata/rclone (i think that's where all the script checks are) and then enable the scripts. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
your unionfs mount is failing, I think because you created your movies and tv_shows folder incorrectly. you need to delete those folders and then run your mount command/script again, then recreate the folders and they'll be copied to gdrive. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
how much ram do you have? Does rebooting help? -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
It does it when it can't see the files ie the mount isn't mounted. If you want fix ahead of schedule tell Plex to do a manual scan Is all working now? -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Does /mnt/user/mount_rclone/google_vfs exist? The Plex behaviour is correct as rclone isn't mounted, so it can't see the files. It will self correct once you fix the mount. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Thanks for posting the thread. I hadn't noticed any problems with playback and none of my users had mentioned anything, but my upload job was getting 429 errors. Adding the user agent to my upload script seems to have got it going again but it seems a bit slower - about 75% of the previous speed. It's a bit worrying if they are targetting the rclone user agent..... -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Manually remove this file /mnt/user/appdata/other/rclone/rclone_upload It should get removed at array start/end depending on how you've setup your unmount script -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
You either need to put the files in the right subfolders in your upload folder, or your scripts aren't quite setup properly - post your upload script -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
The scripts don't move files to the upload folder - you have to do that, or you've setup radarr to add new files to the mount. The min-age setting tells rclone not to move files from the upload folder to the mount that's younger than 30 mins. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
The touch command creates a file - you need to run the next commands to copy it to the mounts: rclone copy mountcheck gdrive_media_vfs: -vv --no-traverse rclone copy mountcheck tdrive_media_vfs: -vv --no-traverse -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Playback will be awful if you stream using a normal mount and you'll probably suffer from API bans -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Can you post your rclone config (remember to take out any personal info e.g. passwords) and mount script please -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
not sure what's happening, but try taking: mkdir -p /mnt/user/mount_rclone/google_vfs out of your mount script -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Just configure tdrive to not be a crypt and make it a direct mount of your google drive. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Yes, although I'd do every 5 minutes personally and also run the unmount at array start so it runs if you have an unclean shutdown -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
sorry, @francrouge you were having the problem I just fixed. If the mount was successful it wasn't deleting the /mnt/user/appdata/other/rclone/rclone_mount_running file allowing a manual mount to be run, until the unmount script runs at array stop or start. I've removed this check altogether as it's not needed as the script automatically remounts only if the mountcheck file isn't there, which is the real check that needs doing. Here's your scripts: #!/bin/bash ####### Start rclone mounts ########## # create directories for rclone mount and unionfs mount mkdir -p /mnt/user/appdata/other/rclone mkdir -p /mnt/user/mount_rclone/google_vfs mkdir -p /mnt/user/mount_unionfs/google_vfs mkdir -p /mnt/user/rclone_upload/google_vfs ####### Start rclone gdrive mount ########## # check if gdrive mount already created if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check rclone vfs already mounted." else echo "$(date "+%d.%m.%Y %T") INFO: mounting rclone vfs." rclone mount --allow-other --buffer-size 512M --dir-cache-time 72h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs & # check if mount successful # slight pause to give mount time to finalise sleep 5 if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check rclone gdrive vfs mount success." else echo "$(date "+%d.%m.%Y %T") CRITICAL: rclone gdrive vfs mount failed - please check for problems." exit fi fi ####### End rclone gdrive mount ########## ####### Start unionfs mount ########## if [[ -f "/mnt/user/mount_unionfs/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check successful, unionfs already mounted." else unionfs -o cow,allow_other,direct_io,auto_cache,sync_read /mnt/user/rclone_upload/google_vfs=RW:/mnt/user/mount_rclone/google_vfs=RO /mnt/user/mount_unionfs/google_vfs if [[ -f "/mnt/user/mount_unionfs/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check successful, unionfs mounted." else echo "$(date "+%d.%m.%Y %T") CRITICAL: unionfs Remount failed." exit fi fi ####### End Mount unionfs ########## ############### starting dockers that need unionfs mount ###################### # only start dockers once if [[ -f "/mnt/user/appdata/other/rclone/dockers_started" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: dockers already started" else touch /mnt/user/appdata/other/rclone/dockers_started echo "$(date "+%d.%m.%Y %T") INFO: Starting dockers." docker start PlexMediaServer docker start tautulli docker start binhex-sonarr docker start binhex-sickchill docker start binhex-jackett docker start binhex-delugevpn docker start binhex-krusader fi ############### end dockers that need unionfs mount ###################### exit #!/bin/bash # unmount to be safe fusermount -uz /mnt/user/mount_unionfs/google_vfs fusermount -uz /mnt/user/mount_rclone/google_vfs # Remove other dummy files if [[ -f "/mnt/user/appdata/other/rclone/rclone_upload" ]]; then echo "upload file present - removing dummy file" rm /mnt/user/appdata/other/rclone/rclone_upload else echo "rclone upload already exited properly" fi if [[ -f "/mnt/user/appdata/other/rclone/rclone_cleanup" ]]; then echo "cleanup file present - removing dummy file" rm /mnt/user/appdata/other/rclone/rclone_cleanup else echo "cleanup already exited properly" fi if [[ -f "/mnt/user/appdata/other/rclone/dockers_started" ]]; then echo "removing dummy docker check file" rm /mnt/user/appdata/other/rclone/dockers_started else echo "docker run once already removed" fi exit -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
I've fixed some errors in the mount and unmount scripts which might explain why some users were having problems re-mounting -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
I'm going to try and do a review of the github content this weekend as I haven't updated it for over 4 months now. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Post your full script -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
Yes -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
My script should automatically remount if you set it up to run on a cron job say every 5 mins - that's what I use. The problem with Plex is if it scans while the mount is down, if your settings are 'wrong' it will assume the files no longer exist and will remove them from the library. To avoid this make sure your Plex library settings are set to not automatically remove missing content - Plex will then add a trash sign next to content it can no longer see, and will fix itself if that content becomes available again. Doing this does mean you need to manually empty trash every now and then when you know it's safe to do so i.e. when the mount is active. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
DZMM replied to DZMM's topic in Plugins and Apps
I'm not sure what's going on there or if this will solve your problems: https://rclone.org/drive/#making-your-own-client-id You might need to post on the rclone forums -
Afraid so. If you're a rclone user it looks rclone union will get beefed up in 1.48 so I'll be able to ditch unionfs