No Description
nachoparker af5e35d00c ncp-update-nc: BTRFS basedir not supported 3 days ago
.github/ISSUE_TEMPLATE update: there were still references to NextCloudPlus 4 months ago
bin ncp-update-nc: BTRFS basedir not supported 3 days ago
docker letsencrypt: use the latest github version 2 weeks ago
docker-armhf letsencrypt: use the latest github version 2 weeks ago
docker-common Proposed fix for issue #773 (#781) 3 weeks ago
etc nc-nextcloud: add a warning 6 days ago
ncp-app ncp-app: support NC14 as well 1 month ago
ncp-web ncp-web: fix section unselected when sidebar reloads 1 month ago
tests test: add some checks 1 month ago
.dockerignore build: fully local builds 4 months ago
.gitignore add Vagrantfile 3 months ago
CONTRIBUTING.md added CONTRIBUTING.md 7 months ago
Makefile docker: local builds can use caching 4 months ago
README.md upgrade to NC15.0.4 1 week ago
Vagrantfile curl: build fix 1 month ago
armbian.sh build: fix raspbian build, fail at any error 1 month ago
batch.sh add nc-test-hdd 3 months ago
build-SD-armbian.sh cleanup 2 months ago
build-SD-berryboot.sh build: berryboot tested ok 7 months ago
build-SD-rpi.sh build: fix raspbian build, fail at any error 1 month ago
build-VM.sh curl: build fix 1 month ago
buildlib.sh build: start sharing torrents automatically 2 months ago
changelog.md ncp-update-nc: BTRFS basedir not supported 3 days ago
config-bananapi.conf general build improvements 8 months ago
config-odroidxu4.conf general build improvements 8 months ago
config-orangepizeroplus2-h5.conf added config for OrangePi Zero Plus2 H5 7 months ago
config-rock64.conf armbian: update rock64 branch 7 months ago
docker-compose-armhf.yml add system tests 4 months ago
docker-compose-nc-armhf.yml add system tests 4 months ago
docker-compose-nc.yml add system tests 4 months ago
docker-compose-ncpdev.yml add system tests 4 months ago
docker-compose.yml add system tests 4 months ago
install.sh build: new update process 1 month ago
lamp.sh lamp: fix mysql utf8 collation 1 month ago
ncp.sh add public IP to trusted domains 1 month ago
post-inst.sh build: fix post script 1 month ago
tag_and_push.sh build: add tag -> changelog -> push script 9 months ago
update.sh nc-zram: remove from docker 6 days ago

README.md

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.

Features

  • Debian/Raspbian 9 stretch
  • Nextcloud 15.0.4
  • Apache 2.4.25, with HTTP2 enabled
  • PHP 7.2
  • 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

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
make                        # armhf version
make nextcloudpi-x86        # x86   version

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://ownyourbits.com/2017/06/08/nextcloudpi-docker-for-raspberry-pi/

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

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

Contact

You can find us in the forums and a Telegram group