Nextcloud — Self-Hosted Cloud Platform for Files, Calendar & More
Nextcloud is the leading open-source cloud platform for file sync, sharing, calendar, contacts, email, video calls, and office collaboration — a Google Workspace alternative.
What it is
Nextcloud is a self-hosted, open-source cloud platform that provides file synchronization, calendar, contacts, email, video conferencing, and document collaboration. It serves as a privacy-focused alternative to Google Workspace, Dropbox, and Microsoft 365, running on hardware you own or rent.
It is designed for individuals, teams, and organizations that want full control over their data without relying on third-party cloud services.
How it saves time or tokens
Nextcloud consolidates multiple SaaS subscriptions into one self-hosted platform. File sync replaces Dropbox, the calendar replaces Google Calendar, Nextcloud Office replaces Google Docs, and Nextcloud Talk replaces Zoom for small meetings. The app ecosystem provides extensions for project management, notes, bookmarks, and more -- all under one login and one admin console. This reduces vendor management overhead and eliminates per-user SaaS costs.
How to use
- Deploy Nextcloud with Docker.
docker run -d --name nextcloud \
-p 8080:80 \
-v nextcloud_data:/var/www/html \
nextcloud:latest
- Open
http://localhost:8080and create an admin account.
- Install desktop and mobile sync clients from nextcloud.com/install to sync files across devices.
Example
Using the Nextcloud OCC CLI for administration:
# List all users
docker exec -u www-data nextcloud php occ user:list
# Add a new user
docker exec -u www-data nextcloud php occ user:add --display-name='Alice' alice
# Scan for new files added outside of Nextcloud
docker exec -u www-data nextcloud php occ files:scan --all
Related on TokRepo
- Self-hosted tools -- Discover more self-hosted alternatives to cloud services.
- Documentation tools -- Knowledge management and document collaboration tools.
Common pitfalls
- The default SQLite database is fine for personal use but becomes a bottleneck with multiple users. Switch to PostgreSQL or MySQL for team deployments.
- Large file uploads fail without proper PHP and web server configuration. Set
upload_max_filesizeandpost_max_sizein php.ini, and increase proxy timeouts in Nginx. - Automatic updates can break apps. Test updates on a staging instance before applying to production, and maintain database backups.
Frequently Asked Questions
The Nextcloud server software is free and open source under AGPLv3. Nextcloud GmbH offers paid enterprise support subscriptions with SLAs, compliance features, and dedicated support. The core functionality is identical.
For many use cases, yes. Nextcloud provides file storage, calendar, contacts, email integration, video calls (Nextcloud Talk), and document editing (Nextcloud Office with Collabora or OnlyOffice). The trade-off is that you manage the infrastructure yourself.
A Raspberry Pi 4 with an external USB drive works for personal use. For teams of 10-50 users, a VPS with 4 CPU cores, 8 GB RAM, and SSD storage is recommended. Larger deployments benefit from dedicated servers with PostgreSQL and Redis.
Yes. Nextcloud offers client-side end-to-end encryption for selected folders. When enabled, files are encrypted on the client before upload and can only be decrypted by authorized devices. The server never sees plaintext.
Back up three things: the data directory (files), the database (pg_dump or mysqldump), and the config directory. Schedule automated backups and test restore procedures regularly. The Nextcloud documentation provides detailed backup guides.
Citations (3)
- Nextcloud GitHub— Self-hosted cloud platform with file sync, calendar, and collaboration
- Nextcloud Official Site— Open source under AGPLv3 license
- Nextcloud E2E Docs— Client-side end-to-end encryption support
Related on TokRepo
Source & Thanks
- GitHub: nextcloud/server — 34.6K+ ⭐ | AGPL-3.0
- Website: nextcloud.com
Discussion
Related Assets
Flower — Federated Learning Framework for Any ML Platform
A unified framework for federated learning and federated analytics that works with PyTorch, TensorFlow, JAX, or any machine learning library.
H2O-3 — Scalable Open-Source Machine Learning Platform
An in-memory distributed machine learning platform with AutoML support, offering gradient boosting, deep learning, GLM, and more through Python, R, and Java APIs.
Open3D — Modern Library for 3D Data Processing
An open-source library for 3D data processing with fast implementations for point clouds, meshes, RGB-D images, and 3D visualization using both C++ and Python APIs.