CloudBoost / docker

Docker Cloud file for CloudBoost
http://www.cloudboost.io
33 stars 15 forks source link

User service not starting #6

Closed mymanga closed 8 years ago

mymanga commented 8 years ago

Just keeps rebooting continuously. All other containers are running fine

`cloudboost-user-service_1 | npm info it worked if it ends with ok cloudboost-user-service_1 | npm info using npm@3.6.0 cloudboost-user-service_1 | npm info using node@v5.6.0 npm info lifecycle CbFrontendServices@0.1.1~prestart: CbFrontendServices@0.1.1 npm info lifecycle CbFrontendServices@0.1.1~start: CbFrontendServices@0.1.1

cloudboost-user-service_1 | > CbFrontendServices@0.1.1 start /usr/src/app cloudboost-user-service_1 | > node server.js cloudboost-user-service_1 | Mongo DB : mongodb://_GLOBAL cloudboost-user-service_1 | Models,Services,Routes Status : OKay. cloudboost-user-service_1 | Data Services URL : http://172.17.0.4:4730 cloudboost-user-service_1 | Analytics URL:https://analytics.cloudboost.io cloudboost-user-service_1 | cloudboost-user-service_1 | CBFrontend Services runing on PORT:3000 cloudboost-user-service_1 | cloudboost-user-service_1 | /usr/src/app/node_modules/mongoose/node_modules/mongodb/lib/server.js:242 cloudboost-user-service_1 | process.nextTick(function() { throw err; }) cloudboost-user-service_1 | ^ cloudboost-user-service_1 | Error: getaddrinfo ENOTFOUND _GLOBAL _GLOBAL:27017 cloudboost-user-service_1 | at errnoException (dns.js:26:10) cloudboost-user-service_1 | at GetAddrInfoReqWrap.onlookup as oncomplete

cloudboost-user-service_1 | npm info lifecycle CbFrontendServices@0.1.1~start: Failed to exec start script cloudboost-user-service_1 | npm ERR! Linux 3.10.0-327.22.2.el7.x86_64 cloudboost-user-service_1 | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" cloudboost-user-service_1 | npm ERR! node v5.6.0 cloudboost-user-service_1 | npm ERR! npm v3.6.0 cloudboost-user-service_1 | npm ERR! code ELIFECYCLE cloudboost-user-service_1 | npm ERR! CbFrontendServices@0.1.1 start: node server.js cloudboost-user-service_1 | npm ERR! Exit status 1 cloudboost-user-service_1 | npm ERR! cloudboost-user-service_1 | npm ERR! Failed at the CbFrontendServices@0.1.1 start script 'node server.js'. cloudboost-user-service_1 | npm ERR! Make sure you have the latest version of node.js and npm installed. cloudboost-user-service_1 | npm ERR! If you do, this is most likely a problem with the CbFrontendServices package, cloudboost-user-service_1 | npm ERR! not with npm itself. cloudboost-user-service_1 | npm ERR! Tell the author that this fails on your system: cloudboost-user-service_1 | npm ERR! node server.js cloudboost-user-service_1 | npm ERR! You can get information on how to open an issue for this project with: cloudboost-user-service_1 | npm ERR! npm bugs CbFrontendServices cloudboost-user-service_1 | npm ERR! Or if that isn't available, you can get their info via: cloudboost-user-service_1 | npm ERR! npm owner ls CbFrontendServices cloudboost-user-service_1 | npm ERR! There is likely additional logging output above. cloudboost-user-service_1 | cloudboost-user-service_1 | npm ERR! Please include the following file with any support request: cloudboost-user-service_1 | npm ERR! /usr/src/app/npm-debug.log cloudboost-user-service_1 | cloudboost-user-service_1 | npm info it worked if it ends with ok cloudboost-user-service_1 | npm info using npm@3.6.0 cloudboost-user-service_1 | npm info using node@v5.6.0 npm info lifecycle CbFrontendServices@0.1.1~prestart: CbFrontendServices@0.1.1 npm info lifecycle CbFrontendServices@0.1.1~start: CbFrontendServices@0.1.1

cloudboost-user-service_1 | > CbFrontendServices@0.1.1 start /usr/src/app cloudboost-user-service_1 | > node server.js cloudboost-user-service_1 | Mongo DB : mongodb://_GLOBAL cloudboost-user-service_1 | Models,Services,Routes Status : OKay. cloudboost-user-service_1 | Data Services URL : http://172.17.0.4:4730 cloudboost-user-service_1 | Analytics URL:https://analytics.cloudboost.io cloudboost-user-service_1 | cloudboost-user-service_1 | CBFrontend Services runing on PORT:3000 cloudboost-user-service_1 | cloudboost-user-service_1 | /usr/src/app/node_modules/mongoose/node_modules/mongodb/lib/server.js:242 cloudboost-user-service_1 | process.nextTick(function() { throw err; }) cloudboost-user-service_1 | ^ cloudboost-user-service_1 | Error: getaddrinfo ENOTFOUND _GLOBAL _GLOBAL:27017 cloudboost-user-service_1 | at errnoException (dns.js:26:10) cloudboost-user-service_1 | at GetAddrInfoReqWrap.onlookup as oncomplete

cloudboost-user-service_1 | npm info lifecycle CbFrontendServices@0.1.1~start: Failed to exec start script cloudboost-user-service_1 | npm ERR! Linux 3.10.0-327.22.2.el7.x86_64 cloudboost-user-service_1 | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" cloudboost-user-service_1 | npm ERR! node v5.6.0 cloudboost-user-service_1 | npm ERR! npm v3.6.0 cloudboost-user-service_1 | npm ERR! code ELIFECYCLE cloudboost-user-service_1 | npm ERR! CbFrontendServices@0.1.1 start: node server.js cloudboost-user-service_1 | npm ERR! Exit status 1 cloudboost-user-service_1 | npm ERR! cloudboost-user-service_1 | npm ERR! Failed at the CbFrontendServices@0.1.1 start script 'node server.js'. cloudboost-user-service_1 | npm ERR! Make sure you have the latest version of node.js and npm installed. cloudboost-user-service_1 | npm ERR! If you do, this is most likely a problem with the CbFrontendServices package, cloudboost-user-service_1 | npm ERR! not with npm itself. cloudboost-user-service_1 | npm ERR! Tell the author that this fails on your system: cloudboost-user-service_1 | npm ERR! node server.js cloudboost-user-service_1 | npm ERR! You can get information on how to open an issue for this project with: cloudboost-user-service_1 | npm ERR! npm bugs CbFrontendServices cloudboost-user-service_1 | npm ERR! Or if that isn't available, you can get their info via: cloudboost-user-service_1 | npm ERR! npm owner ls CbFrontendServices cloudboost-user-service_1 | npm ERR! There is likely additional logging output above. cloudboost-user-service_1 | cloudboost-user-service_1 | npm ERR! Please include the following file with any support request: cloudboost-user-service_1 | npm ERR! /usr/src/app/npm-debug.log `

nawazdhandala commented 8 years ago

Working to fix it.

nawazdhandala commented 8 years ago

Fixed.

mymanga commented 8 years ago

Nope, error is still there. Puled the latest docker images but no change...even installed on a new server just incase. Still not starting

NB: dashboard error "http://my.domain.com:3000/server/isNewServer" connection refused

nawazdhandala commented 8 years ago

I think you need to pull the latest docker compose file.

Regards,

Nawaz Dhandala.

From: Barnabie Opiyo [mailto:notifications@github.com] Sent: 09 August 2016 14:51 To: CloudBoost/docker docker@noreply.github.com Cc: Nawaz Dhandala nawazdhandala@outlook.com; State change state_change@noreply.github.com Subject: Re: [CloudBoost/docker] User service not starting (#6)

Nope, error is still there. Puled the latest docker images but no change...even installed on a new server just incase. Still not starting

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/CloudBoost/docker/issues/6#issuecomment-238499680 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACkoes-4iuR0YFvtcra50aAyMxvofzmWks5qeEaTgaJpZM4JdQCx . https://github.com/notifications/beacon/ACkoekAfaw7oS9IOQaUGiiT_PCFexnXeks5qeEaTgaJpZM4JdQCx.gif