Giter Club home page Giter Club logo

Comments (10)

minrk avatar minrk commented on May 27, 2024 2

@willingc we don't install nodejs with apt, we install it with conda. The issue appears to be that @ellisonbg is not getting packages from conda-forge, where configurable-http-proxy is packaged.

from jupyterhub-deploy-teaching.

ellisonbg avatar ellisonbg commented on May 27, 2024 1

14.04

from jupyterhub-deploy-teaching.

ellisonbg avatar ellisonbg commented on May 27, 2024

Hmm, running conda install configurable-http-proxy seems to work, don't know why it failed in the ansible stuff...

from jupyterhub-deploy-teaching.

willingc avatar willingc commented on May 27, 2024

@ellisonbg Just to clarify... are you running 16.04 LTS or 14.04 LTS?

from jupyterhub-deploy-teaching.

minrk avatar minrk commented on May 27, 2024

@ellisonbg CHP is only packaged by conda-forge, so if it's failing, that could mean that the conda-forge channel is not enabled.

from jupyterhub-deploy-teaching.

minrk avatar minrk commented on May 27, 2024

@ellisonbg how did you provision the server? Did you run anything prior to the deploy?

from jupyterhub-deploy-teaching.

jkuruzovich avatar jkuruzovich commented on May 27, 2024

I got the same error and used the following and got it to work:

ssh root@servername
8. apt install npm
9. git clone https://github.com/jupyter/configurable-http-proxy.git
10. cd configurable-http-proxy
11. sudo npm install -g
12. PATH="$PATH:/usr/local/bin" npm install -g bower less grunt-cli
13. sudo apt-get install nodejs-legacy
15. supervisorctl (if not running then supervisord)
16. start all

I found this an issue on Ubuntu 16.04.

from jupyterhub-deploy-teaching.

ellisonbg avatar ellisonbg commented on May 27, 2024

@minrk it was a fresh 14.04 server on rackspace. I hadn't done anything before I ran the ansible scripts. The only other thing I did was to change the ansible config file to run things as root (that is the user that rackspace uses).

from jupyterhub-deploy-teaching.

minrk avatar minrk commented on May 27, 2024

What exact flavor of VM, setup? Did you use let's encrypt? I ran with the changes in #28 and it completed in one go on 14.04 and 16.04. The changes I made don't seem like they would be relevant to the issues you had, though.

Can you share your vars file (privately)? Maybe some choices you made caused it to take a different path than mine.

from jupyterhub-deploy-teaching.

willingc avatar willingc commented on May 27, 2024

I'm wondering if this is perhaps a node installation issue with 14.04 and Rackspace.

https://nodejs.org/en/download/package-manager/

The nodejs-legacy package installs a node symlink that is needed by many modules to build and run correctly. The Node.js modules available in the distribution official repositories do not need it.

Rackspace doc: https://developer.rackspace.com/sdks/node-js/

from jupyterhub-deploy-teaching.

Related Issues (20)

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.