• 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.2 Latest
Buy Hosting

Server Crash (0.8.2) when uploading topic thumbnail

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 2.6k 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.
  • jongarrisonJ Offline
    jongarrisonJ Offline
    jongarrison Plugin & Theme Dev
    wrote on last edited by jongarrison
    #1

    I see this error in the logs before a crash and server restart when trying to upload a topic thumbnail:

    10/11 15:23 [17286] - error: Error: Unknown arguments configuration,120,120
    at Error (<anonymous>)
    at Object.cover (/usr/local/src/nodebb/node_modules/lwip/node_modules/decree/dist/cjs/decree.js:80:27)
    at Batch.cover (/usr/local/src/nodebb/node_modules/lwip/lib/BatchPrototypeInit.js:99:16)
    at /usr/local/src/nodebb/src/image.js:26:6
    at /usr/local/src/nodebb/node_modules/lwip/lib/obtain.js:32:25
    Error: Unknown arguments configuration,120,120
    at Error (<anonymous>)
    at Object.cover (/usr/local/src/nodebb/node_modules/lwip/node_modules/decree/dist/cjs/decree.js:80:27)
    at Batch.cover (/usr/local/src/nodebb/node_modules/lwip/lib/BatchPrototypeInit.js:99:16)
    at /usr/local/src/nodebb/src/image.js:26:6
    at /usr/local/src/nodebb/node_modules/lwip/lib/obtain.js:32:25
    

    Anyone have any ideas? I tested this with the same results on two different 0.8.2 installs running on ubuntu and os x.

    1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #2

    Maybe it could be a missing relative path for your forum in your config.json.

    1 Reply Last reply
    0
  • jongarrisonJ Offline
    jongarrisonJ Offline
    jongarrison Plugin & Theme Dev
    wrote on last edited by
    #3

    Thanks for the tip, I am missing relative_path in my config.json but it looks like relative_path was deprecated about a year ago: https://community.nodebb.org/topic/3392/config-json-updated-base_url-and-relative_path-no-longer-exist

    ? 1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to jongarrison on last edited by A Former User
    #4

    @jongarrison I need it for my notifications to work (at least in 0.8.x). By the way, why don't you simply upgrade to NodeBB 0.9.x (lwip was removed there).

    Check this out:
    https://github.com/NodeBB/NodeBB/issues/3426

    1 Reply Last reply
    0
  • jongarrisonJ Offline
    jongarrisonJ Offline
    jongarrison Plugin & Theme Dev
    wrote on last edited by
    #5

    Do you have an example of what relative_path should look like? I have two projects right now, one I can update to 0.9, but the other one needs to stay 0.8.2 for now. What is relative_path supposed to be doing?

    Is this proper placement:

    {
    "url": "http://localhost:4567",
    "secret": "",
    "database": "",
    "relative_path": "",
    "mongo": {
        "host": "",
        "port": "",
        "username": "",
        "password": "",
        "database": ""
       }
    }
    

    Thanks again!

    1 Reply Last reply
    0
  • jongarrisonJ Offline
    jongarrisonJ Offline
    jongarrison Plugin & Theme Dev
    wrote on last edited by
    #6

    Separately, in 0.9.0, this error message pops up when trying to upload a topic thumbnail:

    0_1447346483446_Screen Shot 2015-11-12 at 8.39.55 AM.png

    There is no error in the nodebb logs.

    So it appears topic thumbnails do not work in 0.8.2 or 0.9.0

    1 Reply Last reply
    1
  • J Offline
    J Offline
    j.b. o.
    wrote on last edited by j.b. o.
    #7

    Same error with persona theme and nodebb 0.9.3.

    [edit] the error
    https://le.club.systemes.sonores.rocks/api/topic/thumb/upload
    500 Internal Server Error
    w and h must be numbers

    1 Reply Last reply
    1

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