Skip to content
  • 0 Votes
    7 Posts
    146 Views
    2TonWaffle2

    Found the issue!!

    You must use the main account API key and secret and not a subaccount key for everything to work.

    Getting emails now through both the Cloudron side and NodeBB

  • Guest

    Moved Technical Support
    6
    0 Votes
    6 Posts
    958 Views
    julianJ

    @tchesley85 when creating a category you can always clone the settings (that includes privileges) of an existing category.

  • Upgrade from v1.19.x to v2.0.x failed

    Unsolved Technical Support
    7
    1 Votes
    7 Posts
    169 Views
    W

    Yes, the errors are still there with v3.x.

    I even deleted the build/ and node_modules/ directories because I thought there might be outdated files in there. But that didn't help.

    However, since the MongoDB schema upgrades were successful during the ./nodebb upgrade runs, I was able to complete the upgrade by doing a fresh git install and copying back the old config.json before running the setup routine. I then manually restored all the static files in public/uploads via rsync.

  • "tag list" to choose from?

    Solved Technical Support
    9
    1 Votes
    9 Posts
    826 Views
    barisB

    Not sure how that will be implemented since Tag1 and tag1 would end up being two different tags. Lowercasing solves that problem.

  • dark mode on mobile?

    Solved Technical Support
    6
    0 Votes
    6 Posts
    117 Views
    phenomlabP

    @crazycells Agree - you can have as many or as few as you'd like though.

  • /user/<xyz>/2factor Access Denied?

    Unsolved Technical Support
    5
    0 Votes
    5 Posts
    78 Views
    ww9riversW

    @julian - Done! Thank you for the quick responses.

  • Performance insights of NodeBB

    Unsolved Technical Support
    10
    0 Votes
    10 Posts
    206 Views
    barisB

    Yeah I think having a folder under public/uploads/profile for each user would make deleting easier. We can get rid of the glob and delete that folder on user deletion. But we would have to write an upgrade script to move all files and update the path in the user object since they are stored as "/assets/uploads/profile/1-profileavatar-1709738685611.jpeg"

  • 0 Votes
    5 Posts
    81 Views
    Sampo2910S

    @PitaJ v16.13.0 obviosuly very old 😞 Ooops..installed latest version and now it is all ok..

    Thanks for the gentle reminder.

  • 1 Votes
    7 Posts
    683 Views
    S

    @hnipps said in Invalid CSRF token when authenticating via third-party app:

    I'm trying to use NodeBB as a headless forum (i.e. just a REST API with a separate front end) but keep getting an "invalid csrf token" error when I try to authenticate.

    I've confirmed I can authenticate via the NodeBB UI on the same instance.

    I've also tried getting the NodeBB config and using the csrf token from there in my requests but it still does not work.

    My frontend is a NextJS app that rewrites all /api/:path* requests to http://<MY-NODE-BB-INSTANCE>/api/:path*. It also rewrites the auth paths.

    I can see the requests reach NodeBB but always get "invalid csrf token".

    I've verified that I can successfully call GET endpoints from my app, e.g. I can get the user list from /api/users.

    This is a 2 yr old thread, but @hnipps have you gone any further with the React/NextJS frontend with a headless nodebb?
    If you have made any progress I would love to contribute on the frontend build. It is daunting to start as a new project but if any foundations were laid I would love to jump in and build upon it.

  • 0 Votes
    14 Posts
    815 Views
    S

    Thank you @julian you always respond and seem motivated in helping the community. By proprietary I meant no effort has been made to provide clean working examples for the latest nodebb, as in maintenance of such documentation for people jumping into nodebb to replace their old system.

    You have a great product here, with so much more potential and I understand you may not have resources and funding to provide so much documentation and maintain working example of a plugin that does CRUD with custom fields/custom data, but it becomes harder for new adopters if they're unable to figure out cost effective way to replace their old platforms which have plethora of 3rd party add-ons and plugins especially dealing with custom fields and custom data.

    I take the blame as well, as part of the community it is partly our job to help keep a set of quickstart plugins, documentation, help available to enhance and optimize the process for new adopters. I hope the community gets together and makes something like a curated directory of available plugins, and tags and tracks what versions each supports, and tries to keep a version that supports the latest major version updates.

    Thank you for the wonderful product, I keep trying and finding an excuse to adopt it and hopefully I will get there sooner or later.

  • hiding "moved" badge from topic list

    Solved Technical Support
    3
    1 Votes
    3 Posts
    66 Views
    crazycellsC

    @baris thank you very much. 👍

  • codes for the skins

    Solved Technical Support
    3
    0 Votes
    3 Posts
    33 Views
    crazycellsC

    @baris said in codes for the skins:

    The css for these are coming from https://bootswatch.com/, you can find them in nodebb/node_modules/bootswatch/dist

    Thank a lot... I searched the GitHub and found them here:

    https://github.com/thomaspark/bootswatch/tree/v5/dist

  • 0 Votes
    2 Posts
    63 Views
    julianJ

    Replied in the other linked topic.

  • Scaling Nodebb on Apache 2.4

    Unsolved Technical Support
    6
    1 Votes
    6 Posts
    140 Views
    Nuran AkimbekN

    @julian yeah, database in the same VM. I already did re-indexing using this commands.

  • 3.7.0 Upgrade Support

    Pinned Technical Support
    22
    2 Votes
    22 Posts
    771 Views
    crazycellsC

    @phenomlab said in 3.7.0 Upgrade Support:

    @crazycells

    62085e6b-8993-47e4-80d8-2f07f862ca07-image.png

    looks delicious 😄

    Monkey Ape GIF

  • 0 Votes
    18 Posts
    196 Views
    julianJ

    @B-738 spiders are bots, web crawlers, etc.

    You can restrict access to them for certain categories, for example.

  • 0 Votes
    4 Posts
    117 Views
    A

    As you named your postgres container db, you should use db as database host.

  • 0 Votes
    7 Posts
    1k Views
    Daniel Mendoza PupoD

    @julian I tried that route, and it still didn't work:
    -rw-r--r--. 1 redis redis 63122 Mar 6 13:56 /path/to/redis/redis.conf
    redis.service: (changed the path to my redis.conf)
    ExecStart=/usr/bin/redis-server /path/to/redis/redis.conf --supervised systems

    After changing the redis service file:
    systemctl daemon-reload
    systemctl start/restart redis
    ● redis.service - Redis persistent key-value database
    Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/redis.service.d
    └─limit.conf
    Active: failed (Result: exit-code) since Thu 2024-03-07 16:18:06 EST; 7s ago
    Process: 3672598 ExecStop=/usr/libexec/redis-shutdown (code=exited, status=0/SUCCESS)
    Process: 3672869 ExecStart=/usr/bin/redis-server /path/to/redis/redis.conf --supervised systemd (code=exited, status=1/FAILURE)
    Main PID: 3672869 (code=exited, status=1/FAILURE)

    Mar 07 16:18:06 my-lab systemd[1]: Starting Redis persistent key-value database...
    Mar 07 16:18:06 my-lab redis-server[3672869]: 3672869:C 07 Mar 2024 16:18:06.355 # Fatal error, can't open config file '/path/to/redis/redis.conf'
    Mar 07 16:18:06 my-lab systemd[1]: redis.service: Main process exited, code=exited, status=1/FAILURE
    Mar 07 16:18:06 my-lab systemd[1]: redis.service: Failed with result 'exit-code'.
    Mar 07 16:18:06 my-lab systemd[1]: Failed to start Redis persistent key-value database.

  • 0 Votes
    2 Posts
    110 Views
    crazycellsC

    In case anyone else might be intrested, I fixed this color problem using these codes:

    .category-1 , .category-70 , .category-120 { .category-children-item .fa-caret-right { color: #ff9800 !important ; } } .category-111 { .category-children-item .fa-caret-right { color: #e91e63 !important ; } } .category-2 , .category-77 , .category-78 , .category-126 , .category-127 , .category-132 , .category-93 , .category-115 { .category-children-item .fa-caret-right { color: #4caf50 !important ; } }

    Basically I had to name each category separately... So, if there is any suggestion to shorten the code, I would love to hear... 🤣

  • 0 Votes
    7 Posts
    119 Views
    barisB

    I've updated this plugin to nodebb 3.2 and up, new version is 3.0.0.