Meteor-Community-Packages / Meteor-CollectionFS

Reactive file manager for Meteor
MIT License
1.05k stars 237 forks source link

Server crash #725

Open hluz opened 9 years ago

hluz commented 9 years ago

I am getting a server crash with the following console error:

/var/nodeapps/isforms/bundle/programs/server/node_modules/fibers/future.js:245
                        throw(ex);
                              ^
TypeError: Cannot read property 'keys' of undefined
    at packages/cfs:tempstore/tempStore.js:297:1
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)
error: Forever detected script exited with code: 8

I believe it is caused by file uploads. Any ideas on how to determine what causes it? Servers bouncing and being off-line for some period of time is no good at all...

hluz commented 9 years ago

Help anyone? please...

nathantsoi commented 9 years ago

same here. any ideas @raix, @aldeed or @rhyslbw?

migloo commented 9 years ago

Same here. /opt/meteor/app/programs/server/node_modules/fibers/future.js:24 5 throw(ex); ^ TypeError: Cannot read property 'keys' of undefined at packages/cfs:tempstore/tempStore.js:297:1 at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1) error: Forever detected script exited with code: 8 error: Script restart attempt #3

Would anyone be able to point me in the right direction? Thank you,

nathantsoi commented 9 years ago

if i recall correctly, we were trying to read a key (cookie name) that didnt exist from meteor-server-cookies. it was happening around the same time that this was fixed, but i dont think they were related: https://github.com/gfk-ba/meteor-server-cookies/pull/3

ChrisCinelli commented 8 years ago

I see it too. This crash our server =/ Not sure what happened here: https://github.com/CollectionFS/Meteor-CollectionFS/blob/b46cb20d2d86a806e19e9ffbd72955c2a4ae37e7/packages/tempstore/tempStore.js#L297 The stack trace is not long enough.

The docker container (we are using this: https://github.com/meteorhacks/meteord) has node 0.10.40 (instead of 0.12.7) . I wonder if that may be related.

ChrisCinelli commented 8 years ago

@aldeed Any idea what can cause this?

ChrisCinelli commented 8 years ago

This is obviously related with #619

iSuslov commented 8 years ago

same for me. Critical

ChrisCinelli commented 8 years ago

Who is supposed to solve this? Or can somebody give us a hint?

hluz commented 8 years ago

https://forums.meteor.com/t/deprecating-collectionfs/16921

ChrisCinelli commented 8 years ago

@hluz, @nathantsoi and @migloo Did you ever solve this?

hluz commented 8 years ago

I moved away from CollectionFS to vsivsi:file-collection (I only needed GridFS support)

Buom01 commented 8 years ago

It happend to me when I add-remove-add-remove fastly an image that have multiple storages and transformations, and because there are no way to stop uploading when removing, the best idea is to say goodbye to CollectionFS

mngkvn commented 8 years ago

I guess I have to agree with @Buom01 , Aside from this issue, there are some other issues and it seems like they don't have the time to do fix it anymore as some of them were still hanging for a year now.