What does it mean having OwnCloud mount in EOSC Interactive Notebooks and how does it work ?

The EOSC Notebooks service automatically mounts your OwnCloud drive directly into the running Jupyter server, allowing you to access your files.

It uses a tool called rclone to sync your Jupyter instance and OwnCloud drive.

Your Notebooks home directory /home/jovyan is mounted into the OwnCloud notebooks_service directory in your personal files. All files and subfolders

in notebooks_service should be visible in your Notebooks home dir and vice versa. 

The Shares folder (/home/jovyan/Shares)  includes all files that are shared to you by other users via Owncloud  (from Personal/Project spaces or external shares). 

You will be able to read any files with read permission for and modify files only if  you were granted write permissions (e.g., Editor/Contributor).

File or directory creation is not supported in the Shares  folder. 

How are changes synced between OwnCloud and Jupyter instance ?

All changes made in the Jupyter home directory are directly propagated into the OwnCloud mount and can be observed almost instantly.

Attention!!

Changes made directly in the OwnCloud interface in your notebooks_service directory are not propagated right away into your running Jupyter instance.

You must check if your changes in the OwnCloud interface are already present in your Jupyter home directory.

If you change the same file(s)/directory(s) in your Jupyter instance and OwnCloud interface simultaneously,

It can be hard to tell what that file(s)/directory(s) is going to look like after all changes. It will depend on which change is going to arrive last.

What if my OwnCloud drive is not mounted into my Jupyter instance ? 

It is possible your OwnCloud, in exceptional cases, won't be mounted into your Notebook instance.

You can easily verify your OwnCloud instance was mounted via opening a terminal in JupyterLab and using some well-known

commands for checking mountpoints like findmnt.

When you check your Jupyter instance home directory /home/jovyan and you see attributes like webdav-fs and fuse.rclone,

 you know your instance is mounted.

I can’t create a folder in Shares. Is this a bug?

No. Shares is a virtual view of items shared with you. You cannot create content at the Shares root.

  • To create new content: use your Personal or Project space, then share it.

  • To modify a shared file: this works only if you have Editor/Contributor permissions on that file. Otherwise you’ll see a permission error.

I can create files inside the Shares folder but i don't see them in Owncloud GUI. Is this a bug?

No. The Shares folder is only a virtual view of the shared files, although the mount allows to create files those will not be uploaded to Owncloud


Known issues

  • Syncing large files can considerably slow down Jupyter instance. Be aware of that when manipulating with large files. 
  • No labels