Tobias Knöppler b675d61e61
Upgrade to PHP 8.1 when installing NC >= 24 (#1554)
* Update nextcloud to 24.0.4
* ncp-update-nc: Upgrade php to version 8.1 when installing NC >= 24
* ncp-update-nc: Use /etc/shadow workaround for installing systemd
* ncp-update-nc: Run nc-limits after php upgrade
* ncp-update-nc: Rollback after failed php upgrade
* ncp-update-nc: Add success message
* ncp-update-nc: Prevent installation of NC >= 24 on debian 10/PHP <= 7.3
* lamp.sh: Install php8.1 from sury.org
* lamp.sh: Use /etc/shadow workaround for installing systemd
* Dockerfile: Install wget, ca-certificates, lsb-release and procps before installing lamp.sh
* Dockerfile: Make sure, ncp-templates are available when installing lamp.sh
* Migrate all scripts to use template for writing opcache.ini and get_nc_config_value for retrieving datadir
* nc-nextcloud.sh Fix crash if nc-datadir has not been installed yet
* opcache.ini.sh: Don't try to get tmpl values from nc-datadir in containers
2022-09-15 17:31:15 +02:00
2021-05-12 21:49:42 -06:00
2022-08-12 14:26:32 +02:00
2018-09-21 23:48:00 -06:00
2021-09-30 22:48:19 -06:00
2022-09-14 16:47:46 +02:00
2022-08-03 20:37:57 +02:00
2021-11-18 10:07:04 -07:00
2022-03-02 14:53:24 -07:00
2022-04-08 14:52:36 +02:00

English | Traditional Chinese 繁體中文 | Simplified 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 Virtual Machines, Raspberry Pi, Odroid HC1, rock64 and other boards (⇒Downloads).

This code also generates the NextCloudPi docker image, LXD and VM, and includes an installer for any Debian based system.

Find the full documentation at docs.nextcloudpi.com


VM Integration Tests

Docker Integration Tests


Features

  • Debian/Raspbian 11 Bullseye
  • Nextcloud 23.0.2
  • Apache 2.4.25, with HTTP2 enabled
  • PHP 7.4
  • 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.
  • 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
  • Prometheus metrics monitoring

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

ncp-web

, 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

Run in LXD

lxc import NextCloudPi_LXD_09-29-21.tar.bz
lxc start ncp

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/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/build-docker.sh x86
build/build-docker.sh armhf
build/build-docker.sh arm64

, for 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 -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

Downloads

https://nextcloudpi.com

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

Contact

You can find us in the forums and a Telegram group

Description
📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer...
Readme 26 MiB
Languages
Shell 51.1%
PHP 23.2%
CSS 8.6%
JavaScript 8.5%
Python 6.6%
Other 2%