Using homeMountPath with Persistent Storage Wipes Home Directory Contents

Good day all,

I’m using a custom image for jupyterhub singleuser, and I populate the home directory with a collection of notebooks.

In order to back up the users changes to the notebooks, I also set the value of “singleuser.storage.homeMountPath” to the home directory of the user (as set in the image).

Unfortunately, this causes the contents of the home directory to be wiped and replaced with an empty “lost+found” directory.

Edit: I found that “nbgitpuller” is often used for such issues. The notebooks we’d like to distribute are hosted in a private Gitlab repository. Is it possible to provide “nbgitpuller” with a username and a token that it can use to pull the required data?

Thank you!

1 Like