Nodebb 1.0.0 load avatar error 502

Technical Support
  • Hello, after update NodeBB 0.9.4 to 1.0.0 not load avatar..... error uploading, code : 502

    ./notebb dev

    1/3 17:45 [2742] - verbose: Saving file 1-profileimg.png to : /var/www/nodebb/public/uploads/profile/1-profileimg.png
    1/3 17:45 [2742] - error: TypeError: Object #<Jimp> has no method 'apply'
    at /var/www/nodebb/node_modules/async/lib/async.js:52:16
    at /var/www/nodebb/node_modules/async/lib/async.js:1209:30
    at ReadStream.<anonymous> (/var/www/nodebb/src/file.js:31:3)
    at ReadStream.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)
    TypeError: Object #<Jimp> has no method 'apply'
    at /var/www/nodebb/node_modules/async/lib/async.js:52:16
    at /var/www/nodebb/node_modules/async/lib/async.js:1209:30
    at ReadStream.<anonymous> (/var/www/nodebb/src/file.js:31:3)
    at ReadStream.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)

    Please any help

  • Did you run an upgrade command?

  • @nhl.pl yes, I found the problem , disable Convert profile image uploads to PNG and loads avatar, in version 0.9.4 there was no error

    0_1456842660948_172152.png

  • Thank you for your time.

    Issue reported here:
    https://github.com/NodeBB/NodeBB/issues/4292


Suggested Topics