Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. NodeBB
  3. NodeBB always needs to download & install plugin & themes OOTB on boot

NodeBB always needs to download & install plugin & themes OOTB on boot

Scheduled Pinned Locked Moved Solved NodeBB
4 Posts 3 Posters 838 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by d19dotca
      #1

      So I'm guessing we all know that NodeBB takes a while to boot, around 2.5 minutes or so to be ready for traffic. I was reviewing the logs and realized that it almost seems like the

      Feb 14 22:36:29 => installing plugin (plugin|theme|widget|reward) modules
      Feb 14 22:36:31 => Could not find plugin nodebb-plugin-composer-default@6.5.5. Installing it.
      [...]
      Feb 14 23:02:14 + nodebb-plugin-markdown@8.12.4
      Feb 14 23:02:14 added 1 package from 1 contributor, removed 3 packages, updated 1 package, moved 13 packages and audited 1771 packages in 6.199s
      Feb 14 23:02:14 found 1 moderate severity vulnerability
      Feb 14 23:02:14 run `npm audit fix` to fix them, or `npm audit` for details
      Feb 14 23:02:14 => Could not find plugin nodebb-plugin-mentions@2.13.6. Installing it.
      [...]
      Feb 14 23:03:07 + nodebb-theme-vanilla@11.3.10
      Feb 14 23:03:07 updated 1 package and audited 1774 packages in 6.096s
      Feb 14 23:03:07 found 1 moderate severity vulnerability
      Feb 14 23:03:07 run `npm audit fix` to fix them, or `npm audit` for details
      Feb 14 23:03:07 => Could not find plugin nodebb-widget-essentials@5.0.2. Installing it.
      [...]
      

      It seems to take several seconds for every plugin & theme.

      Does it perhaps make sense to include these items in the package itself so that the spin-up time could be considerably faster? Or maybe I'm just misunderstanding how NodeBB works in this case, always possible. haha.

      --
      Dustin Dauncey
      www.d19.ca

      1 Reply Last reply
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        I think those are managed individually via the plugin and theme system. Including them in the package would mean, they cannot get updates between nodebb package updates as well.
        Having said that, I don't really know if they in fact ever get updated in-between.

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          I have noticed this as well when this forum restarts. I have opened a bug to research this - https://git.cloudron.io/cloudron/nodebb-app/-/issues/7 . It should be possible to "optimize" restarts to not install things over and over like we do for Discourse plugins.

          1 Reply Last reply
          2
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            This is fixed in the latest package 1.18.0

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search