Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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

NodeBB

  1. Home
  2. Technical Support
  3. Docker container missing files

Docker container missing files

Scheduled Pinned Locked Moved Technical Support
3 Posts 2 Posters 0 Views
  • 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.
  • R This user is from outside of this forum
    R This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1

    Hi, i get theae errors when i try start node Container.

    2025-05-20T14:27:47.735Z [4567/57] - info: Initializing NodeBB v4.4.1 https://forum.its-egner.de
    2025-05-20T14:27:50.677Z [4567/57] - warn: [cache-buster] could not read cache buster ENOENT: no such file or directory, open '/usr/src/app/build/cache-buster' {"code":"ENOENT","errno":-2,"path":"/usr/src/app/build/cache-buster","stack":"Error: ENOENT: no such file or directory, open '/usr/src/app/build/cache-buster'\n    at async open (node:internal/fs/promises:633:25)\n    at async Object.readFile (node:internal/fs/promises:1237:14)\n
    at async read (/usr/src/app/src/meta/cacheBuster.js:31:18)\n    at async Configs.init (/usr/src/app/src/meta/configs.js:90:17)\n    at async start.start (/usr/src/app/src/start.js:19:3)","syscall":"open"}
    2025-05-20T14:27:51.346Z [4567/57] - info: [socket.io] Restricting access
    to origin: https://forum.its-egner.de:*
    2025-05-20T14:27:51.409Z [4567/57] - error: [emailer] Failed to build custom email templates
    Error: ENOENT: no such file or directory, scandir '/usr/src/app/build/public/templates'
        at async Object.readdir (node:internal/fs/promises:949:18)
        at async file.walk (/usr/src/app/src/file.js:150:18)
        at async Promise.all (index 1)
        at async buildCustomTemplates (/usr/src/app/src/emailer.js:75:33)
    2025-05-20T14:27:51.431Z [4567/57] - warn: [plugins] "nodebb-plugin-embed" is active but not installed.
    2025-05-20T14:27:51.431Z [4567/57] - warn: [plugins] "nodebb-plugin-math-captcha" is active but not installed.
    2025-05-20T14:27:51.605Z [4567/57] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
      * nodebb-plugin-emoji-android
    
    ashutosh-verma@community.nodebb.orgA 1 Reply Last reply
    0
    • R [email protected]

      Hi, i get theae errors when i try start node Container.

      2025-05-20T14:27:47.735Z [4567/57] - info: Initializing NodeBB v4.4.1 https://forum.its-egner.de
      2025-05-20T14:27:50.677Z [4567/57] - warn: [cache-buster] could not read cache buster ENOENT: no such file or directory, open '/usr/src/app/build/cache-buster' {"code":"ENOENT","errno":-2,"path":"/usr/src/app/build/cache-buster","stack":"Error: ENOENT: no such file or directory, open '/usr/src/app/build/cache-buster'\n    at async open (node:internal/fs/promises:633:25)\n    at async Object.readFile (node:internal/fs/promises:1237:14)\n
      at async read (/usr/src/app/src/meta/cacheBuster.js:31:18)\n    at async Configs.init (/usr/src/app/src/meta/configs.js:90:17)\n    at async start.start (/usr/src/app/src/start.js:19:3)","syscall":"open"}
      2025-05-20T14:27:51.346Z [4567/57] - info: [socket.io] Restricting access
      to origin: https://forum.its-egner.de:*
      2025-05-20T14:27:51.409Z [4567/57] - error: [emailer] Failed to build custom email templates
      Error: ENOENT: no such file or directory, scandir '/usr/src/app/build/public/templates'
          at async Object.readdir (node:internal/fs/promises:949:18)
          at async file.walk (/usr/src/app/src/file.js:150:18)
          at async Promise.all (index 1)
          at async buildCustomTemplates (/usr/src/app/src/emailer.js:75:33)
      2025-05-20T14:27:51.431Z [4567/57] - warn: [plugins] "nodebb-plugin-embed" is active but not installed.
      2025-05-20T14:27:51.431Z [4567/57] - warn: [plugins] "nodebb-plugin-math-captcha" is active but not installed.
      2025-05-20T14:27:51.605Z [4567/57] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
        * nodebb-plugin-emoji-android
      
      ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
      ashutosh-verma@community.nodebb.orgA This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      You have to build you own image with the plugins you want installed on every update

      this is my Dockerfile (just add the plugins you use)

      FROM ghcr.io/nodebb/nodebb:latest
      
      # Install NodeBB plugins
      RUN npm install \
          nodebb-plugin-cards \
          nodebb-plugin-link-preview \
          nodebb-plugin-tenor-gif
      
      # Expose the default NodeBB port
      EXPOSE 4567
      
      1 Reply Last reply
      1
      • R This user is from outside of this forum
        R This user is from outside of this forum
        [email protected]
        wrote last edited by [email protected]
        #3

        Ashutosh-Verma Thanks for your advice. Will save Time during Update.

        If you want add healthcheck to your nodebb Docker, visit:

        https://forum.its-egner.de/topic/4581/nodebb-healthcheck

        And here the Update Script with all of my Plugins for Ubuntu 24

        git fetch
        git reset --hard origin/v4.x
        chown -R 1001:1001 .docker public
        docker-compose -f docker-compose-orgi.yml build
        docker-compose -f docker-compose-orgi.yml up -d
        docker exec -i nodebb-nodebb-1 npm install \
            nodebb-plugin-embed \
            nodebb-plugin-math-captcha \
            nodebb-plugin-embed \
            nodebb-plugin-emoji-android \
            nodebb-plugin-google-analytics \
            nodebb-plugin-sso-google \
            nodebb-plugin-tenor-gif
        
        

        Greetings

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


        • Login

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups