francrouge

Members
  • Posts

    450
  • Joined

  • Last visited

Everything posted by francrouge

  1. It's ok lol maybe i made an error somewhere. 1. Password is ok just tested 2. the mouncheck file is encrypted so i suppose its working. 3.yes i can see it Check my picture just in case. Inside mountcheck it should look like this ? touch mountcheck rclone copy mountcheck gdrive_media_vfs: -vv --no-traverse thx
  2. Mount #!/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 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." 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 # uncomment the unionfs mount below if not using teamdrive and delete the one above 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 tautulli docker start PlexMediaServer fi ############### end dockers that need unionfs mount ###################### # populate rclone dir-cache # only populate dir cache once if [[ -f "/mnt/user/appdata/other/rclone/dir_cache_populated" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: dir cache already populated" else touch /mnt/user/appdata/other/rclone/dir_cache_populated echo "$(date "+%d.%m.%Y %T") Info: populating dir cache - this could take a while." rclone rc --timeout=1h vfs/refresh recursive=true echo "$(date "+%d.%m.%Y %T") Info: populating dir cache complete." fi exit Config [gdrive] type = drive scope = drive token = client_id = client_secret = [gdrive_media_vfs] type = crypt remote = gdrive:crypt filename_encryption = standard directory_name_encryption = true password = password2 = thx
  3. Thx for infos So can you tell if i,m juste able to upload. I can,t see nothing in union folder and rclone mount. What should i check first ? Thx again Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  4. It will force to update again so just to be sure the installation went well. In docker section and on plex after See the picture Thx Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  5. Try the force update option in docker section. Also did you put you're transcoding folder in cache ? Thx Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  6. Ok thx for the infos So if i understand you correctly for unionfs. I should see local shares folder and google drive. Or local files that i put and google drive ? Sorry for all those questions i'm new to this. Thx Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  7. Okay so good news i managed to fix the upload issue I'm able to upload files with the uploader script but i can't see nothing in the mount_rclone and union fs is it normal ? Because in the first page it say to map plex to union i think. thx
  8. Hi I tried to do the mountcheck and now i'm getting this. rclone copy mountcheck gdrive_media_vfs: -vv --no-traverse 2018/12/19 10:47:54 DEBUG : rclone: Version "v1.45-035-g9cb3a68c-beta" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "copy" "mountcheck" "gdrive_media_vfs:" "-vv" "--no-traverse"] 2018/12/19 10:47:54 DEBUG : Using config file from "/boot/config/plugins/rclone-beta/.rclone.conf" 2018/12/19 10:47:54 DEBUG : pacer: Rate limited, sleeping for 1.44768391s (1 consecutive low level retries) 2018/12/19 10:47:54 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded) 2018/12/19 10:47:55 DEBUG : pacer: Rate limited, sleeping for 2.483050266s (2 consecutive low level retries) 2018/12/19 10:47:55 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded) 2018/12/19 10:47:56 DEBUG : pacer: Resetting sleep to minimum 10ms on success 2018/12/19 10:47:59 ERROR : : error reading source directory: directory not found 2018/12/19 10:47:59 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2018/12/19 10:47:59 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2018/12/19 10:47:59 ERROR : Attempt 1/3 failed with 1 errors 2018/12/19 10:47:59 ERROR : : error reading source directory: directory not found 2018/12/19 10:47:59 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2018/12/19 10:47:59 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2018/12/19 10:47:59 ERROR : Attempt 2/3 failed with 1 errors 2018/12/19 10:47:59 ERROR : : error reading source directory: directory not found 2018/12/19 10:47:59 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2018/12/19 10:47:59 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2018/12/19 10:47:59 ERROR : Attempt 3/3 failed with 1 errors I did create an api code etc. And now its this error rclone copy mountcheck gdrive_media_vfs: -vv --no-traverse 2018/12/19 12:46:52 DEBUG : rclone: Version "v1.45-035-g9cb3a68c-beta" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "copy" "mountcheck" "gdrive_media_vfs:" "-vv" "--no-traverse"] 2018/12/19 12:46:52 DEBUG : Using config file from "/boot/config/plugins/rclone-beta/.rclone.conf" 2018/12/19 12:46:53 ERROR : : error reading source directory: directory not found 2018/12/19 12:46:53 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2018/12/19 12:46:53 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2018/12/19 12:46:53 ERROR : Attempt 1/3 failed with 1 errors 2018/12/19 12:46:53 ERROR : : error reading source directory: directory not found 2018/12/19 12:46:53 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2018/12/19 12:46:53 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2018/12/19 12:46:53 ERROR : Attempt 2/3 failed with 1 errors 2018/12/19 12:46:53 ERROR : : error reading source directory: directory not found 2018/12/19 12:46:53 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2018/12/19 12:46:53 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2018/12/19 12:46:53 ERROR : Attempt 3/3 failed with 1 errors 2018/12/19 12:46:53 INFO : Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA - Errors: 1 (retrying may help) Checks: 0 / 0, - Transferred: 0 / 0, - Elapsed time: 1s
  9. Hi again If i tried to do the mountcheck i got an encrypted file in gdrive but if i put a file directly via krusader i got nothing. What should i do ? thx
  10. So if i understand you correctly i can just do the upload script and not the order if i want to move myself files ? and I can't see nothing in gdrive is it normal ? but i got some files in folders that were created
  11. Hi so i manage to run the commands In the logs everything look good. But My concern is this. I just want to be able to drag movies etc in my gdrive and then play it with plex. So how does you're script works ? Because ive been reading it and i don't quite understand the union_fs part. I can create my folder there but can i dump my files there ? Because nothing is showing up in gdrive write now ? thx a lot
  12. Yes exactly rookie mistake .. I'm going to do it the good way this time. Thx Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  13. Yes but i just realise that i created the file on my windows pc and transfert it directly to my gdrive.. so i don't think its ok lol I'm going to redo that Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  14. Hi nop always getting 1 9.12.2018 05:32:57 INFO: mounting rclone vfs. 2018/12/19 05:32:57 NOTICE: Serving remote control on http://127.0.0.1:5572/ 19.12.2018 05:33:07 CRITICAL: rclone gdrive vfs mount failed - please check for problems. Script Finished Wed, 19 Dec 2018 05:33:07 -0500 I'm not using teamdrive so i just copy the mount code i thought i needed Here is my config: [gdrive] type = drive scope = drive token = {"access_token": [gdrive_media_vfs] type = crypt remote = gdrive:crypt filename_encryption = standard directory_name_encryption = true password = password2 = My mount script: #!/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 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_rclone/tdrive_rclone1_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 --rc --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." rm /mnt/user/appdata/other/rclone/rclone_mount_running exit fi fi ####### End rclone gdrive mount ########## thx
  15. no I miss this part i think. But can you explain me a bit what i need to do in the gdrive i don't really understand this part. (I just read it ) Edit: I create a file in my drive with the commands inside touch mountcheck rclone copy mountcheck gdrive_media_vfs: -vv --no-traverse rclone copy mountcheck tdrive_media_vfs: -vv --no-traverse Thx
  16. I will reboot then thx Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  17. Ok and for the vfs error any idea ? Thx a lot Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  18. Hi i follow you're script but on startup i got an error 18.12.2018 20:21:29 INFO: mounting rclone vfs. 2018/12/18 20:21:29 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use 18.12.2018 20:21:34 CRITICAL: rclone gdrive vfs mount failed - please check for problems. Script Finished Tue, 18 Dec 2018 20:21:34 -0500 I erase my config and tried with new one but still samething any idea ? thx
  19. Hi all i need help please I setup everything in my unraid setup but i experience very slow start for plex and also it's taking a long time adding new media in plex (scanning). I just backup manually my video etc and scan it with plex after. But plex is scanning it very slow. I got the gdrive + crypt option my mount script: mkdir -p $mntpoint rclone mount --max-read-ahead 1024k --allow-other $remoteshare $mntpoint & thx
  20. Hi all, Thx for the great plugin. I got a question. Is there a way to optimize my script to be able to play faster on plex. I use the crypt option also. My problem is that it's always very slow to load the first time. Is there something i can change ? Mount script : mkdir -p $mntpoint rclone mount --max-read-ahead 1024k --allow-other $remoteshare $mntpoint & THx
  21. Hi all just installed the app can someone help me with the setup i want to do config for google cloud. thx
  22. O okay thx for the info Envoyé de mon Pixel 2 XL en utilisant Tapatalk
  23. Hi all I got a question for you. I have a cache pool option in my setup. I have 3 ssd 1 x240gb 1x240gb 1x256gb My probleme is that the total is 368gb in unraid. How could this be right ? unraid-diagnostics-20181127-0456.zip
  24. I just upgrade to 6.6.3 and samething. I will check the cable maybe its broken.. thx