Skip to content

NodeBB - Wichtige Befehle für die Konsole

Pinned NodeBB
  • NodeBB

    NodeBB aktualisieren

    ./nodebb upgrade
    

    NodeBB neustarten

    ./nodebb restart
    

    NodeBB alte Version auswählen

    git switch --detach v2.0.0
    ./nodebb upgrade
    ./nodebb restart
    

    Zurück auf die aktuelle Version einfach mit

    git checkout v2.0.x 
    

    NodeBB Upgrade z.B. auf Version 2.0.0

    git fetch
    git checkout v2.0.x 
    ./nodebb upgrade
     ./nodebb restart
    

    NodeBB Version Update also z.B. 1.19.6 auf 1.19.7

    git fetch
    git reset --hard origin/v1.19.x    
    ./nodebb upgrade
    ./nodebb start
    

    NodeBB Version

    ./nodebb --version
    

    NodeBB Help

    ./nodebb --help
    

    Ausgabe

    Usage: ./nodebb [options] [command]
    
    Welcome to NodeBB
    
    Options:
      -V, --version                   output the version number
      --json-logging                  Output to logs in JSON format
                                      (default: false)
      --log-level <level>             Default logging level to use
                                      (default: "info")
      --config <value>                Specify a config file (default:
                                      "config.json")
      -d, --dev                       Development mode, including verbose
                                      logging (default: false)
      -l, --log                       Log subprocess output to console
                                      (default: false)
      -h, --help                      display help for command
    
    Commands:
      start                           Start the NodeBB server
      stop                            Stop the NodeBB server
      restart                         Restart the NodeBB server
      status                          Check the running status of the
                                      NodeBB server
      log                             Open the output log (useful for
                                      debugging)
      setup [options] [config]        Run the NodeBB
                                      setup script, or setup with an initial config
      install                         Launch the NodeBB web installer for
                                      configuration setup
      build [options] [targets...]    Compile static
                                      assets (JS, CSS, templates,
                                      languages)
      activate [plugin]               Activate a plugin for the
                                      next startup of NodeBB (nodebb-plugin- prefix
                                      is optional)
      plugins                         List all installed plugins
      events [count]                  Outputs the most recent
                                      administrative events recorded by NodeBB
      info                            Outputs various system info
      reset [options]                 Reset plugins, themes,
                                      settings, etc
      user [command]                  Manage users
      upgrade [options] [scripts...]  Run NodeBB
                                      upgrade scripts and ensure packages are
                                      up-to-date, or run a particular upgrade
                                      script
      help [command]                  Display help for
                                      [command]
    

    Plugins

    Plugins auflisten

    ./nodebb plugins
    

    Plugin manuell installieren

    npm install nodebb-plugin-someplugin
    

    Plugin disablen, wenn es rumzickt

    ./nodebb reset -p nodebb-plugin-someplugin
    
  • FrankMF FrankM hat dieses Thema am angepinnt

  • NodeBB - v3.7.0

    NodeBB
    1
    0 Votes
    1 Posts
    47 Views
    No one has replied
  • NodeBB - v3.0.0-rc.1

    NodeBB
    1
    0 Votes
    1 Posts
    57 Views
    No one has replied
  • NodeBB - Update v2.1.1

    NodeBB
    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • NodeBB - Upgrade v2.0.0

    NodeBB
    3
    0 Votes
    3 Posts
    134 Views
    FrankMF

    Irgendwie hatte ich Differenzen zwischen meinen beiden Foren, die es eigentlich nicht geben dürfte!?

    Problem scheint zu sein, das das Plugin

    nodebb-plugin-ns-embed

    nicht richtig funktioniert. Da bekam ich den Tipp, das Plugin

    nodebb-plugin-embed

    zu installieren. Das ging aber nicht über das Admin Panel, da kam folgendes.

    plugin_error.png

    Ok, dann von Hand

    npm install nodebb-plugin-embed

    Im Admin Panel aktivieren, danach Rebuild und Restarten. Aktuell in v2.0.0 nicht über das Admin Panle durchführbar, Fix ist schon fertig. Kommt wohl mit v2.0.1

    ./nodebb upgrade ./nodebb restart

    Danach lief alles!?? Hoffe ich 🙂

  • 0 Votes
    1 Posts
    304 Views
    No one has replied
  • 0 Votes
    2 Posts
    283 Views
    FrankMF

    Durch meinen Umzug zu einem neuen Proxmox, habe ich die Gelegenheit genutzt und meine Server alle auf Debian 11 Bullseye neu installiert. So konnte ich das alles noch mal testen und meine Doku anpassen.

    Zu dem obigen Beitrag gibt es nur folgendes zu ergänzen. Ja, wir wollen ja auch was Aktuelles haben 😉

    NodeJS

    Link Preview Image Node.js — Run JavaScript Everywhere

    Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

    favicon

    (nodejs.org)

    curl -fsSL https://deb.nodesource.com/setup_14.x | bash - NodeBB git clone -b v1.18.x https://github.com/NodeBB/NodeBB.git nodebb

    https://github.com/NodeBB/NodeBB/branches

  • Upgrade auf NodeBB 1.11.0

    NodeBB
    1
    0 Votes
    1 Posts
    364 Views
    No one has replied
  • NodeBB - spawn npm ENOENT

    NodeBB
    1
    0 Votes
    1 Posts
    403 Views
    No one has replied