📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer...
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE update: there were still references to NextCloudPlus Oct 2, 2018
bin nc-info: speedup Nov 5, 2018
docker-armhf docker: better cleanup call Oct 19, 2018
docker-common docker: fix provisioning on a stopped the container Nov 3, 2018
docker docker: better cleanup call Oct 19, 2018
etc nc-init: fix missing variable Dec 7, 2018
ncp-web ncp-web: update chinese translations Oct 21, 2018
tests test fixes Oct 21, 2018
.dockerignore build: fully local builds Sep 22, 2018
.gitignore add Vagrantfile Oct 23, 2018
CONTRIBUTING.md added CONTRIBUTING.md Jul 20, 2018
Makefile docker: local builds can use caching Sep 23, 2018
README.md upgrade to NC14.0.4 Nov 22, 2018
Vagrantfile vm: build improvements Nov 27, 2018
armbian.sh ncp-config: use simple characters Oct 24, 2018
batch.sh add nc-test-hdd Nov 5, 2018
build-SD-armbian.sh cleanup Dec 1, 2018
build-SD-berryboot.sh build: berryboot tested ok Jul 5, 2018
build-SD-rpi.sh add nc-test-hdd Nov 5, 2018
build-VM.sh vm: build improvements Nov 27, 2018
buildlib.sh build: start sharing torrents automatically Dec 7, 2018
changelog.md build: start sharing torrents automatically Dec 7, 2018
config-bananapi.conf general build improvements May 29, 2018
config-odroidxu4.conf general build improvements May 29, 2018
config-orangepizeroplus2-h5.conf added config for OrangePi Zero Plus2 H5 Jun 27, 2018
config-rock64.conf armbian: update rock64 branch Jul 3, 2018
docker-compose-armhf.yml add system tests Oct 19, 2018
docker-compose-nc-armhf.yml add system tests Oct 19, 2018
docker-compose-nc.yml add system tests Oct 19, 2018
docker-compose-ncpdev.yml add system tests Oct 19, 2018
docker-compose.yml add system tests Oct 19, 2018
install.sh build: make sure we dont deactivate the wizard accidentally Sep 29, 2018
lamp.sh build: armbian fixes Dec 1, 2018
ncp.sh check for path transversal Oct 27, 2018
post-inst.sh build: adjustments for Raspbian Oct 24, 2018
tag_and_push.sh build: add tag -> changelog -> push script May 10, 2018
update.sh cleanup Dec 1, 2018

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 14.0.4
  • Apache 2.4.25, with HTTP2 enabled
  • PHP 7.2
  • MariaDB 10
  • Redis memory cache ( NEW 11-12-2017 )
  • 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 ( NEW 05-24-2017 )
  • Postfix email
  • Secure

Extras

  • Setup wizard ( NEW 09-27-2017 )
  • NextCloudPi Web Panel ( NEW 07-24-2017 )
  • Wi-Fi ready ( NEW 03-31-2017 )
  • Ram logs ( NEW 03-31-2017 )
  • Automatic security updates, activated by default. ( NEW 03-21-2017 )
  • Let’s Encrypt for trusted HTTPS certificates.( NEW 03-16-2017 )
  • Fail2Ban protection against brute force attacks. ( NEW 02-24-2017 )
  • UFW firewall ( NEW 07-02-2018 )
  • Dynamic DNS support for no-ip.org ( NEW 03-05-2017 )
  • Dynamic DNS support for freeDNS ( NEW 09-05-2017 )
  • Dynamic DNS support for duckDNS ( NEW 09-27-2017 )
  • Dynamic DNS support for spDYN ( NEW 11-12-2017 )
  • dnsmasq DNS server with DNS cache ( NEW 03-09-2017 )
  • ModSecurity Web Application Firewall ( NEW 03-23-2017 )
  • NFS ready to mount your files over LAN ( NEW 04-13-2017 )
  • SAMBA ready to share your files with Windows/Mac/Linux ( NEW 04-16-2017 )
  • USB automount ( NEW 05-24-2017 )
  • Remote updates ( NEW 03-31-2017 )
  • Autoumatic NCP updates ( NEW 08-16-2017 )
  • Automatic Nextcloud updates ( NEW 05-29-2018 )
  • Update notifications ( NEW 08-16-2017 )
  • NextCloud backup and restore ( NEW 05-24-2017 )
  • NextCloud online installation ( NEW 05-24-2017 )
  • Format USB drive to BTRFS ( NEW 07-03-2017 )
  • BTRFS snapshots ( NEW 04-12-2017 )
  • Automatic BTRFS snapshots ( NEW 07-02-2018 )
  • BTRFS snapshot auto sync ( NEW 19-03-2018 )
  • scheduled rsync ( NEW 19-03-2018 )
  • ZRAM ( NEW 19-03-2018 )
  • UPnP automatic port forwarding ( NEW 07-03-2017 )
  • Security audits with Lynis and Debsecan ( NEW 07-02-2018 )
  • ZRAM ( NEW 19-03-2018 )

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