Working with your local file system / network drive under tljh

Working with tljh on google cloud. Everything works very well. The only thing I was not able to get working is the access to my local hard drive or network drives. I am not sure if it is even meant to work. I need this functionaility as users of my juypterhub also all have access to the same network drives and open certain files with the jupyuter notebook to further analyse. I have tried with Windows and Mac OS and got same error. Below is the mac os code. Following short code to test:
from os import listdir

error message:
FileNotFoundError: [Errno 2] No such file or directory: ‘/Users/’

list of folders/files in the user folder

  • OS: Mac OS (I also tried with windows and got the same error)

  • Version: Catalina 10.15.5

  • Configuration: jupyterhub with tljh, google cloud, https enabled

Many thanks for your help


If TLJH is running on Google Cloud it’s impossible for it to directly access files on your local computer or network as they’re two completely separate machines/networks. You should be able to upload local files through your browser though.

@tomnewg did you figure out how to make this work?