Nextcloud Access and Login
Nextcloud is a suite of client-server software for creating and using file hosting services. Nextcloud is functionally similar to Dropbox, Office 365 or Google Drive. The HPFC Facility is hosting Nextcloud, giving the opportunity to the users to store and share their files.
Access to Nextcloud can be requested through our ticketing system at hpc.support@cyi.ac.cy.
Our Nextcloud is accessible using the URL: https://drive.hpcf.cyi.ac.cy
Upon creation of your Nextcloud account, you will get notified about your username and password for accessing Nextcloud.
You can either use the Web interface to upload/view data or download the Nextcloud Desktop Synchronization Client to synchronize the data on your computer (recommended way).
The Nextcloud client, depending on the operating system you are using, can be downloaded from the below link:
https://nextcloud.com/install/#install-clients
Once the installation is completed, you will need to type the server name which is https://drive.hpcf.cyi.ac.cy and also give your username and password. Then, you will have to select which files you want to synchronize on your PC (so that you don't download on your PC all contents of the shared folder if you don't want to).
More instructions on how to use Nextcloud can be found in the below link:
https://docs.nextcloud.com/server/latest/user_manual/
Nextcloud with rclone¶
Setting up rclone¶
Users may also use the Rclone tool to copy their data from/to their nextcloud account with ease
To install and setup rclone for your computer follow the instructions below:
Install rclone using the command
sudo apt install rclone
Configure rclone to work with Nextcloud:
Start with the following command
rclone config
Then follow the steps below:
- Firstly you will be asked to input a name for the remote host. You can just type Nextcloud (but you may name it however you like)
- You will now be asked to input a type of storage to configure. Type webdav .
- Now you will be asked to input the URL of the host to connect to. Here type https://drive.hpcf.cyi.ac.cy/remote.php/webdav/.
- Next you should enter the name of the Webdav site/service/software you are using. Type nextcloud.
- After that you should input your Nextcloud account's username.
- Then to type your account's password you need to type y for the next question in order to manually type down your password.
- Type the password twice to confirm it.
- For the bearer token you are asked afterwards, you can just hit enter as it is optional and type n for the next question as well
- Finally review the information you typed and choose y if it is correct so that the new remote is added. You have now connected your Nextcloud account with rclone
Using rclone¶
Here are some important commands to use with rclone for your Nextcloud account:
Copying data from your Nextcloud account to your work station
rclone copy Nextcloud:Photos/ Test/
The above command will copy the Photos directory of the Nextcloud remote to the local Test directory. Keep in mind that if you named the remote differently in the first step of the configuration above you should replace Nextcloud with the name you have chosen in the command.
Copying data from your work station to your Nextcloud account
rclone copy Test/ Nextcloud:Photos/
Similarly if you want to copy data to your Nextcloud you first need to type the local directory and then the remote one as the command takes as input the source directory first and then the destination directory.
View content of remote directory
rclone ls Nextcloud:Photos/
Similarly to the linux ls command, the above will list the content of the specified remote directory.
For more usefull rclone commands you can check out the rclone official page: https://rclone.org/