[new installation] im getting an error when trying to start nodebb.service

Unsolved Technical Support

Suggested Topics

  • 0 Votes
    5 Posts

    Tested it again on a freshly installed server. Please wait while we try to reconnect shows when NodeBB is installed by a root user and not a normal user.

    Solution: add new non-privileged system user and do not use root to install NodeBB. Such note should be included on every install guide.

  • 0 Votes
    2 Posts

    Try disabling the custom plugins and see if it helps.

  • Delaying sockets start

    Technical Support
    0 Votes
    6 Posts

    It looks like is a configuration problem. When I load the page, there is this network error:

    socket.io.js:8 WebSocket connection to 'wss://example.com/socket.io/?EIO=3&transport=websocket&sid=zV8kYkx-87ULGIjGAAAF' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

    On Chrome's inspector window it says it was canceled.
    But then it works normal.
    So all I need is to bypass the first error... or even better, fix it.

  • 0 Votes
    5 Posts

    Please first check the data storage directories of your MongoDB. While doing some crazy tests and more or less intentionally made the MongoDB go crash I found at times that it "forgot" about the available data, even though there were still kind of big files probably with all the data. I don't know how to recover from there but I assume there would be some articles out there in the internet helping you with it.

    But yeah, mongodump, borg backup, lftp synchronize to remote drive (or similar). Every day. And if you're at it, make sure the backups on your local computer are working as intended as well 😉

  • Can't restore nodebb

    Technical Support
    0 Votes
    9 Posts

    I fixed it using https://github.com/NodeBB/NodeBB/issues/1163

    and setting to todays date, so now it says "Schema is up-to-date" and all works perfectly.

    I hope its ok now? xD