Skip to content
This repository was archived by the owner on Mar 14, 2019. It is now read-only.
This repository was archived by the owner on Mar 14, 2019. It is now read-only.

FS.Tempstore.createWriteStream cannot access temporary filesystem #209

@nkraich

Description

@nkraich

Hey guys,

I updated to the latest version (coming from 0.4.0 I think...) I noticed that the new version was using new collection names in the db, so I took a chance and renamed what I had:

wallPosts.files -> cfs.wallPosts.filerecord
wallPostFileData.files -> cfs_gridfs.wallPostFileData.files
wallPostFileData.chunks -> cfs_gridfs.wallPostFileData.chunks

This seemed to work just fine locally, however, I am getting an error in production on meteor.com. When I try to upload a file:

[Error] Error: "Queue" failed [503] Error in method "/cfs/files/:value/:value/", Error: Error: FS.Tempstore.createWriteStream cannot access temporary filesystem     at EventEmitter.FS.TempStore.cr... [undefined], undefined
    runTaskDone (9bc6a0731d5f57ec00821361ef45fa2e5496f346.js, line 13)
    (anonymous function) (9bc6a0731d5f57ec00821361ef45fa2e5496f346.js, line 13)
    (anonymous function) (9bc6a0731d5f57ec00821361ef45fa2e5496f346.js, line 13)
    (anonymous function) (9bc6a0731d5f57ec00821361ef45fa2e5496f346.js, line 13)
    (anonymous function) (9bc6a0731d5f57ec00821361ef45fa2e5496f346.js, line 1)
    onreadystatechange (9bc6a0731d5f57ec00821361ef45fa2e5496f346.js, line 13)

Is there anything I missed when updating the database? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions