User Tools

Site Tools


Installing Nextcloud on Turris

Currently it works only on Turris Omnia

What is Nextcloud?

Nextcloud is an application that provides nice web frontend to enable you to store data on your own server. This data can be files, calendar, contacts, news feed, to-do lists and much more. Files and PIM data is accessible using standard protocols such as webdav or carddav and caldav. This will make it easy to setup your computers or phones to synchronize with your own server so that don't have to trust an external cloud provider with your personal data.

Why should you use Nextcloud?

  • Safe handling of all data types.
  • An open source solution, which you have fully under your own control.
  • Synchronization and sharing of data made easy.
  • Mobile desktop and web client.
  • Monitors changes and allows document workflow management.
  • A space for your calendar and contacts.
  • Safe private voice and video calls, shared screens.
  • Editing documents using an online office interface.
  • Generous support, integration and third-party extensions

Requirements

Please put some caution into selecting the memory you decide to use for your cloud. It doesn't make much sense to use Nextcloud with just the small flash memory already included in your router. In fact, excessive writing to this memory will lead to it getting worn out and damaged soon. To get the most out of Nextcloud, it’s best to get an external hard drive or mSATA disk if you have Turris Omnia. Another alternative is to use the NAS box from our Indiegogo campaign.

To setup this external drive easily, use Storage plugin.

How to set up Nextcloud

Nextcloud is already included in our repositories, so you can get it simply by installing the package nextcloud-install by issuing the following commands:

echo 'Install("nextcloud-install")' >> /etc/updater/conf.d/auto.lua
updater.sh

This will install all the required dependencies, the Nextcloud itself and a simple script to help you with the basic setup. Alternatively, you can install only the package nextcloud and set up everything by yourself. If you decide to use the setup-script for simplicity, just call the following command after installation is complete:

nextcloud_install

This script will create the Nextcloud database and add a user on the MariaDB server running on your router, enable it and enable php support in Lighttpd as well. It will also create an admin account on your new Nextcloud server. After it is finished, you should be able to access your Nextcloud instance by using an URL like http://your_router_lan_ip/nextcloud.”

Using Nextcloud

Now you can enable access to your Nextcloud from anywhere on the Internet. You can either use VPN, which can be set up really easily from our web interface Foris or you need to open up some ports in your firewall (static IP recommended). Second option would allow anybody – including attackers - to try to log in to your Nextcloud instance and if you don't change the Lighttpd configuration then even to LuCI and Foris. So, please don’t do that unless you are sure what you are doing.

Also bear in mind that if you are using Nextcloud from our repositories, you shouldn't update the Nextcloud core manually as that would get overwritten by next update. So update just your extra apps and leave the core to us.

Hooray and congratulations, you have set up your Nextcloud! Now go and have fun using it.