Build your own open source alternative to Google Suite with Nextcloud

The open source cloud collaboration suite has made major gains in recent years. Take a look at what you've missed.
178 readers like this.
Digital images of a computer desktop

Opensource.com

A few years ago, I installed Nextcloud for a local theatre and museum that was looking for an on-premises cloud solution. As an advocate for open source, I always seek out open source options first, and Nextcloud was the most-common open source cloud solution among my peers. I've also used it for some personal projects, but I hadn't looked at it in a while.

I recently revisited Nextcloud and was amazed by all the changes I saw. The project has evolved into a complete solution that can replace big-name solutions like Google Drive and Microsoft 365. Nextcloud's new feature set, especially Nextcloud Hub, is outstanding, offering collaborative documentation editing, file version control, integrated chat and video calling, and more.

Getting started with Nextcloud

There are many options for setting up a Nextcloud server on Linux, but I decided to run the official container image. I pulled it down to my laptop, and soon I was up and running.

$ docker pull nextcloud
$ docker run -d -p 8080:80 nextcloud

Installation was quick on my MacBook Pro with 8GB RAM. In no time at all, I was logging into Nextcloud for the first time at http://locahost:8080 with the default credentials of admin and password.

After I entered my login credentials, it began downloading some applications, which took some time. I appreciated that Nextcloud's interface looked much the same as it did years ago, even with all the changes in the platform, because I like to feel familiar with a technology.

Nextcloud's controls are located in the upper-right corner. You can control settings, add apps, create and modify users, learn about Nextcloud, get help, and log out.

Nextcloud Hub is a central collaboration platform where you can access and collaborate on files, launch, enable, and disable applications, manage your calendar, and more.

I decided to start by exploring the apps available in Nextcloud. Some app integrations are included by default, and you can download others with a single click. For example, here is the display when I clicked the top-right icon, then selected Apps and Multimedia.

There are hundreds of apps that can be downloaded and added to Nextcloud, and, like Nextcloud, all are licensed under the AGPLv3. Clicking on an app shows information about it, including its creator and license. I decided to look at Audio Player.

Nextcloud also comes with the Nextcloud Talk app for videoconferencing with complete end-to-end encryption to keep communication within your control. As of Nextcloud Hub 19, you can work on documents synchronously during video calls with Collabora Online, which will feel familiar to Google Docs users.

Nextcloud also has a number of important security features, including optional automatic logout, which is useful when using public computers. You can also set up passwordless authentication, automatic account locking after failed login attempts, and two-factor authentication (2FA) through mobile, email, or one-time password devices to verify users' identity before they can log in.

Nextcloud's advances

Eager to learn more about Nextcloud and its new directions, I reached out to CEO Frank Karlitschek to ask him some questions by email.

During this time of social distancing, I was curious about how the growth of remote work is fueling Nextcloud's development. Frank says the fact that the world is working from home is accelerating the adoption of content collaboration software, and Nextcloud is "in the lucky situation that we heavily invested in this fast-growing product category." He specifically cites Nextcloud's abilities to sync, share, and collaboratively view and edit files, as well as its shared calendars, contacts, email, chats, video calls, project management, notes, and many more things as features that help people work together.

Frank adds, "Nextcloud Talk is our solution for chat and audio and video calls. It has the same benefits as the rest of Nextcloud. All data and communication stay under your control. It is fully open source; you can migrate your data and don't need to trust a third-party company."

Open source is a key part of Nextcloud's model, Frank says. "Everything server-side is licensed AGPL, and the desktop and mobile clients are licensed GPL. We are happy to not have any proprietary pieces. Everything at Nextcloud is fully free software and open source."

When I asked him why someone should choose Nextcloud over a proprietary cloud solution, Frank emphasizes the freedom to run where you want with 100% open source software. "Being open source has many benefits for users. It means you can keep your data under your own control. You can run Nextcloud wherever you want. Vendor lock-in is eliminated, so you can move your data around to where you need it. The open source code in Nextcloud ensures that there are no backdoors because the code can be audited. The open source angle has also empowered developers to extend Nextcloud with hundreds of apps, extensions, and plugins."

