Deletion of Notebook on S3 mounted directory not working

I am using Jupyterlab together with s3fs. I am mounting an AWS S3 bucket into a local directory and creating and saving (in Jupyterlab) a notebook into that directory (the one mounted from the S3 bucket).

All works well, except that when I try to delete the notebook (from the Jupyterlab UI) I get an error message (“Failed”).

Any ideas about why this would happen and how should I try to debug it? Can anyone point to a function in Jupyterlab that executes the notebook deletion so I might try to put a checkpoint on it in the browser debugger?

1 Like

Check your jupyter-lab server logs, as it’s probably an error in the backend in the ContentsManager API:
https://jupyter-server.readthedocs.io/en/latest/developers/contents.html

s3fs isn’t a POSIX filesystem, this causes problems with many applications. You might have more success with