• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

Any file upload does not work

Scheduled Pinned Locked Moved Technical Support
4 Posts 2 Posters 511 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iclou
    wrote on last edited by
    #1

    Hi
    Freshly installed NodeBB 1.13.3 on Ubuntu 18.04.
    All works fine but uploading any file (category, logo, etc) gives the following error in the UI:
    "invalid-files"

    In the log the error is as following:
    "...
    Error: [[error:invalid-files]]
    at validateFiles (/home/<user>/nodebb/src/middleware/index.js:107:15)
    at Layer.handle [as handle_request] (/home/<user>/nodebb/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/<user>/nodebb/node_modules/express/lib/router/route.js:137:13)
    at Form.<anonymous> (/home/<user>/nodebb/node_modules/connect-multiparty/index.js:114:7)
    at Form.emit (events.js:315:20)
    at emitCloseNT (internal/streams/destroy.js:81:10)
    at processTicksAndRejections (internal/process/task_queues.js:83:21)

    ..."

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    Make sure you are not using nodejs 14.x

    1 Reply Last reply
    0
  • I Offline
    I Offline
    iclou
    wrote on last edited by
    #3

    nodejs --version
    v14.2.0

    Ok, what shall I do now - downgrade nodejs?

    1 Reply Last reply
    0
  • I Offline
    I Offline
    iclou
    wrote on last edited by
    #4

    ok, I just did a downgrade - now all works fine !!

    nodejs --version
    v13.14.0

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development