Installation Error



  • Hi,

    I am using digital ocean droplet with ubuntu

    i am following this guideline

    When i initiate the setup using the command ($ ./nodebb setup) i got the following error

    Error: Command failed: npm install --production
    at checkExecSyncError (child_process.js:473:13)
    at Object.execSync (child_process.js:513:13)
    at Object.installAll (/root/nodebb/src/cli/package-install.js:44:8)
    at Object.<anonymous> (/root/nodebb/src/cli/index.js:41:18)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)

    can you help me please..



  • bump bump bump



  • Hi again,

    So it seems that the Nodebb is finally installed however i am unable to access it on http://mydropletip:4567

    Here is the config.json file

    "url": "http://localhost:4567",
    "secret": "91cc276d-611c-415c-9c73-7fb12e44930g",
    "database": "mongo",
    "mongo": {
    "host": "127.0.0.1",
    "port": "27017",
    "username": "dbusername",
    "password": "password3",
    "database": "dbname",
    "uri": ""
    }

    also when i try to check whether nodebb is running fine or not i got these 2 errors

    error: NodeBB address in use, exiting... Error: listen EADDRINUSE 0.0.0.0:4567
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at Server._listen2 (net.js:1262:14)
    at listen (net.js:1298:10)
    at net.js:1408:9
    at _combinedTickCallback (internal/process/next_tick.js:83:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

    2018-01-23T13:03:07.884Z [17861] - error: Error: listen EADDRINUSE 0.0.0.0:4567
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at Server._listen2 (net.js:1262:14)
    at listen (net.js:1298:10)
    at net.js:1408:9
    at _combinedTickCallback (internal/process/next_tick.js:83:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)


  • Global Moderator

    @juliereader that error means it is running. Look up "kill process on port" and Jill the process on port 4567. You can alternatively kill all node processes.



  • @juliereader You should probably change the password for mongo, since you posted it publicly.

    The URL value in the config.json also needs to match what you are trying to connect to. You have localhost specified, but you need to use "mydropletip"



  • @pitaj but i cant access it on http://mydroplerIp:4567 its giving me 500 error

    @teh_g said in Installation Error:

    @juliereader You should probably change the password for mongo, since you posted it publicly.

    The URL value in the config.json also needs to match what you are trying to connect to. You have localhost specified, but you need to use "mydropletip"

    the pass is dummy pass not real 🙂
    and where do I use the droplet ip ?
    in HOST value or in URL value ?


  • Admin

    Your url value would be http://your_digitalocean_ip:4567



  • @julian hi thanks.

    But i am still getting ERR_CONNECTION_TIMED_OUT

    This site can’t be reached
    mydroiplet ip took too long to respond.


 

| |