jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.04k stars 341 forks source link

JupyterHub not launching with AWS #654

Closed melaniewalsh closed 3 years ago

melaniewalsh commented 3 years ago

Bug description

I'm trying to get The Littlest JupyterHub set up through Amazon Web Services by following this tutorial, but it looks like it's getting stuck at "Downloading & setting up user environment..." and never making it to the "Setting up JupyterHub..." step. I was just wondering if anyone has a recommendation about how to troubleshoot from here.

Expected behaviour

image

Actual behaviour

Screen Shot 2021-01-31 at 11 38 40 AM

Your personal set up

the-littlest-jupyterhub - OS: Ubuntu 20.04
[   33.288478] cloud-init[1653]: Checking if TLJH is already installed...
[   33.295284] cloud-init[1653]: Setting up hub environment
         Starting PackageKit Daemon...
[  OK  ] Started PackageKit Daemon.
[   86.110310] cloud-init[1653]: Installed python & virtual environment
[   88.139039] cloud-init[1653]: Set up hub virtual environment
[   88.149384] cloud-init[1653]: Setting up TLJH installer...
[   89.429746] cloud-init[1653]: Upgraded pip
[  124.997725] cloud-init[1653]: Setup tljh package
[  125.010852] cloud-init[1653]: Starting TLJH installer...
[  125.319237] cloud-init[1653]: Setting up admin users
[  125.388050] cloud-init[1653]: Granting passwordless sudo to JupyterHub admins...
[  125.396497] cloud-init[1653]: Setting up user environment...
[  125.403992] cloud-init[1653]: Downloading & setting up user environment...

welcome[bot] commented 3 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

jramadani commented 3 years ago

I got stuck at the same point in the log! I rebooted the instance and when I checked the system log on reboot, apparently the instance ran out of memory and didn't bother letting me know. My best guess is that something about the install package's RAM consumption changed since the tutorial was written--that, or the t2.micro tier's available RAM changed. Screen Shot 2021-02-21 at 12 08 34 AM

consideRatio commented 3 years ago

This issue should have been addressed now by fixing memory issues in various ways. #697 was one of the ways and I think I've linked to that issue from the other memory related issues, so search its mentions to track those down if you want to dig in deeper.