@pitaj Thanks! With node v8.7.0 and npm v5.4.2, I was able to run ./nodebb upgrade and now I'm a proud member of the nodebb v1.7.4 club.
alt text
This 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
Thanks for reporting should be fixed on master https://github.com/NodeBB/NodeBB/issues/4645
Thanks! I updated my site from the master and it now works.