Thanks! I updated my site from the master and it now works.
Viraf Sarkari
Posts
-
Getting a 502 error on upload of group cover image -
Getting a 502 error on upload of group cover imageThis is my console log
15/5 09:54 [302] - error: TypeError: Cannot read property 'match' of undefined
at Mime.extension (/var/www/mysite/node_modules/mime/mime.js:79:22)
at saveFileToLocal (/var/www/mysite/src/controllers/uploads.js:202:26)
at /var/www/mysite/src/controllers/uploads.js:168:3
at Jimp.<anonymous> (/var/www/mysite/src/file.js:62:3)
at Jimp.parseBitmap (/var/www/mysite/node_modules/jimp/index.js:251:23)
at /var/www/mysite/node_modules/jimp/index.js:169:29
at /var/www/mysite/node_modules/continuation-local-storage/node_modules/async-listener/glue.js:188:31
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
TypeError: Cannot read property 'match' of undefined
at Mime.extension (/var/www/mysite/node_modules/mime/mime.js:79:22)
at saveFileToLocal (/var/www/mysite/src/controllers/uploads.js:202:26)
at /var/www/mysite/src/controllers/uploads.js:168:3
at Jimp.<anonymous> (/var/www/mysite/src/file.js:62:3)
at Jimp.parseBitmap (/var/www/mysite/node_modules/jimp/index.js:251:23)
at /var/www/mysite/node_modules/jimp/index.js:169:29
at /var/www/mysite/node_modules/continuation-local-storage/node_modules/async-listener/glue.js:188:31
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
15/5 09:54 [302] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.Please help
-
Purge Category Issue - 502 Bad GatewayIt is not a public forum.
-
Purge Category Issue - 502 Bad GatewaySorry. I don't have specific reproduction steps . No it does not happen after the master upgrade. Now i am facing another issue part from the zombie categories. If i create new category and inherit from existing category it does not show in front end and shows only in the admin categories list.
-
Purge Category Issue - 502 Bad GatewayAfter the upgrade now we have 2 zombie categories. Anyway to remove that?
These are not shown in admin only in categories list.
thanks
-
Purge Category Issue - 502 Bad GatewayThanks! The upgrade from master fixed the issue.
Sorry could not capture the error logs. But the issue was caused upon adding a new child category it showed duplicate child categories and upon deleting the duplicates it caused the issue. Hope this helps.
-
Purge Category Issue - 502 Bad GatewayPurging a category caused the following error. Categories list no lonnger loads.
Now the log shows this error.
system details
NodeBB - v1.0.3
Ubuntu 14.04.04 LTS
Nginix5/5 13:50 [2606] - error: TypeError: Cannot read property 'children' of undefined
at Object.helpers.generateChildrenCategories (/var/www/nodebb/public/src/modules/helpers.js:107:11)
at callMethod (/var/www/nodebb/node_modules/templates.js/lib/templates.js:279:17)
at parseFunctions (/var/www/nodebb/node_modules/templates.js/lib/templates.js:303:55)
at parseArrayBlock (/var/www/nodebb/node_modules/templates.js/lib/templates.js:380:14)
at parseArray (/var/www/nodebb/node_modules/templates.js/lib/templates.js:346:13)
at parse (/var/www/nodebb/node_modules/templates.js/lib/templates.js:416:16)
at parseTemplate (/var/www/nodebb/node_modules/templates.js/lib/templates.js:133:14)
at Object.templates.parse (/var/www/nodebb/node_modules/templates.js/lib/templates.js:119:11)
at /var/www/nodebb/node_modules/templates.js/lib/templates.js:169:30
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
TypeError: Cannot read property 'children' of undefined
at Object.helpers.generateChildrenCategories (/var/www/nodebb/public/src/modules/helpers.js:107:11)
at callMethod (/var/www/nodebb/node_modules/templates.js/lib/templates.js:279:17)
at parseFunctions (/var/www/nodebb/node_modules/templates.js/lib/templates.js:303:55)
at parseArrayBlock (/var/www/nodebb/node_modules/templates.js/lib/templates.js:380:14)
at parseArray (/var/www/nodebb/node_modules/templates.js/lib/templates.js:346:13)
at parse (/var/www/nodebb/node_modules/templates.js/lib/templates.js:416:16)
at parseTemplate (/var/www/nodebb/node_modules/templates.js/lib/templates.js:133:14)
at Object.templates.parse (/var/www/nodebb/node_modules/templates.js/lib/templates.js:119:11)
at /var/www/nodebb/node_modules/templates.js/lib/templates.js:169:30
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
5/5 13:50 [2606] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
5/5 13:50 [2606] - info: [app] Database connection closed.
5/5 13:50 [2606] - info: [app] Web server closed to connections.
5/5 13:50 [2606] - info: [app] Shutdown complete.
[cluster] Child Process (2606) has exited (code: 1, signal: null)
[cluster] Spinning up another process...