{"action":"opened","issue":{"url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/588","labels_url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/588/comments","events_url":"https://api.github.com/repos/CollectionFS/Meteor-CollectionFS/issues/588/events","html_url":"https://github.com/CollectionFS/Meteor-CollectionFS/issues/588","id":59951196,"number":588,"title":"gridfs Problem after Update","user":{"login":"lugaru90","id":5918938,"avatar_url":"https://avatars.githubusercontent.com/u/5918938?v=3","gravatar_id":"","url":"https://api.github.com/users/lugaru90","html_url":"https://github.com/lugaru90","followers_url":"https://api.github.com/users/lugaru90/followers","following_url":"https://api.github.com/users/lugaru90/following{/other_user}","gists_url":"https://api.github.com/users/lugaru90/gists{/gist_id}","starred_url":"https://api.github.com/users/lugaru90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lugaru90/subscriptions","organizations_url":"https://api.github.com/users/lugaru90/orgs","repos_url":"https://api.github.com/users/lugaru90/repos","events_url":"https://api.github.com/users/lugaru90/events{/privacy}","received_events_url":"https://api.github.com/users/lugaru90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-05T13:28:45Z","updated_at":"2015-03-05T13:28:45Z","closed_at":null,"body":"Hi,\r\n\r\nwhen updating from Gridfs 0.0.27 to 0.0.30 i get the following error. Cant say where it starts:\r\n```javascript\r\nI20150305-14:21:44.160(1)? Exception in queued task: TypeError: Cannot read property 'start' of undefined\r\nI20150305-14:21:44.160(1)?     at Object.FS.StorageAdapter.createReadStream (packages/cfs:gridfs/gridfs.server.js:78:1)\r\nI20150305-14:21:44.160(1)?     at Object.self.adapter.createReadStreamForFileKey (packages/cfs:storage-adapter/storageAdapter.server.js:71:1)\r\nI20150305-14:21:44.160(1)?     at Object.self.adapter.createReadStream (packages/cfs:storage-adapter/storageAdapter.server.js:79:1)\r\nI20150305-14:21:44.160(1)?     at packages/cfs:tempstore/tempStore.js:364:1\r\nI20150305-14:21:44.160(1)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)\r\nI20150305-14:21:44.160(1)?     at packages/meteor/dynamics_nodejs.js:121:1\r\nI20150305-14:21:44.160(1)?     at CombinedStream._getNext (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:83:3)\r\nI20150305-14:21:44.160(1)?     at CombinedStream.resume (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:132:10)\r\nI20150305-14:21:44.160(1)?     at CombinedStream.pipe (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:64:8)\r\nI20150305-14:21:44.160(1)?     at saveCopy (packages/cfs:worker/fileWorker.js:176:1)\r\nI20150305-14:21:44.161(1)? Exception in queued task: TypeError: Cannot read property 'start' of undefined\r\nI20150305-14:21:44.161(1)?     at Object.FS.StorageAdapter.createReadStream (packages/cfs:gridfs/gridfs.server.js:78:1)\r\nI20150305-14:21:44.161(1)?     at Object.self.adapter.createReadStreamForFileKey (packages/cfs:storage-adapter/storageAdapter.server.js:71:1)\r\nI20150305-14:21:44.161(1)?     at Object.self.adapter.createReadStream (packages/cfs:storage-adapter/storageAdapter.server.js:79:1)\r\nI20150305-14:21:44.161(1)?     at packages/cfs:tempstore/tempStore.js:364:1\r\nI20150305-14:21:44.161(1)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)\r\nI20150305-14:21:44.161(1)?     at packages/meteor/dynamics_nodejs.js:121:1\r\nI20150305-14:21:44.161(1)?     at CombinedStream._getNext (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:83:3)\r\nI20150305-14:21:44.161(1)?     at CombinedStream.resume (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:132:10)\r\nI20150305-14:21:44.161(1)?     at CombinedStream.pipe (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:64:8)\r\nI20150305-14:21:44.161(1)?     at saveCopy (packages/cfs:worker/fileWorker.js:176:1)\r\nI20150305-14:21:44.161(1)? Exception in queued task: TypeError: Cannot read property 'start' of undefined\r\nI20150305-14:21:44.161(1)?     at Object.FS.StorageAdapter.createReadStream (packages/cfs:gridfs/gridfs.server.js:78:1)\r\nI20150305-14:21:44.161(1)?     at Object.self.adapter.createReadStreamForFileKey (packages/cfs:storage-adapter/storageAdapter.server.js:71:1)\r\nI20150305-14:21:44.161(1)?     at Object.self.adapter.createReadStream (packages/cfs:storage-adapter/storageAdapter.server.js:79:1)\r\nI20150305-14:21:44.161(1)?     at packages/cfs:tempstore/tempStore.js:364:1\r\nI20150305-14:21:44.161(1)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)\r\nI20150305-14:21:44.162(1)?     at packages/meteor/dynamics_nodejs.js:121:1\r\nI20150305-14:21:44.162(1)?     at CombinedStream._getNext (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:83:3)\r\nI20150305-14:21:44.162(1)?     at CombinedStream.resume (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:132:10)\r\nI20150305-14:21:44.162(1)?     at CombinedStream.pipe (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:64:8)\r\nI20150305-14:21:44.162(1)?     at saveCopy (packages/cfs:worker/fileWorker.js:176:1)\r\nI20150305-14:21:44.162(1)? Exception in queued task: TypeError: Cannot read property 'start' of undefined\r\nI20150305-14:21:44.162(1)?     at Object.FS.StorageAdapter.createReadStream (packages/cfs:gridfs/gridfs.server.js:78:1)\r\nI20150305-14:21:44.162(1)?     at Object.self.adapter.createReadStreamForFileKey (packages/cfs:storage-adapter/storageAdapter.server.js:71:1)\r\nI20150305-14:21:44.162(1)?     at Object.self.adapter.createReadStream (packages/cfs:storage-adapter/storageAdapter.server.js:79:1)\r\nI20150305-14:21:44.162(1)?     at packages/cfs:tempstore/tempStore.js:364:1\r\nI20150305-14:21:44.162(1)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)\r\nI20150305-14:21:44.162(1)?     at packages/meteor/dynamics_nodejs.js:121:1\r\nI20150305-14:21:44.162(1)?     at CombinedStream._getNext (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:83:3)\r\nI20150305-14:21:44.162(1)?     at CombinedStream.resume (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:132:10)\r\nI20150305-14:21:44.162(1)?     at CombinedStream.pipe (/home/lugaru/.meteor/packages/cfs_tempstore/.0.1.4.yo7l0f++os+web.browser+web.cordova/npm/node_modules/combined-stream/lib/combined_stream.js:64:8)\r\nI20150305-14:21:44.162(1)?     at saveCopy (packages/cfs:worker/fileWorker.js:176:1)\r\n```\r\n\r\nInstalled CFS Packages Broken:\r\ncfs:graphicsmagick           0.0.18  Adds `gm` to scope with the ability to perform GraphicsMagick or ImageMagick manipulation\r\ncfs:gridfs                   0.0.30  GridFS storage adapter for CollectionFS\r\ncfs:standard-packages        0.5.4  Filesystem for Meteor, collectionFS\r\n\r\nInstalled CFS Packages Works:\r\ncfs:graphicsmagick           0.0.18  Adds `gm` to scope with the ability to perform GraphicsMagick or ImageMagick manipulation\r\ncfs:gridfs                   0.0.27* GridFS storage adapter for CollectionFS\r\ncfs:standard-packages        0.5.0* Filesystem for Meteor, collectionFS\r\n\r\nimage.js Collection\r\n```javascript\r\nvar imageStore = new FS.Store.GridFS(\"images\", {\r\n  chunkSize: 1024*1024,\r\n\ttransformWrite: function(fileObj, readStream, writeStream) {\r\n\t  // Transform the image into a 10x10px thumbnail\r\n\t  gm(readStream, fileObj.name()).resize('200', '200').stream().pipe(writeStream);\r\n\t}\r\n});\r\n//var thumbStore = new FS.Store.GridFS(\"thumbs\", {\r\n//\tchunkSize: 1024*1024\r\n//});\r\n\r\n\r\nImages = new FS.Collection(\"images\", {\r\n  stores: [imageStore],\r\n\tfilter: {\r\n\t  allow: {\r\n\t    contentTypes: ['image/*'] //allow only images in this FS.Collection\r\n\t  }\r\n\t}\r\n});\r\n\r\nImages.allow({\r\n\tinsert: trueFunc,\r\n\tupdate: trueFunc,\r\n\tremove: trueFunc,\r\n\tdownload: trueFunc\r\n});\r\n\r\nfunction trueFunc() {return true;}\r\n```"}}