NodeBB v1.6.1 - Likeplugin does not work, Usergroups Badge not shown instantly

Technical Support

Suggested Topics


  • NodeBB Assets - Object Storage

    Unsolved Technical Support
    0 Votes
    98 Posts
    3k Views

    @phenomlab the postbuild script will only run when you execute ./nodebb build via npm run build as that has the logic to execute the postbuild step. The postbuild script should probably be modified to only sync the build/public folder after the initial sync. There should be no need to sync public with every build unless the version of nodebb changes. All new uploads would already be stored in the S3/R2 bucket by the s3 upload plugin.

    So a npm run build init for the initial sync that includes all static assets, and then just npm run build that only syncs the rebuilt assets such as templates , plugins etc.

  • 0 Votes
    2 Posts
    291 Views

    You certainly can, but it's not easy to do, so we don't provide our own guide.

    Here's a StackExchange question that should help:
    https://superuser.com/questions/985734/how-do-i-run-a-windows-command-as-a-service#985778

  • ./nodebb status

    Technical Support
    0 Votes
    2 Posts
    248 Views

    @Abhinov-Singh-0 I suggest learning about solving Linux permissions issues on your own.

    For now, I'm guessing you need to make it executable:

    chmod +x ./nodebb

    It may also be an issue with ownership, in which case you'd use chown.

    You can search for any of these topics and find hundreds of tutorials.

  • 0 Votes
    3 Posts
    602 Views

    Your config looks fine, not sure why it is only reading from a single one.

    { find: "objects", filter: { _key: /user:/i, username: "admin" }

    This doesn't look like a query we do in core nodebb, do you have some plugins that run custom queries? This doesn't use the indexes properly should probably be

    { find: "objects", filter: { _key: /^user:\d+$/i, username: "admin" }

  • 0 Votes
    12 Posts
    4k Views

    I'm having this exact same problem currently-- ./nodebb dev works fine, ./nodebb start does nothing and outputs nothing to the logs, and I've tried all the ./nodebb upgrade and ./nodebb build.