Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cliff

Members
  • Joined

  • Last visited

Everything posted by Cliff

  1. I just noticed when running the uploadscript and looking at the log file it seams too loop through my entire media library on google drive with "skipping undecryptable filename" ? has that something to do with it? I already have a couple of TB with unencrypted media on my google drive that I want to show up in my mount folder
  2. the mount script is exactly as in github, the only thing I modified was commenting out the starting of the docker-containers
  3. #!/bin/bash ####### Check if script is already running ########## if [[ -f "/mnt/user/appdata/other/rclone/rclone_mount_running" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Exiting script already running." exit else touch /mnt/user/appdata/other/rclone/rclone_mount_running fi ####### End Check if script already running ########## ####### 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." # 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 rclone mount --allow-other --buffer-size 256M --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." rm /mnt/user/appdata/other/rclone/rclone_mount_running 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." rm /mnt/user/appdata/other/rclone/rclone_mount_running 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 plex # docker start ombi # docker start tautulli # docker start radarr # docker start sonarr fi ############### end dockers that need unionfs mount ###################### exit
  4. I am using all scripts from github unmodified. If I try the same thing using a cache instead and remove the -vfs options in the mountscript it seams to work but when using the crypt nothing gets mounted in any of the created folders. I tried placing a small -nfo file in the upload-folder and after running the upload-script I have a small encrypted file in my media-folder, and also a mountcheck file.
  5. I have tried like 5 times now following the guide exactly. I even moved to a new server with new hardware with same result. The closest I have got is that I now got a "crypt file" with random letters in my media folder on google drive which is the mountcheck I believe. If I add another random file to /user/mount_rclone/google_vfs/ I get another encrypted file in my media folder. But nothing from google drive shows up on my server in any of the folders. And if I try with a standard rclone mount command I can mount my google drive to a folder without problems.
  6. I tried changing to a cache instead and mounted manually. Now I get a folder and can see all my google drive media. But when I add that folder to Radarr and try to do a bulk-import of movies the log get flooded with: "Unraid emhttpd: error: get_filesystem_status, 6512: Operation not supported (95): getxattr: /mnt/user/media" Does anyone know why?
  7. Ok, but all folders are empty and nothing gets uploaded or downloaded from the crypt-folder on my google drive. And where am I suppose to see all my mediafiles from the google drive to be able to add them to plex?
  8. Ok, I changed my mind and tried using the crypt. But I don't understand how to get my google drive media to show up in any of the folders. I noticed that I get a new "crypt" folder on google drive, but if I add any files to it nothing shows up in any of the unraid folders.
  9. What modifications do I need to make if I want to use this method but without crypt and teamdrives?
  10. I have mounted my google drive folder using a cache and can see all my media files in it. But when I use radar and bulk-import on the path I get "Array-undefined" after a while and have to restart unraid to get my disks back. I have also tried the same thing on another server with the same result. Does anyone know why this happens? this is the mount-command: And this is the rclone config: [gdrive] type = drive client_id = <> client_secret = <> scope = drive root_folder_id = service_account_file = token = {"access_token":"<>"} [gdrive_media] type = cache remote = gdrive:Media chunk_size = 16M info_age = 2d chunk_total_size = 20G
  11. yes, I have tried mounting /google and even /google/<some other folder on the drive>. As the google drive is already mounted I can browse and select the folder from the docker-settings. And when syncing I see that folders and files are created on google drive, but the problem is that only folders and very small files 0-~5kb are created
  12. yes I have tried /mnt/disks too. The Cloud Commander docker works and is able to read/write to the mount. But I dont know how that works as that container mounts "/" and then you browse using the web-ui
  13. Here is my rclone config. But as I think I said earlier, I can read/write to the mount without problem if I use the Cloud Commander app
  14. Can anyone help me understand how to set things up. I got an seedbox where I have my torrent client and 300GB of storage. On my unraid-server I got a folder called "temp_movies" where I sync the unpacked movies from the seedbox. I also got a folder called "gdrive_movies" which is a rclone mount of my movie folder on google drive. How can I use radarr to monitor the "temp_movies" folder and move/update the files to my "gdrive_movies" folder ? I tried following the spaceinvader tutorial but could not figure out how to configure radarr. I have added my torrent-client under Remote Path Mappings where the remote path is the download path on my seedbox. But I cant figure out what the local path should be, Is it the temp_movies or gdrive_mount ?
  15. I am using the Syncthing docker container. I have tried restarting both the docker-container and the server multiple times without change. I also tried moving the mountpoint between different disks and tried modifying the mount-script. But I noticed a strange thing today. I changed the remote folder to a new folder on google drive, and this time folders where created again but also some small files like jpeg-thumbnails and .nfo files. But no "big" files where created
  16. Yes, I have tried everything. Right now it is mounted as r/w slave
  17. No, I have been manually starting the docker-containers after the script
  18. The "LadingZone" path is a local path on the drive and it works. But the google drive path does not seam to allow writes. I can see 0 byte tmp-files and empty folders being created on my google drive but no actual files gets created.
  19. But I can read and write to it with no problems when using a filebrowser on unraid, it is just when trying to write to the share when it is mounted in a docker container that it fails.
  20. I have a strange problem if I use rclone mount to mount a google drive folder it gets created correctly and I see all the files on my google drive. I can read and write to the share without problems using a file-browser on unraid. But whenever I add the mount to a docker-container I can't write to it. Does anyone know how to solve this?
  21. I am trying to get syncthing to sync to my google drive folder without success. I have mounted a google drive folder with: mkdir -p /mnt/user/google_syncfolder rclone mount --buffer-size 256M --fast-list --allow-other gdrive:Dump/ /mnt/user/google_syncfolder & I can see the mounted folder and all google drive files and can also copy from/to my google drive with the use of a file-browser on unraid. I have also added the same directory to the path in the syncthing container. But when trying to sync from a remote syncthing-server to the unraid server it just sits at 0% and then throws a sync error. If I look on my google drive I can see that syncthing has created a zero-byte .tmp file for every file I am trying to sync If I change the path in the syncthing container to a regular folder on the unraid server it works without problem. Can anyone explain to me how to solve this?
  22. Ok, I was prompted to add "--allow-non-empty" so I did that. But it has been running for 30min now and I don't see any files in any of the mount_folders. If I look at the google console drive api there are a couple of hundred requests that increment very slowly like one every 5 sec. The only thing I noticed that have changed is that I have a crypt folder now on my google drive with a single file in it
  23. Thanks, I guess the command should be: rclone mount gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs --buffer-size 256M --dir-cache-time 72h --drive-chunk-size 32M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off as that was the only way I could get rclone to accept the command. But when I run the command nothing happens.
  24. Sorry if this has been answered already. But I only want to mount a Google Drive folder to be able to play media using plex. I don't need any other of the fancy stuff the script does. I tried following the directions and have created the gdrive and vfs drive. But when I try to run the script I get errors about tdrive and unionfs cant be found. Is there some instructions just for the basic mount folder in unraid?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.