I was also curious about Nextcloud's security, including its support for Nitrokey, a feature for passwordless authentication. Frank says, "Nextcloud supports authentication from many different protocols, including LDAP, Active Directory, SAML, OAuth, OpenID connect, WebAuthn, and many more. You can use second-factor authentication methods, including Time-based One-time Password (TOTP), SMS, push notification, SecSign, and email. With the new support for WebAuthn, we also support the new passwordless authentication. Nitrokey already supports this, so you can just authenticate with a Nitrokey without a password. We expect that a lot more devices and software will support this new open standard in the future."

As I thought about all the changes in Nextcloud, I wondered about its install base. Being open source makes it impossible to know how many Nextcloud installations there are in the world. One of its container images has over 100 million downloads, and it has a strong following in its source repository on GitHub. Nextcloud estimates there are over 400,000 Nextcloud servers on the internet, and that number is growing.

Nextcloud doesn't provide hosting options itself, but it does list service providers that offer hosted Nextcloud. There are also many options for self-hosting Nextcloud, Frank says. "A Nextcloud server can be very small or very big. Actually, Nextcloud runs fine on a Raspberry Pi for just a few users. This includes chatting and video calling. The Nextcloud server needs a decent network connection if you handle big files or video calls with a lot of users."

Open source to its core

Frank was eager to thank the open source community that comes together and builds great software. He said, "open source is all about the community; no single person or company could do this alone." Therefore, Nextcloud welcomes contributions to its development. Nextcloud's code is available on GitHub. To keep up with the latest information, you can follow Nextcloud on Twitter, Instagram, Facebook, LinkedIn, Mastodon, and YouTube.

What to read next
User profile image.
Educator, entrepreneur, open source advocate, life long learner, Python teacher. M.A. in Educational Psychology, M.S. Ed. in Educational Leadership, Linux system administrator.

13 Comments

Good stuff, Don. I've been using Nextcloud as my personal hub for a while now and I've had no complaints.

Thanks Scott! I've been listening to the 'self-hosted' podcast on Jupiter Broadcasting and they had talked to Nextcloud favorably and then I saw that this was the fourth anniversary of the project and reached out to Frank who was glad for the publicity. I've been experimenting and learning more about Docker and containers too. It just all flowed together.

In reply to by ScottNesbitt

Don, could you please forward that Jupiter episode mentioning Nextcloud? Thank you in advance for your time

In reply to by Don Watkins

I'm a huge fan of Nextcloud. Digitally, it's been my home away from home since 2012 or so. It's an amazing project.
-

NextCloud (NC) looks quite useful, but I wonder about the security of it for remote access. Do you do anything special like VPN only access, or do you just use reverse proxy? Some setup NC in a VPS, or NC hosting provider. Do you have any security tips Seth?

In reply to by sethkenlon

>>> Nextcloud also has a number of important security features, including >>> optional automatic logout, which is useful when using public computers.

No, it does not. It says it does but it does not have it...

Sure it does.

Let me copy from config.php.sample:
'session_keepalive' => true,

/**
* Enable or disable the automatic logout after session_lifetime, even if session
* keepalive is enabled. This will make sure that an inactive browser will be logged out
* even if requests to the server might extend the session lifetime.
*
* Defaults to ``false``
*/
'auto_logout' => false,

This is available since Nextcloud hub 19. If you use public computers a lot, this is useful. For most other users it is probably a nuisance and the use of the remote wipe feature is an easier and more useful solution.

In reply to by diogen (not verified)

I'm lazy, so I'm paying to remotely host Nextcloud with Owncube, but haven't had any issues in several years of doing it that way,

Nice . Thanks for this description

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.