Emoji doesn't work - running "Update Files" from ACP results in "connection refused"

Technical Support
  • After installing NodeBB I've been trying to configure Emoji. I've installed nodebb-plugin-emoji-extended and nodebb-plugin-emoji-one through the admin interface and have also activated them. But in the front-end the smiley selection button above the messages box does not appear.

    I've tried running "Update Files" in the ACP, which doesn't seem to be working. Popping up the console, I see various errors stating "GET http://95.85.57.198:4567/socket.io/?EIO=3&transport=polling&t=LYgu_ke net::ERR_CONNECTION_REFUSED" (from acp.min.js?v=a114ca78-1b00-48b4-8cb1-6d5fb06836f3:5).

    Help would be much appreciated.


Suggested Topics


  • How do I disable file logging?

    Moved Solved Technical Support
    5
    0 Votes
    5 Posts
    117 Views

    @PitaJ I think it's already supported https://github.com/NodeBB/NodeBB/blob/master/loader.js#L22. logFile in config.json 🤔 But it joins with __dirname, so PRs welcome to change that.

  • 0 Votes
    1 Posts
    197 Views

    Hi all,

    I'm trying to use the recently introduced WriteAPI to create topics and concurrently upload a file.
    I'm doing it via Python and I've already succeeded in create a simple topic without a file using something lilke

    payload = { "cid": cid, "title": title, "content": message } headers = { 'Authorization': 'Bearer '+nodebbToken, 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=json.dumps(payload))

    but when it's about files using

    payload = { "cid": backstage_cid, "title": backstage_title, "content": backstage_message } headers = { 'Authorization': 'Bearer '+nodebbToken, 'Content-Type': 'multipart/form-data' } verifySSL = False print (payload) if (useFile): with open(backstage_file, 'rb') as f: response = requests.request("POST", url, headers=headers, data=payload, verify=verifySSL, files={backstage_file: f})

    it returns
    Error: Required parameters were missing from this API call: cid, title, content cause passing the parameters in a plain dictionary rather than a JSON object seems not doable.

    The switch from JSON to dictionary is needed otherwise I wouldn't have been able to pass a file together with such header

    headers = { 'Authorization': 'Bearer '+nodebbToken, 'Content-Type': 'multipart/form-data' }

    Has anybody valuable suggestions here?

    Thanks in advance, Riccardo

  • 1 Votes
    1 Posts
    297 Views

    While trying to install nodebb on Heroku i am having problems to connect to postgres databases provided by Heroku add-ons - "Standard 0" and up. Connecting to lower performance Heroku postgres add-ons, like "Hobby dev" and "Hobby basic", works.

    I found the recommendation to add a ssl param to the connection string when connecting to postgres via node.js apps but did not found the right place in the nodebb code to add an additional param (https://devcenter.heroku.com/articles/connecting-to-heroku-postgres-databases-from-outside-of-heroku).

    Can anyone give me a hint?

  • 0 Votes
    1 Posts
    631 Views

    Hello, I hope this is the right place for this question.

    When I add the "Featured Topics" widget to my sidebar the links it adds are broken, and are also formatted strangely (the indentation is weird, text is always bold, etc.) which is different from all of the other widgets I've tried that display various forum topics.

    Here's an example: https://gfycat.com/FocusedHoarseCobra

    Any idea why this might be happening? We've barely changed anything from the vanilla package we installed.

  • 0 Votes
    3 Posts
    991 Views

    @UncleSam Check your DNS settings. This has nothing to do with NodeBB. Your domain doesn't seem to be pointing to the IP address. Pinging your domain is not resolving to the IP address.