Skip to content

Instantly share code, notes, and snippets.

Gavin Lilly GavinLilly

Block or report user

Report or block GavinLilly

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@GavinLilly
GavinLilly / wekan-failed-attachment.json
Created Oct 13, 2017
This is the query which gave a list of filerecords. Appears to be those that have failed to upload
View wekan-failed-attachment.json
db.getCollection('cfs.attachments.filerecord').find({"uploadedAt" : {
"$exists" : true
},
"copies.attachments" : null,
"failures.copies.attachments.doneTrying" : {
"$ne" : true
}})
@GavinLilly
GavinLilly / wekan_failed-mongo-query.json
Created Oct 13, 2017
This is the query recorded in the db.system.profile when Wekan failed
View wekan_failed-mongo-query.json
{
"op" : "query",
"ns" : "wekan.cfs_gridfs._tempstore.files",
"query" : {
"find" : "cfs_gridfs._tempstore.files",
"filter" : {
"_id" : ObjectId("59e09b5417f17cce18db73e2")
},
"ntoreturn" : -1
},
@GavinLilly
GavinLilly / Wekan-systemd.error
Created Oct 13, 2017
Error message printed from Wekan during startup
View Wekan-systemd.error
/opt/wekan-0.41/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/base.js:246
throw message;
^
Error: 59e09b5417f17cce18db73e2 does not exist
at /opt/wekan-0.41/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/gridfs/gridstore.js:200:22
at /opt/wekan-0.41/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/collection/query.js:164:5
at /opt/wekan-0.41/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/cursor.js:778:35
at Cursor.close (/opt/wekan-0.41/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/cursor.js:1009:5)
at Cursor.nextObject (/opt/wekan-0.41/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/cursor.js:778:17)
@GavinLilly
GavinLilly / Wekan-MStat.txt
Created Oct 2, 2017
Mongostat output for Wekan
View Wekan-MStat.txt
# mongostat -n 10 2
insert query update delete getmore command % dirty % used flushes vsize res qr|qw ar|aw netIn netOut conn set repl time
*0 1159 *0 *0 1 8|0 1.1 71.0 0 1.9G 879.0M 0|0 0|0 143k 391k 83 rsWekan PRI 2017-10-02T12:11:26+02:00
*0 567 *0 *0 1 9|0 1.1 71.0 0 1.9G 879.0M 0|0 0|0 72k 346k 83 rsWekan PRI 2017-10-02T12:11:28+02:00
*0 1162 *0 *0 1 9|0 1.1 71.0 0 1.9G 879.0M 0|0 0|0 142k 845k 83 rsWekan PRI 2017-10-02T12:11:30+02:00
*0 1184 *0 *0 3 10|0 1.1 71.0 0 1.9G 879.0M 1|0 0|0 146k 895k 83 rsWekan PRI 2017-10-02T12:11:32+02:00
*0 764 1 *0 7 16|0 1.1 71.0 0 1.9G 879.0M 0|0 0|0 109k 1m 83 rsWekan PRI 2017-10-02T12:11:34+02:00
*0 886 *0 *0 0 5|0 1.1 71.0 0 1.9G 879.0M 0|0 0|0 107k 279k 83 rsWekan
You can’t perform that action at this time.