Coder Social home page Coder Social logo

binder-build's People

Contributors

andrewosh avatar choldgraf avatar freeman-lab avatar sethvincent avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sethvincent minrk

binder-build's Issues

Upgrade pip version used when pip installing modules?

Hi,
First, thanks and ๐Ÿ‘ for this awesome projects! Binder is amazing!

I saw that pip is complaining while installing modules:

๏ฟฝ[91mYou are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. ๏ฟฝ[0m

So, could you (try to) upgrade pip (and in the same time, the main packages installed for all users)?
Thanks!

Here is an more visual example:
mybinder bug

binder building on ubuntu not starting

I am setting up an AWS Ubuntu 16.04 instance to run a mybinder deployment.

Following the instructions on http://docs.mybinder.org/custom-deployments I was able to start the server, but the status page on the web says the build and deploy servers are both down.

examining the logs with
pm2 log binder-build-start

I have the following errors.

/home/ubuntu/.pm2/logs/binder-build-start-error-8.log last 10 lines:
8|binder-b | Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
8|binder-b | error: handler trying to handle nonexistent endpoint: fetch module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: fetchAll module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: statusAll module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: status module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: start module=binder-build
8|binder-b | error: Could not get build information for requested image module=binder-build

and
[STREAMING] Now streaming realtime logs for [binder-build-start] process
8|binder-b | error: Could not get build information for requested image module=binder-build

any help on figuring out where the problem is would be appreciated
my build.conf has been left default

{
"db": {
"host": "localhost",
"port": 9050
},
"logging": {
"host": "localhost",
"logstash": {
"port": 8050
}
},
"docker": {
"enabled": true,
"email": "N/A",
"registry": "",
"host": "localhost"
},
"port": 8082
}

docker appears to be working fine
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8cae99566898 kibana "/docker-entrypoint.s" 36 hours ago Up 22 minutes 0.0.0.0:8053->5601/tcp logging_binder-kibana_1
986dbf9dd10a andrewosh/binder-logstash "/opt/logstash/bin/lo" 36 hours ago Up 22 minutes 0.0.0.0:2121->2121/tcp, 0.0.0.0:8050->9100/tcp logging_binder-logstash_1
7e9d7a428c01 mongo "/entrypoint.sh mongo" 36 hours ago Up 22 minutes 0.0.0.0:9050->27017/tcp db_binder-mongo_1

and the binder script appeared to start ok

binder-control start-all
prompt: Would you like to launch a Kubernetes cluster?: (yes) no
prompt: Would you like to launch Kubernetes locally with Docker? (local testing only)?: (no) no
prompt: Would you like to launch the database service?: (yes)
prompt: Would you like to launch the logging service?: (yes)
Starting 'start' - db
Finished 'start' - db
Started service db successfully
Starting 'start' - logging
Waiting 2 minutes for logging containers to start up...
error: this is a test message app=test-app, module=logging-service
Finished 'start' - logging
Failed to start service logging: Error: connect ECONNREFUSED 127.0.0.1:8052
Starting the binder-build server...
Starting the binder-deploy-kubernetes server...
Starting the binder-web server...
Starting the binder-health-checker server...
Pulling all base images...
Using default tag: latest
latest: Pulling from andrewosh/binder-base
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
dde5ae526502: Already exists
79ffbe5ddb2d: Already exists
9bfc42d5c53d: Already exists
9c044d3f1cc8: Already exists
b7c174a4ca97: Already exists
9e391b913e48: Already exists
6e840d774f36: Already exists
b6225b8a2783: Already exists
699f0e0f26d2: Already exists
c3389f562d5b: Already exists
9fb29d466d3c: Already exists
c9288fd5f6e9: Already exists
Digest: sha256:eabde24f4c55174832ed8795faa40cea62fc9e2a4a9f1ee1444f8a2e4f9710ee
Status: Image is up to date for andrewosh/binder-base:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-2.7
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
842afacfb826: Already exists
e38399353a74: Already exists
15d73d7dd525: Already exists
Digest: sha256:d2b4e8428bfd4359ea01b9d333e7b2981b96daa9f94d91dbcb16a1428228c533
Status: Image is up to date for andrewosh/binder-python-2.7:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-3.5
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
0f0eecaf9c24: Already exists
2cac61bb4660: Already exists
9c39d0fcae19: Already exists
Digest: sha256:219dfbb77357c3fc36e572fbb95386b580bf759558706e8ef3cbd8953434d13f
Status: Image is up to date for andrewosh/binder-python-3.5:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-2.7-mini
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
4a8ff12d4b06: Already exists
df5662b21bf3: Already exists
012861441569: Already exists
914eaf515214: Already exists
Digest: sha256:6e66934b4819457ea445a58777905c58b385e98962e7cb83d194acfc4553c291
Status: Image is up to date for andrewosh/binder-python-2.7-mini:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-3.5-mini
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
382104638eda: Already exists
bf802234a468: Already exists
435e87b8742c: Already exists
2f4732c53f02: Already exists
Digest: sha256:f2f85de237c2a8905e5dfda85664feedc8545b92e70177502f9b6a1c29f3718e
Status: Image is up to date for andrewosh/binder-python-3.5-mini:latest
Sleeping for 180 seconds so servers/services can stabilize...
Started services/servers with API key: c567fd5fe3d36a4cc23ccdfd9891e85c

and here is my binder-control status output
binder-control status
Running Binder servers:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ App name โ”‚ id โ”‚ mode โ”‚ pid โ”‚ status โ”‚ restart โ”‚ uptime โ”‚ cpu โ”‚ mem โ”‚ watching โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ binder-build-start โ”‚ 8 โ”‚ fork โ”‚ 19235 โ”‚ online โ”‚ 0 โ”‚ 6m โ”‚ 0% โ”‚ 107.2 MB โ”‚ disabled โ”‚
โ”‚ binder-db-service โ”‚ 0 โ”‚ fork โ”‚ 15270 โ”‚ online โ”‚ 0 โ”‚ 23m โ”‚ 0% โ”‚ 2.4 MB โ”‚ disabled โ”‚
โ”‚ binder-deploy-kubernetes-start โ”‚ 3 โ”‚ fork โ”‚ 15904 โ”‚ online โ”‚ 0 โ”‚ 21m โ”‚ 0% โ”‚ 95.6 MB โ”‚ disabled โ”‚
โ”‚ binder-health-checker โ”‚ 7 โ”‚ fork โ”‚ 16036 โ”‚ online โ”‚ 0 โ”‚ 21m โ”‚ 0% โ”‚ 51.6 MB โ”‚ disabled โ”‚
โ”‚ binder-health-checker-start โ”‚ 6 โ”‚ fork โ”‚ 16002 โ”‚ online โ”‚ 0 โ”‚ 21m โ”‚ 0% โ”‚ 74.3 MB โ”‚ disabled โ”‚
โ”‚ binder-kubernetes-daemon โ”‚ 5 โ”‚ fork โ”‚ 15976 โ”‚ online โ”‚ 0 โ”‚ 21m โ”‚ 0% โ”‚ 79.7 MB โ”‚ disabled โ”‚
โ”‚ binder-logging-service โ”‚ 1 โ”‚ fork โ”‚ 15402 โ”‚ online โ”‚ 0 โ”‚ 23m โ”‚ 0% โ”‚ 2.4 MB โ”‚ disabled โ”‚
โ”‚ binder-web-start โ”‚ 4 โ”‚ fork โ”‚ 15939 โ”‚ online โ”‚ 0 โ”‚ 21m โ”‚ 0% โ”‚ 65.4 MB โ”‚ disabled โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.