NodeBB v1.15.0-rc.0 -- Release Candidate published
-
Hi all,
We've just published v1.15.0-rc.0, which is a release candidate version. We encourage users to prepare to update their forums to this version and report back if there are incompatibilities that we have not prepared for.
As usual, until a stable version is released, we do not encourage that you update a production instance of your forum, but rather a development/staging instance.
The scheduled release of v1.15.0 is the 4th of November, 2020.
For the full list of breaking changes, please consult the following topic:
1.15.0 Breaking Changes
-
Released 1.15.0-rc.2
Release v1.15.0-rc.2 · NodeBB/NodeBB
Node.js based forum software built for the modern web - Release v1.15.0-rc.2 · NodeBB/NodeBB
GitHub (github.com)
-
When I try to upload any image using the admin control panel all I get is an "invalid files" error. I tried uploading png, jpg, gif, all to no avail. Image uploads from other places seem to work fine.
I tried with Settings/Uploads/Allowed File Extensions set to png/jpg as well as empty.
Updated to v1.15.0-rc.2 (master)
No plugins are activated, forum updated from v1.11.1
Node.js v14.15.0
macOS 10.15.7, Safari 14.02020-10-27T22:32:08.133Z [4567/3076] - [31merror[39m: /api/admin/uploadOgImage Error: invalid-files at validateFiles (/root/nodebb/src/middleware/index.js:106:15) at Layer.handle [as handle_request] (/root/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/root/nodebb/node_modules/express/lib/router/route.js:137:13) at Form.<anonymous> (/root/nodebb/node_modules/connect-multiparty/index.js:114:7) at Form.emit (events.js:315:20) at emitCloseNT (internal/streams/destroy.js:87:10) at processTicksAndRejections (internal/process/task_queues.js:79:21) 2020-10-27T22:32:15.145Z [4567/3076] - [31merror[39m: /api/admin/uploadfavicon Error: invalid-files at validateFiles (/root/nodebb/src/middleware/index.js:106:15) at Layer.handle [as handle_request] (/root/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/root/nodebb/node_modules/express/lib/router/route.js:137:13) at Form.<anonymous> (/root/nodebb/node_modules/connect-multiparty/index.js:114:7) at Form.emit (events.js:315:20) at emitCloseNT (internal/streams/destroy.js:87:10) at processTicksAndRejections (internal/process/task_queues.js:79:21) 2020-10-27T22:33:08.635Z [4567/3076] - [31merror[39m: /api/admin/uploadlogo Error: invalid-files at validateFiles (/root/nodebb/src/middleware/index.js:106:15) at Layer.handle [as handle_request] (/root/nodebb/node_modules/express/lib/router/layer.js:95:5) at next (/root/nodebb/node_modules/express/lib/router/route.js:137:13) at Form.<anonymous> (/root/nodebb/node_modules/connect-multiparty/index.js:114:7) at Form.emit (events.js:315:20) at emitCloseNT (internal/streams/destroy.js:87:10) at processTicksAndRejections (internal/process/task_queues.js:79:21)
-
@kagarino said in NodeBB v1.15.0-rc.0 -- Release Candidate published:
connect-multiparty
Can you report the version of
connect-multiparty
andmultiparty
dependencies? This sounds like https://github.com/expressjs/connect-multiparty/issues/29 -
@baris said in NodeBB v1.15.0-rc.0 -- Release Candidate published:
req.files empty on nodejs 14 · Issue #29 · expressjs/connect-multiparty
I have a feeling this might be a nodejs 14 issue, maybe related to nodejs/node#33050 not sure. Same code works on node 12.x. On nodejs 14 req.files is just an empty object. Simple app to reproduce below. const express = require('express'...
GitHub (github.com)
"connect-multiparty": "^2.2.0"
"multiparty" is not listed in my package.json for NodeBB