Run NodeBB in the Docker or Kubernetes

Tutorials

Suggested Topics


  • 0 Votes
    2 Posts
    428 Views

    For an automatic transition from www to no www, this code works well

    if ( $host ~ ^www.(?<domain>.+) ) {
    rewrite ^/(.*)$ $scheme://$domain/$1;

    Express.js does not support http/2. Or am I wrong? Does it make sense to include http/2 support in nginx?

  • 4 Votes
    9 Posts
    2k Views

    @ᴅᴀʀᴛʜ-ᴠᴀᴅᴇʀ It probably crashes because of the plugins you installed and nodebb can't find them (nodebb-theme-oxide in particular)

    I suggest you backup the redis database by copying the /data folder somewhere, then delete the contents of the original folder and also remove the config.json volume.

    Erase and restart redis and nodebb container (It should be like a fresh install) then installs the plugins and themes listed in the log file (nodebb-plugin-teamspeak-verify, nodebb-widget-search-bar, nodebb-theme-oxide, etc)

    When all plugins are installed and enabled, stop the nodebb container and restore the /data redis database with your backup, and remap config.json volume and I think it should be up.

    Next time you want to upgrade, disable all plugins before restarting the container with the new image.

  • 0 Votes
    10 Posts
    1k Views

    @JaredBusch Thanks. Really appreciate it

  • 7 Votes
    15 Posts
    8k Views

    @01 What is the error you are receiving when you visit your site?

    If you can access your site, but it says the connection is insecure, then part of your certificate chain is missing or invalid.

  • 3 Votes
    6 Posts
    5k Views

    Bringing an old thread to life again, sorry!

    I'd also love some help with the instructions for running this in a Docker image. It would make life a bit easier for deploying this in DigitalOcean.