Wrong path on startup: no such file or directory, scandir '/opt/app-root/src/build/public/language'



  • I've install NodeBB on OpenShift using the Node 4 S2I process. This worked fine so far, but after configuring the application NodeBB can't start because of a wrong path:

    $ ./nodebb start
    
    Starting NodeBB
      "./nodebb stop" to stop the NodeBB server
      "./nodebb log" to view server output
      "./nodebb restart" to restart NodeBB
    
    3/4 15:41:51 [28] - info: Time: Mon Apr 03 2017 15:41:51 GMT+0000 (UTC)
    3/4 15:41:51 [28] - info: Initializing NodeBB v1.4.5
    3/4 15:41:56 [28] - warn: [cache-buster] could not read cache buster: ENOENT: no such file or directory, open '/opt/app-root/src/build/cache-buster'
    3/4 15:41:58 [28] - info: [socket.io] Restricting access to origin: http://localhost:*
    3/4 15:41:58 [28] - error: [plugins] NodeBB encountered a problem while loading plugins ENOENT: no such file or directory, scandir '/opt/app-root/src/build/public/language'
    3/4 15:41:58 [28] - error:  Error: ENOENT: no such file or directory, scandir '/opt/app-root/src/build/public/language'
        at Error (native)
    

    The files are available under /opt/app-root/src/public/language, the path from the error message above without build.

    Does anyone know what I can do here?


  • Global Moderator

    @tobru run ./nodebb build then try again




Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.