No description
Find a file
2025-11-19 15:08:23 +01:00
.github publish-image.yml: Fix issue with artifact file name containing spaces 2025-11-16 20:04:14 +01:00
bin update-nc.sh: Disable app_api during nc update 2025-11-16 18:44:39 +01:00
build Fix armbian builds 2025-09-30 21:05:04 +02:00
etc Set supported NC version to 32.0.1 and reenable tasks app 2025-11-15 00:09:19 +01:00
i18n rename ACPU to APCu 2023-05-26 18:45:40 +02:00
ncp-activation nextcloud-domain: make sure redis is running before it starts 2021-09-20 09:59:32 -06:00
ncp-app Add support for NC 32 2025-11-15 00:09:19 +01:00
ncp-previewgenerator Add support for NC 32 2025-11-15 00:09:19 +01:00
ncp-web Replace 'NextCloudPi' with 'NextcloudPi' in localization and code comments 2024-08-06 14:34:30 +02:00
staged_rollouts staged_rollouts: Release v1.55.0-v1.55.2 to everyone 2024-11-06 17:08:07 +01:00
tests nextcloud_tests.py: Fix settings check 2025-11-15 03:08:28 +01:00
updates nc-nextcloud.sh, ncp-provisioning.sh: Implement nextcloud service workers 2025-11-15 03:38:49 +01:00
.dockerignore build: fully local builds 2018-09-21 23:48:00 -06:00
.gitignore Clear nextcloud logs after update 2024-03-27 13:40:14 +01:00
changelog.md changelog.md: Document v1.56.0 2025-11-19 15:08:23 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md (#1524) 2022-08-03 20:37:57 +02:00
FUNDING.yml Add FUNDING.yml 2024-08-11 13:53:47 +02:00
generate_cohortes.sh changelog.md: Document v1.55.0 2024-09-06 17:50:03 +02:00
install.sh dnsmasq.sh: Don't fix it if it ain't broken 2024-11-06 17:08:39 +01:00
lamp.sh nc-nextcloud.sh,install.sh,lamp.sh: Fix build process for debian 12 2024-05-01 15:46:57 +02:00
ncp.sh nc-encrypt.sh: Fix detection of running encryption 2024-09-07 02:51:44 +02:00
post-inst.sh Log redis output during installation 2025-09-14 09:58:58 +02:00
README.md Update README to reflect community-scripts changes (#2068) 2025-11-15 00:09:19 +01:00
run_update_history.sh Replace 'NextCloudPi' with 'NextcloudPi' in localization and code comments 2024-08-06 14:34:30 +02:00
tag_and_push.sh SSH: cannot check for default password because of Debian bug #1003151 2022-03-04 17:13:34 -07:00
update.sh Replace 'NextCloudPi' with 'NextcloudPi' in localization and code comments 2024-08-06 14:34:30 +02:00

English | Traditional Chinese 繁體中文 | Simplified Chinese 简体中文

(The translated README pages are not updated at this time)

NextcloudPi

Telegram icon Matrix icon Nextcloud icon

Forum icon

NextcloudPi logo

This is the build code for the NextcloudPi open-source community project.

NextcloudPi is a ready to use image for Virtual Machines, Raspberry Pi, Odroid HC1, Rock64 and other boards. (⇒ Downloads)

This code also generates the NextcloudPi LXD and LXC containers and there is an install script for the latest supported Debian based system as well.

Find the documentation at docs.nextcloudpi.com, the documentation is all written by volunteers.

Please reach out in the Matrix or Telegram Wiki group chats if you want to help out to keep them up-to-date and we'll add you to the Wiki Group on the forum.


Test Status

master

Release

devel

Release


Features

  • Raspberry Pi OS/Debian 12 (Bookworm)
  • Nextcloud
  • Apache, with HTTP2 enabled
  • PHP 8.1
  • MariaDB
  • Redis memory cache
  • ncp-config TUI for easy setup ( RAM logs, USB drive and more )
  • Automatic redirection to HTTPS
  • APCu PHP cache
  • PHP Zend OPcache enabled with file cache
  • HSTS
  • Cron jobs for Nextcloud
  • Sane configuration defaults
  • Full emoji support
  • Postfix email
  • Secure

Extras

  • Setup wizard
  • NextcloudPi Web Panel
  • Wi-Fi ready
  • Ram logs
  • Automatic security updates, activated by default.
  • Lets Encrypt for trusted HTTPS certificates.
  • Fail2Ban protection against brute force attacks.
  • UFW firewall
  • Dynamic DNS support for no-ip.org
  • Dynamic DNS support for freeDNS
  • Dynamic DNS support for duckDNS
  • Dynamic DNS support for spDYN
  • Dynamic DNS support for Namecheap
  • dnsmasq DNS server with DNS cache
  • ModSecurity Web Application Firewall
  • NFS ready to mount your files over LAN
  • SAMBA ready to share your files with Windows/Mac/Linux
  • USB automount
  • Remote updates
  • Automatic NCP updates
  • Automatic Nextcloud updates
  • Update notifications
  • Nextcloud backup and restore
  • Nextcloud online installation
  • Format USB drive to BTRFS
  • BTRFS snapshots
  • Automatic BTRFS snapshots
  • BTRFS snapshot auto sync
  • scheduled rsync
  • UPnP automatic port forwarding
  • Security audits with Lynis and Debsecan
  • ZRAM
  • SMART hard drive health monitoring

Extras can be activated and configured using the web interface at HTTPS port 4443

ncp-web

Or from the command line using

sudo ncp-config

NCP-config

Docker has been discontinued

Docker has been discontinued for the time being, please read the announcement here: https://help.nextcloud.com/t/nextcloudpi-planning-to-discontinue-its-docker-version-with-nc-25/158895

Run in LXD

# Imports the LXC image, replace the X's with version number
lxc image import "NextcloudPi_LXD_vX.XX.X.tar.gz" --alias "nextcloudpi"

# Launches a container from the image
lxc launch "nextcloudpi" ncp

# Starts the container you've launched from the imported image
lxc start ncp

Run in Proxmox

There are two ways to run NCP on Proxmox:

1. Using the official release image

In your Proxmox web interface, head to any storage pool that has CT Templates enabled, go to CT Templates, click "Download from URL" and enter the link to the latest LXC image from the Nextcloudpi releases page and press "Download".

Download from URL dialog

Optionally, you can copy the corresponding md5 sum from the releases page and paste it in the "Checksum" field to have Proxmox check that the downloaded image was not corrupted

2. Installer by community-scripts (formerly tteck)

Use the install script from community-scripts to install the LXC container on your Proxmox instance

community-scripts has multiple helper scripts available for Proxmox on their website, go have a look if you're using Proxmox. 👍

Installation: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nextcloudpi.sh)"

Default Settings: 2GB RAM - 8GB Storage - 2vCPU

(Check their website if this has changed and we haven't had the time to update it here yet, it's located under: Operating-Systems > NextcloudPi LXC)

Thank you to the community-scripts organisation ❤️ for making the helper script & letting us use this for Proxmox installations 🙏

You can find the GitHub repository with the helper scripts here: here.

How to build

Packages

  • apt-utils
  • apt-transport-https
  • build-essential
  • binfmt-support
  • binutils
  • bzip2
  • ca-certificates
  • chroot
  • cron
  • curl
  • dialog
  • lsb-release
  • jq
  • git
  • psmisc
  • procps
  • wget
  • whiptail
  • qemu
  • qemu-user-static

Raspberry Pi IMG

git clone https://github.com/nextcloud/nextcloudpi.git
cd nextcloudpi
./build/build-SD-rpi.sh

Armbian-based board

./build-SD-armbian.sh odroidxu4   # supported board code name

LXD

./build/build-LXD.sh

NextcloudPi can be installed in any architecture running the latest Debian

Note: this assumes a clean Debian install, and there is no rollback method

Curl install scripts

This is executed as root as indicated by the #

# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

If you're not root you can run it with sudo like so

curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash

Website

Downloads

Nextcloud Forum

Nextcloud Forum Support

(Use the Forum for Support questions please, there's a NCP tag available, it will bridge your post to the Matrix and Telegram chats)

Contact

You can find us on the Forum, Telegram or Matrix