# Binder launch fails with OSError: \[Errno 28\] No space left on device:

**URL:** <https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530>\
**Category:** Binder\
**Created:** [June 9, 2022, 9:32am UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530 "2022-06-09T09:32:34Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![katilp](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/katilp/32/7338_2.png) [@katilp](https://discourse.jupyter.org/u/katilp)\
**Post date:** [June 9, 2022, 9:32am UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/1 "2022-06-09T09:32:34Z")

</div>

Hi; we are seeing a binder error when launching notebooks:

OSError: [Errno 28] No space left on device: ‘/tmp/pip-ephem-wheel-cache-dp8minvs’

Is this something on our side, or is there something we can do to solve the problem?

Is this the same as seen before in ["No space left on device" error](https://discourse.jupyter.org/t/no-space-left-on-device-error/14457)

Thanks a lot!

Best, Kati

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 9, 2022, 3:03pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/2 "2022-06-09T15:03:09Z")

</div>

It most likely is the same. And it doesn’t mean anything more than try again later. However, you need to share your repo information for others to test & report their experiences.

---

<div class="post-metadata">

**Author:** ![katilp](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/katilp/32/7338_2.png) [@katilp](https://discourse.jupyter.org/u/katilp)\
**Post date:** [June 10, 2022, 6:52am UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/3 "2022-06-10T06:52:05Z")

</div>

Thanks, indeed, that was the case.

Best, Kati

---

<div class="post-metadata">

**Author:** ![ineiti](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/ineiti/32/7341_2.png) [@ineiti](https://discourse.jupyter.org/u/ineiti)\
**Post date:** [June 10, 2022, 9:45am UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/4 "2022-06-10T09:45:00Z")

</div>

Hi there,

I have the same problem with my repo here:

> **[GitHub: c4dt/cours\_gyminf\_sec\_2204/main](https://mybinder.org/v2/gh/c4dt/cours_gyminf_sec_2204/main)**
>
> Click to run this interactive environment. From the Binder Project: Reproducible, sharable, interactive computing environments.

Is there anything I can do besides waiting?

Best,

Linus

---

<div class="post-metadata">

**Author:** ![renefritze](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/renefritze/32/7342_2.png) [@renefritze](https://discourse.jupyter.org/u/renefritze)\
**Post date:** [June 10, 2022, 10:29am UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/5 "2022-06-10T10:29:29Z")

</div>

I get the same error with this repo:

> **[GitHub: renefritze/NCD-corrected-TR-RB-approach-for-pde-opt/HEAD](https://mybinder.org/v2/gh/renefritze/NCD-corrected-TR-RB-approach-for-pde-opt/HEAD)**
>
> Click to run this interactive environment. From the Binder Project: Reproducible, sharable, interactive computing environments.

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 10, 2022, 2:02pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/6 "2022-06-10T14:02:16Z")

</div>

> [@ineiti](#):
>
> Is there anything I can do besides waiting?

Yes, you can use the pattern of the links I offer to others to specify specific locations in the federation to avoid the apparent bad situation. In the case of the OP in this thread, the repo was not shared, and so there were limited alternatives to test and offer.  
Yours builds and launches well [here](https://gesis.mybinder.org/v2/gh/c4dt/cours_gyminf_sec_2204/main).

---

<div class="post-metadata">

**Author:** ![qchenevier](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/qchenevier/32/7345_2.png) [@qchenevier](https://discourse.jupyter.org/u/qchenevier)\
**Post date:** [June 10, 2022, 2:02pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/7 "2022-06-10T14:02:43Z")

</div>

I get the same error with this repo: [Binder](https://mybinder.org/v2/gh/qchenevier/cemantix_solver/HEAD?labpath=cemantix_solver_neighborhood.ipynb)

It depends on the hub though:

- turing: fails
- ovh: fails
- gke: fails
- gesis: OK

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 10, 2022, 2:03pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/8 "2022-06-10T14:03:49Z")

</div>

Try [here](https://gesis.mybinder.org/v2/gh/renefritze/NCD-corrected-TR-RB-approach-for-pde-opt/HEAD) @renefritze . And then when your session starts and says `404 : Not Found You are requesting a page that does not exist!`, change the end of the URL from `/lab` to `/tree` and then hit enter in your address bar. That should take you to the classic Jupyter notebook dashboard.

You have an overly complex `requirements.txt` for ease in use with MyBinder. I recall from dealing with other’s repos where they just dump the entire freeze list, that it can conflict with proper JupyterLab installation as the MyBinder underlying settings get updated. You apparently have such a conflict and so that is why when it launches and tries to go by default to the link ending in `/lab`, it fails. (Actually [here](https://discourse.jupyter.org/t/failed-to-connect-to-event-stream/527/24) it was `nbinteract`, which you don’t have. And so I’d need to play around with eliminating different ones to actually tell which one or ones in your case. I don’t wish to do this now.)  
If there is a specific reason for documenting all the versions in a file named `requirements.txt`, then you should use a sub-directory called `binder` and place a separate `requirements.txt` there. (MyBinder will preferentially use configuration files in a subdirectory called `binder` or `.binder`.) In the `requirements.txt` list there in the `binder` directory, only list the few special packages that MyBinder doesn’t come with by default that your code needs to run without error. **And don’t pin any of those, unless you find you must.** For example, it looks like you have scipy listed and that would be one to include in the streamlined `requirements.txt`. Most of your current list, you wouldn’t want there, such underlying things like `terminado`,`nbconvert`, `nbformat`, and `tornado` that MyBinder handles for you.  
**Not pinning and only listing the special packages you need in the `requirements.txt`, will help keep your repo cooperating with the MyBinder machinery longer and because you usually get the current versions of packages developed in step with other packages you use, it actually ends up making your code work longer.**

Alternatively, I’ve [seen others suggest](https://github.com/kkroening/ffmpeg-python/issues/147#issue-388764410) you rename your current `requirements.txt` to something like `requirements-dev`. And then make the new one MyBInder will use as `requirements.txt` in the root.

---

<div class="post-metadata">

**Author:** ![ineiti](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/ineiti/32/7341_2.png) [@ineiti](https://discourse.jupyter.org/u/ineiti)\
**Post date:** [June 10, 2022, 3:08pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/9 "2022-06-10T15:08:43Z")

</div>

Great - I did not understand that we can point directly to one of the servers. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 10, 2022, 3:27pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/10 "2022-06-10T15:27:29Z")

</div>

Ideally, it doesn’t happen as it interferes with the traffic management system in the federation. And so that is why it is only offered as a **temporary** workaround.

---

<div class="post-metadata">

**Author:** ![renefritze](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/renefritze/32/7342_2.png) [@renefritze](https://discourse.jupyter.org/u/renefritze)\
**Post date:** [June 10, 2022, 3:33pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/11 "2022-06-10T15:33:39Z")

</div>

Workaround helps, thanks!

---

<div class="post-metadata">

**Author:** ![khider](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/khider/32/6777_2.png) [@khider](https://discourse.jupyter.org/u/khider)\
**Post date:** [June 10, 2022, 4:24pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/12 "2022-06-10T16:24:46Z")

</div>

Same problem here: [GitHub - khider/ODP846-SpectralAnalysis: This repository contains a Notebook for spectral analysis of the ODP846 record](https://github.com/khider/ODP846-SpectralAnalysis)

How do I point to a different server?

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [June 10, 2022, 4:32pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/13 "2022-06-10T16:32:39Z")

</div>

[This URL](https://gesis.mybinder.org/v2/gh/khider/ODP846-SpectralAnalysis/HEAD) compared to what you are using now should guide you. I verified it builds and launches from there.  
Let me know if you prefer / need the classic notebook instead.

---

<div class="post-metadata">

**Author:** ![khider](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/khider/32/6777_2.png) [@khider](https://discourse.jupyter.org/u/khider)\
**Post date:** [June 10, 2022, 5:06pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/14 "2022-06-10T17:06:22Z")

</div>

Thank you! That was very helpful!

---

<div class="post-metadata">

**Author:** ![archie](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@archie](https://discourse.jupyter.org/u/archie)\
**Post date:** [June 11, 2022, 12:18pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/15 "2022-06-11T12:18:39Z")

</div>

Same problem here: [https://github.com/archie1602/polyfactor-public](https://github.com/archie1602/polyfactor-public)

---

<div class="post-metadata">

**Author:** ![orome](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/orome/32/4914_2.png) [@orome](https://discourse.jupyter.org/u/orome)\
**Post date:** [June 11, 2022, 2:06pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/16 "2022-06-11T14:06:23Z")

</div>

@fomightez I’m seeing this error with all my notebooks posted on Turing.

[Is there way to generate links and badges to go to one of the functioning hubs](https://discourse.jupyter.org/t/can-i-choose-a-specific-at-least-not-turing-hub-for-my-binder-links/14563) (not `mybinder.org`)?

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [June 15, 2022, 1:28pm UTC](https://discourse.jupyter.org/t/binder-launch-fails-with-oserror-errno-28-no-space-left-on-device/14530/17 "2022-06-15T13:28:41Z")

</div>

Sorry for the disruption. A new feature intended to improve the reclamation of disk space was deployed to [mybinder.org](http://mybinder.org), but it didn’t clear up as much space as it should have! This is [hopefully fixed now](https://github.com/jupyterhub/docker-image-cleaner/pull/51), but if you’re still having disk space problems please post a link to your repo and the backend [mybinder.org](http://mybinder.org) server if known.
