vpapakir / uptime-openshift

Port of Uptime (https://github.com/fzaninotto/uptime) to run on Openshift Online
MIT License
37 stars 13 forks source link

Openshift fails to install Application #7

Open lupetalo opened 8 years ago

lupetalo commented 8 years ago

Is it something regarding this app. Unable to complete the requested operation. Show less MongoDB 2.4 database added. Please make note of these credentials:

Root User: admin Root Password: lkumT_XVxaq7 Database Name: nodejs

Connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/ The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 562f41132d5271566400001e -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c4,c404' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255

.Last 10 kB of build output: info installOne commander@0.6.1 npm info installOne jade@0.26.3 npm info installOne mkdirp@0.3.5 npm info installOne debug@2.2.0 npm info installOne growl@1.7.0 npm info installOne diff@1.0.7 npm info installOne glob@3.2.3 npm info preinstall diff@1.0.7 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/diff npm info linkStuff diff@1.0.7 npm info install diff@1.0.7 npm info postinstall diff@1.0.7 npm info preinstall growl@1.7.0 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/growl npm info linkStuff growl@1.7.0 npm info install growl@1.7.0 npm info postinstall growl@1.7.0 npm info preinstall commander@0.6.1 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/commander npm info linkStuff commander@0.6.1 npm info install commander@0.6.1 npm info postinstall commander@0.6.1 npm info preinstall debug@2.2.0 npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/ms npm info preinstall mkdirp@0.3.5 npm http 304 https://registry.npmjs.org/ms npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/mkdirp npm info linkStuff mkdirp@0.3.5 npm info install mkdirp@0.3.5 npm info postinstall mkdirp@0.3.5 npm info install ms@0.7.1 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/debug npm info installOne ms@0.7.1 npm info preinstall glob@3.2.3 npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/minimatch npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/graceful-fs npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/graceful-fs npm http 200 https://registry.npmjs.org/minimatch npm info preinstall ms@0.7.1 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/debug/node_modules/ms npm info linkStuff ms@0.7.1 npm info install ms@0.7.1 npm info postinstall ms@0.7.1 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/debug npm info linkStuff debug@2.2.0 npm info install debug@2.2.0 npm info retry fetch attempt 1 at 05:19:54 npm info postinstall debug@2.2.0 npm info retry fetch attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz npm info retry fetch attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz npm info postinstall ws@0.4.32 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/socket.io/node_modules/socket.io-client npm info linkStuff socket.io-client@0.9.11 npm info install socket.io-client@0.9.11 npm info postinstall socket.io-client@0.9.11 npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/socket.io npm info linkStuff socket.io@0.9.14 npm info install socket.io@0.9.14 npm info postinstall socket.io@0.9.14 npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm info install graceful-fs@2.0.3 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info install minimatch@0.2.14 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info install inherits@2.0.1 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info installOne graceful-fs@2.0.3 npm info installOne minimatch@0.2.14 npm info installOne inherits@2.0.1 npm info preinstall sax@0.5.8 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/xml2js/node_modules/sax npm info linkStuff sax@0.5.8 npm info install sax@0.5.8 npm info postinstall sax@0.5.8 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/xml2js npm info linkStuff xml2js@0.2.8 npm info install xml2js@0.2.8 npm info postinstall xml2js@0.2.8 npm info preinstall inherits@2.0.1 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/inherits npm info linkStuff inherits@2.0.1 npm info install inherits@2.0.1 npm info postinstall inherits@2.0.1 npm info preinstall graceful-fs@2.0.3 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/graceful-fs npm info linkStuff graceful-fs@2.0.3 npm info install graceful-fs@2.0.3 npm info postinstall graceful-fs@2.0.3 npm info preinstall jade@0.26.3 npm info preinstall minimatch@0.2.14 npm info trying registry request attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/lru-cache npm info install mkdirp@0.3.0 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/jade npm info installOne mkdirp@0.3.0 npm info trying registry request attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/sigmund npm http 200 https://registry.npmjs.org/sigmund npm http 200 https://registry.npmjs.org/lru-cache npm info retry fetch attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz npm info retry fetch attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz npm info preinstall mkdirp@0.3.0 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/jade/node_modules/mkdirp npm info linkStuff mkdirp@0.3.0 npm info install mkdirp@0.3.0 npm info postinstall mkdirp@0.3.0 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/jade npm info linkStuff jade@0.26.3 npm info install jade@0.26.3 npm info postinstall jade@0.26.3 npm info install sigmund@1.0.1 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch npm info install lru-cache@2.7.0 into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch npm info installOne sigmund@1.0.1 npm info installOne lru-cache@2.7.0 npm info preinstall sigmund@1.0.1 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund npm info linkStuff sigmund@1.0.1 npm info install sigmund@1.0.1 npm info postinstall sigmund@1.0.1 npm info preinstall lru-cache@2.7.0 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache npm info linkStuff lru-cache@2.7.0 npm info install lru-cache@2.7.0 npm info postinstall lru-cache@2.7.0 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch npm info linkStuff minimatch@0.2.14 npm info install minimatch@0.2.14 npm info postinstall minimatch@0.2.14 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info linkStuff glob@3.2.3 npm info install glob@3.2.3 npm info postinstall glob@3.2.3 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha npm info linkStuff mocha@1.13.0 npm info install mocha@1.13.0 npm info postinstall mocha@1.13.0 npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest npm info linkStuff webpagetest@0.2.0 npm info install webpagetest@0.2.0 npm info postinstall webpagetest@0.2.0 npm ERR! raw-socket@1.4.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the raw-socket@1.4.0 install script. npm ERR! This is most likely a problem with the raw-socket package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls raw-socket npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-504.34.1.el6.x86_64 npm ERR! command "node" "/opt/rh/nodejs010/root/usr/bin/npm" "install" "-d" npm ERR! cwd /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo npm ERR! node -v v0.10.35 npm ERR! npm -v 1.4.28 npm ERR! code ELIFECYCLE npm info preuninstall raw-socket@1.4.0 npm info uninstall raw-socket@1.4.0 npm info postuninstall raw-socket@1.4.0 npm info preuninstall net-ping@1.1.7 npm info uninstall net-ping@1.1.7 npm info postuninstall net-ping@1.1.7 npm ERR! not ok code 0 An error occurred executing 'gear postreceive' (exit code: 1) Error message: CLIENT_ERROR: Failed to execute: 'control build' for /var/lib/openshift/562f41132d5271566400001e/nodejs

For more details about the problem, try running the command again with the '--trace' option.

deavmi commented 8 years ago

I'm also getting this.

pakyinsun commented 8 years ago

Also facing this issue here.

vpapakir commented 8 years ago

So am I....

lupetalo commented 8 years ago

Nobody is going to see this unfortunately. Project is abandoned...

vpapakir commented 8 years ago

Thanks for letting me know @lupetalo are you interested in working it a bit?

lupetalo commented 8 years ago

@vpapakir I am not that capable with OpenShift scripts. Barely succeeded in starting the original Uptime...

rkmallik commented 8 years ago

@lupetalo @vpapakir sorry, can't assist. Happy to transfer ownership of this repo if you'd like. Good luck

vpapakir commented 8 years ago

Neither do I @lupetalo but I have recently started using OpenShift and I think I will stick to it for quite a few time, so let's give it a spin ;-)

Glad to take over the repo @rkmallik !

rkmallik commented 8 years ago

Great, @vpapakir !

Per https://help.github.com/articles/about-repository-transfers/ It looks like you need to create a repo with the same name (uptime-openshift) for me to initiate the transfer. I think forking this repo should suffice. Let me know when you do that and I'll initiate the transfer

vpapakir commented 8 years ago

I did already @rkmallik ! Thank you very much!

vpapakir commented 7 years ago

Hello!

Uptime works again on OpenShift, feel free to create an app from this repo!