caffeines / File-Cloud

Online File Sharing web app
6 stars 3 forks source link

Unable to upload files #5

Open mzch opened 4 years ago

mzch commented 4 years ago

When uploading a file, File-Cloud aborted.

Dec  8 05:29:12 lo node[19788]: undefined
Dec  8 05:29:12 lo node[19788]: ------------------------------------
Dec  8 05:29:12 lo node[19788]: 081219051139Face of Myself.png
Dec  8 05:29:12 lo node[19788]: ------------------------------------
Dec  8 05:29:12 lo node[19788]: success
Dec  8 05:29:12 lo node[19788]: /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/utils.
js:132
Dec  8 05:29:12 lo node[19788]:       throw err;
Dec  8 05:29:12 lo node[19788]:       ^
Dec  8 05:29:12 lo node[19788]: MongoError: no chunks found for file, possibly corrupt
Dec  8 05:29:12 lo node[19788]:     at Function.create (/srv/filecloud/File-Cloud/File-Cloud/node_mo
dules/mongodb-core/lib/error.js:43:12)
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib
/gridfs/grid_store.js:782:22
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib
/gridfs/grid_store.js:1196:7
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib
/utils.js:414:17
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib
/utils.js:401:11
Dec  8 05:29:12 lo node[19788]:     at ClientSession.endSession (/srv/filecloud/File-Cloud/File-Clou
d/node_modules/mongodb-core/lib/sessions.js:129:41)
Dec  8 05:29:12 lo node[19788]:     at executeCallback (/srv/filecloud/File-Cloud/File-Cloud/node_mo
dules/mongodb/lib/utils.js:397:17)
Dec  8 05:29:12 lo node[19788]:     at handleCallback (/srv/filecloud/File-Cloud/File-Cloud/node_mod
ules/mongodb/lib/utils.js:128:55)
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib
/operations/collection_ops.js:569:5
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/utils.js:414:17
Dec  8 05:29:12 lo node[19788]:     at executeCallback (/srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/utils.js:406:9)
Dec  8 05:29:12 lo node[19788]:     at handleCallback (/srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/utils.js:128:55)
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/operations/cursor_ops.js:182:5
Dec  8 05:29:12 lo node[19788]:     at handleCallback (/srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb-core/lib/cursor.js:203:5)
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb-core/lib/cursor.js:561:38
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb-core/lib/cursor.js:569:46
Dec  8 05:29:12 lo node[19788]: Emitted 'error' event on GridReadStream instance at:
Dec  8 05:29:12 lo node[19788]:     at GridReadStream._error (/srv/filecloud/File-Cloud/File-Cloud/node_modules/gridfs-stream/lib/readstream.js:231:8)
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/gridfs-stream/lib/readstream.js:184:28
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/utils.js:415:14
Dec  8 05:29:12 lo node[19788]:     at executeCallback (/srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/utils.js:404:25)
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/gridfs/grid_store.js:781:9
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/gridfs/grid_store.js:1196:7
Dec  8 05:29:12 lo node[19788]:     [... lines matching original stack trace ...]
Dec  8 05:29:12 lo node[19788]:     at /srv/filecloud/File-Cloud/File-Cloud/node_modules/mongodb/lib/operations/cursor_ops.js:182:5 {
Dec  8 05:29:12 lo node[19788]:   driver: true,
Dec  8 05:29:12 lo node[19788]:   name: 'MongoError',
Dec  8 05:29:12 lo node[19788]:   [Symbol(mongoErrorContextSymbol)]: {}
Dec  8 05:29:12 lo node[19788]: }
Dec  8 05:29:12 lo systemd[1]: file-cloud.service: Main process exited, code=exited, status=1/FAILURE
Dec  8 05:29:12 lo systemd[1]: file-cloud.service: Failed with result 'exit-code'.
Dec  8 05:29:12 lo systemd[1]: file-cloud.service: Service RestartSec=100ms expired, scheduling restart.
Dec  8 05:29:12 lo systemd[1]: file-cloud.service: Scheduled restart job, restart counter is at 1.
Dec  8 05:29:12 lo systemd[1]: Stopped File-Cloud.