{"action":"created","issue":{"url":"https://api.github.com/repos/ncw/rclone/issues/947","repository_url":"https://api.github.com/repos/ncw/rclone","labels_url":"https://api.github.com/repos/ncw/rclone/issues/947/labels{/name}","comments_url":"https://api.github.com/repos/ncw/rclone/issues/947/comments","events_url":"https://api.github.com/repos/ncw/rclone/issues/947/events","html_url":"https://github.com/ncw/rclone/issues/947","id":195243350,"number":947,"title":"Unable to access files in a Google Drive mount","user":{"login":"jerblack","id":5771102,"avatar_url":"https://avatars.githubusercontent.com/u/5771102?v=3","gravatar_id":"","url":"https://api.github.com/users/jerblack","html_url":"https://github.com/jerblack","followers_url":"https://api.github.com/users/jerblack/followers","following_url":"https://api.github.com/users/jerblack/following{/other_user}","gists_url":"https://api.github.com/users/jerblack/gists{/gist_id}","starred_url":"https://api.github.com/users/jerblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerblack/subscriptions","organizations_url":"https://api.github.com/users/jerblack/orgs","repos_url":"https://api.github.com/users/jerblack/repos","events_url":"https://api.github.com/users/jerblack/events{/privacy}","received_events_url":"https://api.github.com/users/jerblack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-13T12:42:35Z","updated_at":"2016-12-14T06:38:29Z","closed_at":"2016-12-13T23:14:59Z","body":"My Amazon account got locked today, so now I'm trying to use Google Drive instead.  I tried to to just swap rclone for acd_cli and keep encfs and my mount paths the same so Plex could see the files in the same place without rescanning. (I have my data mirrored across both services with the same paths). Plex is showing all of my media as unavailable though. After troubleshooting I found that I can't copy any files out of my rclone mount, even with enc_fs disabled (just copying the encrypted blob directly so rclone should just see a regular encrypted file). I am unable to `cp` or `rysnc -av` any files from my rclone mount that is pointed at Google Drive.\r\n\r\n```\r\nrclone v1.34-62-gec0916cβ \r\nUbuntu Server 16.04\r\nservice Google Drive\r\n\r\n```\r\nThis is my mount setup\r\n```\r\n~/acd_enc   # acd_cli mounted /backup originally, now using rclone to mount gdc:backup/ to this path\r\n~/acd_dec   # encfs mounted a decrypted view of my files at ~/acd_enc/ to ~/acd_dec\r\n```\r\nThis is what I see when I try to copy a file from the terminal\r\n```\r\ncp e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7 ~/\r\n2016/12/13 06:37:02 LnLqMfkN9Xwd,A5XFCSsSihU/xJ5-M5njhmsMAjSO7ygDbnqj/e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7: Dir.Lookup\r\n2016/12/13 06:37:02 LnLqMfkN9Xwd,A5XFCSsSihU/xJ5-M5njhmsMAjSO7ygDbnqj/e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7: Dir.Lookup OK\r\n2016/12/13 06:37:02 LnLqMfkN9Xwd,A5XFCSsSihU/xJ5-M5njhmsMAjSO7ygDbnqj/e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7: File.Attr\r\n2016/12/13 06:37:02 LnLqMfkN9Xwd,A5XFCSsSihU/xJ5-M5njhmsMAjSO7ygDbnqj/e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7: File.Open\r\ncp: cannot open 'e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7' for reading: Input/output error\r\n\r\nrsync -av e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7 ~/\r\nsending incremental file list\r\n2016/12/13 06:38:00 LnLqMfkN9Xwd,A5XFCSsSihU/xJ5-M5njhmsMAjSO7ygDbnqj/e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7: File.Open\r\nrsync: send_files failed to open \"/home/jeremy/acd_enc/LnLqMfkN9Xwd,A5XFCSsSihU/xJ5-M5njhmsMAjSO7ygDbnqj/e58X5Lg2mjXyMtnjTs3BTwC4PXpA-SQbn5qOecUcu3tOOXc9xFrFlgSRjrDxk,0zQX7\": Input/output error (5)\r\n\r\nsent 140 bytes  received 35 bytes  350.00 bytes/sec\r\ntotal size is 4,909,415,695  speedup is 28,053,803.97\r\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]\r\n```\r\nand this is the script I use to create the mount, which shows the mount options I am using.\r\n```\r\n#!/bin/bash\r\n\r\nfusermount -u /home/jeremy/acd_dec\r\nfusermount -u /home/jeremy/acd_enc\r\n\r\n\r\nrclone mount -v --allow-other --gid 1000 --uid 1000 --max-read-ahead 4096k --no-modtime gdc:backup /home/jeremy/acd_enc &\r\nexport ENCFS6_CONFIG=\"/home/jeremy/.config/enc/.encfs6.xml\"\r\nexport ENCFS6_PWFILE=\"/home/jeremy/.config/enc/k\"\r\nencfs /home/jeremy/acd_enc /home/jeremy/acd_dec --extpass=$ENCFS6_PWFILE -o allow_other\r\n\r\n```\r\nAny ideas what I am missing?\r\n"},"comment":{"url":"https://api.github.com/repos/ncw/rclone/issues/comments/266955447","html_url":"https://github.com/ncw/rclone/issues/947#issuecomment-266955447","issue_url":"https://api.github.com/repos/ncw/rclone/issues/947","id":266955447,"user":{"login":"jerblack","id":5771102,"avatar_url":"https://avatars.githubusercontent.com/u/5771102?v=3","gravatar_id":"","url":"https://api.github.com/users/jerblack","html_url":"https://github.com/jerblack","followers_url":"https://api.github.com/users/jerblack/followers","following_url":"https://api.github.com/users/jerblack/following{/other_user}","gists_url":"https://api.github.com/users/jerblack/gists{/gist_id}","starred_url":"https://api.github.com/users/jerblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerblack/subscriptions","organizations_url":"https://api.github.com/users/jerblack/orgs","repos_url":"https://api.github.com/users/jerblack/repos","events_url":"https://api.github.com/users/jerblack/events{/privacy}","received_events_url":"https://api.github.com/users/jerblack/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T06:38:29Z","updated_at":"2016-12-14T06:38:29Z","body":"Google started letting me download files again today, which made my rclone/encfs mount start working as expected. \r\n\r\n@jpat0000 I did follow the Plex configuration part of your advice, but I can't allow rclone to change the folder structure of my files since encfs expects a particular folder structure for encrypted content, so rearranging the encrypted files would break the decryption (at least that's my understanding of how it works). Regardless, I don't use rclone for uploads. I was having issues with rclone creating duplicate files and folders during upload so I had to stop using it, and I now use gdrive for uploads instead. I'm only using rclone for the mount with Google Drive."}}
{"actor":{"display_login":"jerblack"}}