EDV:Nextcloud: Difference between revisions

From KIP Wiki
⧼kip-jumptonavigation⧽⧼kip-jumptosearch⧽
No edit summary
No edit summary
Line 1: Line 1:
= [https://nextcloud.kip.uni-heidelberg.de Nextcloud Server] =
Nextcloud is the follower of Owncloud and offers the sharing of files on a webserver. The server address is:


Nextcloud is an open source file sync and share software, a fork / follower of ownCloud.
[https://nextcloud.kip.uni-heidelberg.de/nextcloud https://nextcloud.kip.uni-heidelberg.de]


The Nextcloud-Server is located in the KIP, so no data is shared and exposed to third parties by default.
To use it for sharing files you have to login with your KIP-account. For users from outside it is not possible to login but you can share files with them by sending them a special link that allows the download for everybody for a special time and - if necessary - secured by a password.


An online manual of Nextcloud can be found [https://docs.nextcloud.com/server/12/user_manual/contents.html here].
The server address is: '' https://nextcloud.kip.uni-heidelberg.de ''


<nowiki>https://nextcloud.kip.uni-heidelberg.de/nextcloud</nowiki>
= Accessing files & Synchronization =


You can also use the shortcut, or a combination of these URLs is possible.
== Using Nextcloud Clients ==


<nowiki>https://nxc.kip.uni-heidelberg.de/n</nowiki>
Use the desktop clients to keep your files synchronized between your Nextcloud server and your desktop. Select one or more directories on your local machine and always have access to your latest files wherever you are.
The desktop clients can be downloaded from the URL [https://nextcloud.com/install/ https://nextcloud.com/install/]


= [https://docs.nextcloud.com/server/13/user_manual/ File access & synchronization] =
== Using WebDAV ==


Please refer to the full '''[https://docs.nextcloud.com/server/13/user_manual/contents.html Nextcloud User Manual]''' for all dirty details.
You can mount your Nextcloud-directory by WebDAV, here is how.


In general there are three ways to exchange your data with the Nextcloud-Server.
=== Linux ===
Look for the link by clicking on "Settings" on the left bottom off the Web-Frontend. Then a WebDAV-link is shown and you can copy it to your explorer/terminal and replace https:// by davs://. Now you have to login to mount your nextcloud-folders.


* Web-Interface
On the terminal you can mount your WebDAV-folder after installing davfs2 and creating a directory with


* Nextcloud Clients
sudo mkdir /media/nextcloud


* WebDAV-Protocol
and mount it with


<nowiki>sudo mount -t davfs https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav /media/nextcloud</nowiki>


=== macOS ===


== [https://docs.nextcloud.com/server/13/user_manual/files/access_webgui.html Web Interface] ==
To mount the cloud to a Mac you have to open the "Go"/"Gehe zu" menu and select "Connect to a server"/"Mit Server verbinden".


This is maybe the easiest way to interact with the Nextcloud by using a web browser of your choice. No additional software and settings are required.
<nowiki>https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav</nowiki>


The URL of the login page is mentioned above in the server section.
and login with your account.


After login to the web interface you can create, preview, edit, delete, share, and re-share files, as well as doing many other things.
=== Windows ===


On Windows you can mount it on the command line with


<nowiki>net use Z: https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav</nowiki>
== [https://nextcloud.com/install/#install-clients Sync Clients] ==


The desktop clients can be downloaded here: [https://nextcloud.com/install/ https://nextcloud.com/install/]
After that you'll be asked for your username and password.


Use the desktop clients to keep your files synchronized between the Nextcloud-Server and other devices.
= some basics =


During or after the installation of the client, you can specify or create one or more directories on your computer that you want to synchronize
== Upload and download files ==


from or to the Nextcloud-Server, depending on if already existing on your local device or on the server.
To upload a file just select the directory you like to save it in and click the plus-symbol on the top. After that click on upload file and select the file from your local disk. To download a file/directory you have to click on the three dots in the same row as the name on the right side an choose "download".


This files and directories will be automatically synchronized in the background as long as the client is running.
While uploading a file which already exists (or another file with the same name) nextcloud offers you the possibility to safe the file with a different name. The same is offered by copy


== Create a folder ==


==[https://docs.nextcloud.com/server/12/user_manual/files/access_webdav.html Accessing Files Using WebDAV]==
If you like to create a directory/folder for some files - for example of a project - you just have to do almost the same as on a PC: You have to click on the plus symbol at the top and select "New Folder". Then you have to give the directory/folder a name by entering it to the textbox and confirm it by pressing enter.


== Create a text-file ==
=== Linux ===


Install davfs2 (if not already installed)
The cloud-system also allows you to create a text-file directly with the webpage. To do that click on the plus-symbol and select "New text file". After entering a file name for the new file a text box is shown in what you can type in a text and save it.


aptitude install davfs2
== Delete files or directories ==


create a mountpoint / directory somewhere in your filesystem e.g.
To do changes to files/directories you have to click on the three dots on the right side of the line and chose it. It's possible (similar as with the file-explorer on your local pc) to


sudo mkdir /mnt/nextcloud
* show some details

* rename it
* move it
and mount it

* download it
<nowiki>sudo mount -t davfs https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav /mnt/nextcloud</nowiki>
* delete it

=== MacOS ===

Open the ''Go / Gehe zu'' menu and select ''Connect to a server / Mit Server verbinden''

<nowiki>https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav</nowiki>

=== Windows ===

Mount it on the command line (cmd)

<nowiki>net use Z: https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav</nowiki>


= Sharing files and folders =
= Sharing files and folders =
Line 88: Line 94:


'''Note :'''
'''Note :'''
If you want to share a file or folder with a group, make sure you mention the email id of the group in full, eg, "s3@kip.uni-heidelberg.de" instead of selecting just "s3" alone from the list which doesn't work.
If you want to share a file or folder with a group, make sure you mention the email address of the group in full, eg, "f3@kip.uni-heidelberg.de" instead of selecting just "f3" alone from the list, otherwise the notification email will not be send.


== Group folders ==
== Group folders ==
Line 94: Line 100:
This enables to have a folder shared between one or more groups. Unlike with normal shares,they will not be able to unshare these folders.
This enables to have a folder shared between one or more groups. Unlike with normal shares,they will not be able to unshare these folders.
Only EDV has the privileges to create a group folder and assign it to one or more groups, users can not create the group folders on their own.
Only EDV has the privileges to create a group folder and assign it to one or more groups, users can not create the group folders on their own.
After a folder is created, EDV can give access to the folder to one or more groups, control their write/sharing permissions and assign a quota for the folder.
After a folder is created, EDV can give access to the folder to one or more groups.

Available permission settings:

* write -> read and write permissions for all

* share -> group members can share the content with others

Revision as of 14:46, 20 February 2018

Nextcloud Server

Nextcloud is an open source file sync and share software, a fork / follower of ownCloud.

The Nextcloud-Server is located in the KIP, so no data is shared and exposed to third parties by default.

The server address is: https://nextcloud.kip.uni-heidelberg.de

https://nextcloud.kip.uni-heidelberg.de/nextcloud

You can also use the shortcut, or a combination of these URLs is possible.

https://nxc.kip.uni-heidelberg.de/n

File access & synchronization

Please refer to the full Nextcloud User Manual for all dirty details.

In general there are three ways to exchange your data with the Nextcloud-Server.

  • Web-Interface
  • Nextcloud Clients
  • WebDAV-Protocol


Web Interface

This is maybe the easiest way to interact with the Nextcloud by using a web browser of your choice. No additional software and settings are required.

The URL of the login page is mentioned above in the server section.

After login to the web interface you can create, preview, edit, delete, share, and re-share files, as well as doing many other things.


Sync Clients

The desktop clients can be downloaded here: https://nextcloud.com/install/

Use the desktop clients to keep your files synchronized between the Nextcloud-Server and other devices.

During or after the installation of the client, you can specify or create one or more directories on your computer that you want to synchronize

from or to the Nextcloud-Server, depending on if already existing on your local device or on the server.

This files and directories will be automatically synchronized in the background as long as the client is running.


Accessing Files Using WebDAV

Linux

Install davfs2 (if not already installed)

aptitude install davfs2

create a mountpoint / directory somewhere in your filesystem e.g.

sudo mkdir /mnt/nextcloud

and mount it

sudo mount -t davfs https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav /mnt/nextcloud

MacOS

Open the Go / Gehe zu menu and select Connect to a server / Mit Server verbinden

https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav

Windows

Mount it on the command line (cmd)

net use Z: https://nextcloud.kip.uni-heidelberg.de/nextcloud/remote.php/webdav

Sharing files and folders

To share files or folders, click the share overlay icon on any file or folder opens the Details view on the right, where the Share tab has focus.

Here type the name of the user or email id that you want to share with or an external mail address. After selecting the user you have the options below & you can check them as you want

  • "can edit" allows the user to change the file
  • "can reshare" allows the user to share the shared file with other users
  • "set expiration date" sets up the till what date the sharing will last
  • if the sharing still is enabled - you can disable the sharing with "unshare"

Any folder that has been shared is marked with the Shared overlay icon. Public link shares are marked with a chain link. Un-shared folders are blank.

By selecting "Share link" on the bottom, a link is created with which the file can be downloaded by everybody who knows the link. You can prevent this by setting a password, and for the link you can also set expiration date.

Note : If you want to share a file or folder with a group, make sure you mention the email address of the group in full, eg, "f3@kip.uni-heidelberg.de" instead of selecting just "f3" alone from the list, otherwise the notification email will not be send.

Group folders

This enables to have a folder shared between one or more groups. Unlike with normal shares,they will not be able to unshare these folders. Only EDV has the privileges to create a group folder and assign it to one or more groups, users can not create the group folders on their own. After a folder is created, EDV can give access to the folder to one or more groups.

Available permission settings:

  • write -> read and write permissions for all
  • share -> group members can share the content with others