Error when I try to use systemctl on Centos in a VPS

Technical Support

Suggested Topics

  • 0 Votes
    7 Posts

    Hi folks,

    I am grateful, that I can give something back to the community.
    This is only the short excerpt of the console.
    But the forum is working 😄

    Basically, I was just installing the modules, which nodebb meant where missing.
    that did the job.

    This is my solution,
    may it be helpful to others.

    $ ./nodebb upgrade Error: Cannot find module '/opt/nodebb/node_modules/request-promise-native/lib/rp.js'. $ npm install request-promise-native $ ./nodebb upgrade error: uncaughtException: Cannot find module 'request-promise-core/configure/request2' $ npm install request-promise-core $ ./nodebb upgrade error: Error: Cannot find module 'stealthy-require' $ npm install stealthy-require NodeBB v3.4.2 Copyright (C) 2013-2023 NodeBB Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. For the full license, please visit: Clustering enabled: Spinning up 1 process(es). 2023-09-27T12:18:09.201Z [4567/2922161] - info: Initializing NodeBB v3.4.2 [...] 2023-09-27T12:18:11.071Z [4567/2922161] - info: [api] Adding 0 route(s) to `api/v3/plugins` 2023-09-27T12:18:11.087Z [4567/2922161] - info: [router] Routes added 2023-09-27T12:18:11.090Z [4567/2922161] - info: 🎉 NodeBB Ready 2023-09-27T12:18:11.091Z [4567/2922161] - info: 🤝 Enabling 'trust proxy' 2023-09-27T12:18:11.093Z [4567/2922161] - info: 📡 NodeBB is now listening on: 2023-09-27T12:18:11.093Z [4567/2922161] - info: 🔗 Canonical URL:
  • 0 Votes
    5 Posts

    @julian Yes. I saw it. Thanks !

  • 0 Votes
    8 Posts

    @zipang yes of course we'll support Node 8 but to do so we have to drop support for all Node versions prior to v6. You can understand why we'd be hesitant to do so so quickly after our last major version release.

  • 0 Votes
    10 Posts

    Another thing ..

    If the option Enable authentication via JSON Web Tokens is checked in the admin panel of the Write API, the request to /v1/users/:uid/tokens with password in the content body never gets hit, so it's not possible to choose between the two.

    So either

    uncheck authentication via JSON Web Tokens and use password based request for tokens or .. configure JSON Web Token Secret to request tokens and forget about password based generation.

    It doesn't say anything about it in the API's documentation

    POST /:uid/tokens
    Creates a new user token for the passed in uid
    Accepts: No parameters normally, will accept password in lieu of Bearer token
    Can be called with an active token for that user
    This is the only route that will allow you to pass in password in the request body. Generate a new token and then use
    the token in subsequent calls.
  • 0 Votes
    6 Posts

    @SimonQ You can re-enable gravatar functionality by installing nodebb-plugin-gravatar.