Skip to content
📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer...
Shell PHP JavaScript CSS Python Dockerfile Other
Branch: master
Clone or download

Latest commit

nachoparker upgrade to NC18.0.4
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Latest commit ed3619f Apr 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE fix wrong dash in `sudo ncp-report` Jul 21, 2019
bin nc-backup-auto: fix notify_admin Apr 6, 2020
docker docker: fixing file permission for redis config (#1021) Oct 31, 2019
etc upgrade to NC18.0.4 Apr 24, 2020
ncp-app upgrade to NC18.0.1 Mar 1, 2020
ncp-previewgenerator upgrade to NC18.0.1 Mar 1, 2020
ncp-web ncp-web: cache backup info Apr 18, 2020
tests test: add some checks Jan 15, 2019
updates nc-backup-auto: fix notify_admin Apr 6, 2020
.dockerignore build: fully local builds Sep 22, 2018
.gitignore armbian: fix distro build Dec 21, 2019
CONTRIBUTING.md update links in CONTRIBUTING.md Jun 17, 2019
README-ZH-TW.md Update README-ZH-TW.md (#941) Jul 24, 2019
README.md upgrade to NC18.0.4 Apr 24, 2020
Vagrantfile move to buster/PHP7.3 Jul 18, 2019
armbian.sh armbian: fix distro build Dec 21, 2019
batch.sh build: fix post-inst Mar 26, 2020
build-SD-armbian.sh build: update armbian branches Jan 22, 2020
build-SD-berryboot.sh armbian: fix distro build Dec 21, 2019
build-SD-rpi.sh armbian: fix distro build Dec 21, 2019
build-VM.sh build: fix VM image name Dec 30, 2019
build-docker.sh build: small tweaks Apr 6, 2020
buildlib.sh build: small tweaks Apr 6, 2020
changelog.md upgrade to NC18.0.4 Apr 24, 2020
config-odroidxu4.conf build: update armbian branches Jan 22, 2020
config-orangepizeroplus2-h5.conf added config for OrangePi Zero Plus2 H5 Jun 27, 2018
config-rock64.conf build: update armbian branches Jan 22, 2020
docker-compose-armhf.yml docker: mount timezone May 26, 2019
docker-compose-nc-armhf.yml docker: mount timezone May 26, 2019
docker-compose-nc.yml docker: mount timezone May 26, 2019
docker-compose-ncpdev.yml add system tests Oct 19, 2018
docker-compose.yml docker: mount timezone May 26, 2019
install.sh install: make sure we have lsb-release Oct 28, 2019
lamp.sh lamp: disable old TLS versions Mar 23, 2020
ncp.sh Add user only if it does not exist. (#1059) Jan 19, 2020
post-inst.sh build: fix post script Jan 15, 2019
run_update_history.sh update: fix case where there is no current version file Jan 19, 2020
tag_and_push.sh build: add tag -> changelog -> push script May 10, 2018
update.sh add notify_admin functionality Feb 5, 2020

README.md

English | Traditional Chinese �體中文

NextCloudPi chatroom icon forums icon Donate blog

NC Logo

This is the build code for NextCloudPi.

NextCloudPi is a ready to use image for Raspberry Pi, Odroid HC1, rock64 and other boards.

This code also generates the NextCloudPi docker images for ARM and x86 platforms, and includes an installer for any Debian based system.

Find the full documentation at docs.nextcloudpi.com

Features

  • Debian/Raspbian 10 Buster
  • Nextcloud 18.0.4
  • Apache 2.4.25, with HTTP2 enabled
  • PHP 7.3
  • MariaDB 10
  • Redis memory cache
  • ncp-config for easy setup ( RAM logs, USB drive and more )
  • Automatic redirection to HTTPS
  • ACPU 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.
  • Let’s 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
  • 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-config

, or from the command line from

sudo ncp-config

NCP-config

Run in docker

docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi $DOMAIN

How to build

Install git, docker, qemu-user-static, chroot and all the usual building tools.

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

, or for an Armbian based board

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

In order to generate the Docker images

git clone https://github.com/nextcloud/nextcloudpi.git
cd nextcloudpi
./build-docker.sh x86
./build-docker.sh armhf
./build-docker.sh arm64

NextCloudPi can be installed in any architecture running the latest Debian

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

Downloads

Get the image, find details and more instructions at

https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/

Pull the docker image

https://nextcloudpi.com

https://hub.docker.com/r/ownyourbits/nextcloudpi

Contact

You can find us in the forums and a Telegram group

You can’t perform that action at this time.