EricTheMagician / node-gdrive-fuse

This is a simple filesystem written in NodeJS to mount Google Drive as a local drive.
73 stars 21 forks source link

mount point not being mounted? #51

Closed saqebakhter closed 9 years ago

saqebakhter commented 9 years ago

Just installed latest pull commit, and it does not seem the mount point is being mounted:

sakhter@sakhter-ubuntu:~/sources/node-gdrive-fuse/src$ coffee fs.coffee Access Token Set 2015-3-28T14:45::26 - info: Loading folder structure 2015-3-28T14:45::26 - debug: Getting changes from Google Drive. The last change id was 17. 2015-3-28T14:45::27 - debug: There was 1 to parse 2015-3-28T14:45::27 - debug: saving folder tree 2015-3-28T14:45::27 - debug: Finished parsing changes from google


Nothing after this, just folder refreshes

sakhter@sakhter-ubuntu:/tmp$ tail -f GDriveF4JS.log {"level":"debug","message":"There was 1 to parse","timestamp":"2015-03-28T18:44:14.881Z"} {"level":"debug","message":"saving folder tree","timestamp":"2015-03-28T18:44:14.881Z"} {"level":"debug","message":"Finished parsing changes from google","timestamp":"2015-03-28T18:44:14.882Z"} {"level":"info","message":"Access Token Set","timestamp":"2015-03-28T18:45:22.127Z"} {"level":"info","message":"Loading folder structure","timestamp":"2015-03-28T18:45:22.134Z"} {"level":"info","message":"Loading folder structure","timestamp":"2015-03-28T18:45:26.474Z"} {"level":"debug","message":"Getting changes from Google Drive. The last change id was 17.","timestamp":"2015-03-28T18:45:26.479Z"} {"level":"debug","message":"There was 1 to parse","timestamp":"2015-03-28T18:45:27.093Z"} {"level":"debug","message":"saving folder tree","timestamp":"2015-03-28T18:45:27.094Z"} {"level":"debug","message":"Finished parsing changes from google","timestamp":"2015-03-28T18:45:27.095Z"}


config file:

^Csakhter@sakhter-ubuntu:~/sources/node-gdrive-fuse/src$ cat config.json { "mountPoint": "/tmp/mnt", "chunkSize": 8388608, "uploadChunkSize": 16777216, "advancedChunks": 5, "cacheLocation": "/tmp/cache", "refreshDelay": 60000, "maxCacheSize": 747520, "maxConcurrentUploads": 4, "debug": true, "accessToken": { "access_token": "xxxxxxxx", "token_type": "Bearer", "refresh_token": "xxxxxxxx, "expiry_date": 1427571922125 }


foldertree.json

{ "/": { "id": null, "parentid": null, "name": "root", "ctime": 1427566037649, "mtime": 1427566037649, "inode": 1, "permission": true, "children": [ "loading data" ], "mode": 16895 }

saqebakhter commented 9 years ago

Never mind - moving the cache & mount point to somewhere other than /tmp seems to fix it.