Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Technical Support
  3. Docker container missing files

Docker container missing files

Planlagt Fastgjort Låst Flyttet Technical Support
3 Indlæg 2 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • R This user is from outside of this forum
    R This user is from outside of this forum
    ronny@community.nodebb.org
    wrote sidst redigeret af
    #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
    
    1 Reply Last reply
    1
    0
    • System shared this topic
    • 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
      ashutosh-verma@community.nodebb.org
      wrote sidst redigeret af
      #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
      
      R 1 Reply Last reply
      0
      • ashutosh-verma@community.nodebb.orgA ashutosh-verma@community.nodebb.org

        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
        
        R This user is from outside of this forum
        R This user is from outside of this forum
        ronny@community.nodebb.org
        wrote sidst redigeret af
        #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
        • System shared this topic
        Svar
        • Svar som emne
        Login for at svare
        • Ældste til nyeste
        • Nyeste til ældste
        • Most Votes


        • Log ind

        • Har du ikke en konto? Tilmeld

        • Login or register to search.
        Powered by NodeBB Contributors
        Graciously hosted by data.coop
        • First post
          Last post
        0
        • Hjem
        • Seneste
        • Etiketter
        • Populære
        • Verden
        • Bruger
        • Grupper