Not asked to input admin username and password on ./setup

Technical Support
  • Hi everyone,

    when i run ./setup it not asked for inputing admin's username and password, it says that already exists an admin created.

    29/9 12:36:37 [238] - verbose: * using configuration stored in: /nodebb/config.json
    29/9 12:36:37 [238] - info: NodeBB v1.6.0 Copyright (C) 2013-2017 NodeBB Inc.
    29/9 12:36:37 [238] - info: This program comes with ABSOLUTELY NO WARRANTY.
    29/9 12:36:37 [238] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    29/9 12:36:37 [238] - info:
    29/9 12:36:37 [238] - info: NodeBB Setup Triggered via Command Line
    
    Welcome to NodeBB!
    
    This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
    Press enter to accept the default setting (shown in brackets).
    
    29/9 12:36:38 [238] - info: Now configuring mongo database:
    Configuration Saved OK
    29/9 12:36:38 [238] - info: [database] Checking database indices.
    29/9 12:36:38 [238] - info: [database] Checking database indices done!
    Populating database with default configs, if not already set...
    29/9 12:36:42 [238] - verbose: [minifier] utilizing a maximum of 0 additional threads
    Previous theme detected, skipping enabling default theme
    Categories OK. Found 4 categories.
    Administrator found, skipping Admin setup
    29/9 12:36:43 [238] - info: Global Moderators group found, skipping creation!
    Enabling default plugins
    29/9 12:36:43 [238] - info: [install/defaultPlugins] customDefaults
    29/9 12:36:43 [238] - info: [install/enableDefaultPlugins] activating default plugins 0=nodebb-plugin-composer-default, 1=nodebb-plugin-markdown, 2=nodebb-plugin-mentions, 3=nodebb-widget-essentials, 4=nodebb-rewards-essentials, 5=nodebb-plugin-soundpack-default, 6=nodebb-plugin-emoji-extended, 7=nodebb-plugin-emoji-one
    29/9 12:36:43 [238] - verbose: * using configuration stored in: /nodebb/config.json
    29/9 12:36:43 [238] - verbose: [build] building the following targets: plugin static dirs, requirejs modules, client js bundle, admin js bundle, client side styles, admin control panel styles, templates, languages, sounds
    29/9 12:36:43 [238] - info: [themes] Using theme nodebb-theme-persona
    29/9 12:36:43 [238] - verbose: [plugins] loading the following fields from plugin data: staticDirs, modules, clientScripts, acpScripts, cssFiles, lessFiles, acpLessFiles, languageData, soundpack
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-emoji-extended
    29/9 12:36:44 [238] - verbose: [plugins] Found 10 AMD-style module(s) for plugin nodebb-plugin-composer-default
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-composer-default
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-theme-persona
    29/9 12:36:44 [238] - verbose: [plugins] found 2 static directories for nodebb-plugin-markdown
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-markdown
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
    29/9 12:36:44 [238] - verbose: [plugins] found 1 static directories for nodebb-rewards-essentials
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-rewards-essentials
    29/9 12:36:44 [238] - verbose: [plugins] Found 3 sound file(s) for plugin nodebb-plugin-soundpack-default
    29/9 12:36:44 [238] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-emoji-extended
    29/9 12:36:44 [238] - verbose: [plugins] found 2 static directories for nodebb-plugin-emoji-extended
    29/9 12:36:44 [238] - verbose: [plugins] found 1 static directories for nodebb-plugin-emoji-one
    29/9 12:36:44 [238] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-composer-default
    29/9 12:36:44 [238] - verbose: [plugins] Found 5 js file(s) for plugin nodebb-theme-persona
    29/9 12:36:44 [238] - info: [build] Building in parallel mode
    29/9 12:36:44 [238] - info: [build]         plugin static dirs  build started
    29/9 12:36:44 [238] - info: [build]          requirejs modules  build started
    29/9 12:36:44 [238] - info: [build]           client js bundle  build started
    29/9 12:36:44 [238] - info: [build]            admin js bundle  build started
    29/9 12:36:44 [238] - info: [build]         client side styles  build started
    29/9 12:36:44 [238] - info: [build] admin control panel styles  build started
    29/9 12:36:44 [238] - info: [build]                  templates  build started
    29/9 12:36:44 [238] - info: [build]                  languages  build started
    29/9 12:36:44 [238] - info: [build]                     sounds  build started
    29/9 12:36:44 [238] - info: [build]            admin js bundle  build completed in 0.772sec
    29/9 12:36:46 [238] - info: [build]           client js bundle  build completed in 1.826sec
    29/9 12:36:46 [238] - info: [build]                     sounds  build completed in 2.014sec
    29/9 12:36:46 [238] - info: [build]          requirejs modules  build completed in 2.768sec
    29/9 12:36:48 [238] - info: [build]         plugin static dirs  build completed in 4.017sec
    Killed
    

    When the setup ends and i go to the browser, i receive the following response:

    Error: Failed to lookup view "500" in views directory "/nodebb/build/public/templates"
        at Function.render (/nodebb/node_modules/express/lib/application.js:580:17)
        at ServerResponse.render (/nodebb/node_modules/express/lib/response.js:971:7)
        at content (/nodebb/src/middleware/render.js:82:15)
        at /nodebb/node_modules/async/dist/async.js:3853:24
        at replenish (/nodebb/node_modules/async/dist/async.js:946:17)
        at /nodebb/node_modules/async/dist/async.js:950:9
        at eachOfLimit (/nodebb/node_modules/async/dist/async.js:975:24)
        at /nodebb/node_modules/async/dist/async.js:980:16
        at eachOf (/nodebb/node_modules/async/dist/async.js:1051:5)
        at _parallel (/nodebb/node_modules/async/dist/async.js:3852:5)
        at Object.parallelLimit [as parallel] (/nodebb/node_modules/async/dist/async.js:3935:5)
        at async.waterfall.str (/nodebb/src/middleware/render.js:77:12)
        at nextTask (/nodebb/node_modules/async/dist/async.js:5297:14)
        at next (/nodebb/node_modules/async/dist/async.js:5304:9)
        at /nodebb/node_modules/async/dist/async.js:906:16
        at /nodebb/node_modules/async/dist/async.js:421:16
    

    thanks in advance.

  • @michaeltcoelho said in Not asked to input admin username and password on ./setup:

    29/9 12:36:48 [238] - info: [build] plugin static dirs build completed in 4.017sec
    Killed

    Looks like the build is killed, possibly due to not having enough memory, try setting some swap and try again.


Suggested Topics


  • 0 Votes
    23 Posts
    203 Views

  • Solved Technical Support
    0 Votes
    2 Posts
    171 Views

  • Solved Technical Support
    0 Votes
    15 Posts
    542 Views

  • Unsolved Technical Support
    0 Votes
    4 Posts
    5290 Views

  • 0 Votes
    3 Posts
    1802 Views

| | | |