• Stars
    star
    2,508
  • Rank 18,295 (Top 0.4 %)
  • Language
    Shell
  • Created almost 8 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...

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

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

NextcloudPi

Telegram icon Matrix icon Docker 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 Docker image, LXD container & VM, there is an install script for the latest stable 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.


master

VM Tests

Docker Tests

devel

VM Tests

Docker Tests


Features

  • Raspberry Pi OS/Debian 11 (Bullseye)
  • 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
  • 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
  • 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

Run in docker

docker run --detach \
           --publish 4443:4443 \
           --publish 443:443 \
           --publish 80:80 \
           --volume ncdata:/data \
           --name nextcloudpi \
           ownyourbits/nextcloudpi $DOMAIN

$DOMAIN can also be the IP-address of the host device if you're accessing it via IP-address in your local home network.

Can also be run with the --init flag for zombie process reaping

docker run --detach \
           --init \
           --publish 4443:4443 \
           --publish 443:443 \
           --publish 80:80 \
           --volume ncdata:/data \
           --name nextcloudpi \
           ownyourbits/nextcloudpi $DOMAIN

It takes a moment to start completely, you can check this with docker logs nextcloudpi until it says Init done.

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

Use the install script from tteck to install the LXC container on your Proxmox instance

He has multiple helper scripts available for Proxmox on his website, do go have a look if you're using Proxmox. 👍

Installation: bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/nextcloudpi-v5.sh)"

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

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

Thenk you tteck ❤️ for making the helper script & letting us use this for Proxmox installations 🙏

You can find his GitHub repository with his helper scripts 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
  • docker (If you're building a Docker image)
  • lxd (If you're building an LXD/LXC container image)

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

In order to build & push the Docker image to your repository, you'll also need to change the username, repo and tags in the script to match your credentials at Docker Hub.

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

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

Links

Website

Downloads

Docker Hub

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

More Repositories

1

server

☁️ Nextcloud server, a safe home for all your data
PHP
26,522
star
2

docker

⛴ Docker image of Nextcloud
Shell
5,826
star
3

all-in-one

📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
PHP
5,228
star
4

android

📱 Nextcloud Android app
Java
4,144
star
5

desktop

💻 Desktop sync client for Nextcloud
C++
2,966
star
6

ios

📱 Nextcloud iOS App
Swift
1,936
star
7

spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
JavaScript
1,441
star
8

vm

💻☁📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.
Shell
1,306
star
9

deck

🗂 Kanban-style project & personal management tool for Nextcloud, similar to Trello
JavaScript
1,203
star
10

bookmarks

🔖 Bookmark app for Nextcloud
JavaScript
1,006
star
11

notes-android

✎ Android client for Nextcloud Notes app.
Java
937
star
12

calendar

📆 Calendar app for Nextcloud
JavaScript
887
star
13

news

📰 RSS/Atom feed reader
JavaScript
852
star
14

mail

💌 Mail app for Nextcloud
JavaScript
830
star
15

passman

🔐 Open source password manager with Nextcloud integration
JavaScript
786
star
16

news-android

📱🗞️ Android client for the Nextcloud news/feed reader app
Java
682
star
17

notes

✎ Distraction-free notes and writing
JavaScript
604
star
18

photos

📸 Your memories under your control
JavaScript
574
star
19

contacts

📇 Contacts app for Nextcloud
JavaScript
565
star
20

tasks

✅ Tasks app for Nextcloud
JavaScript
563
star
21

text

📑 Collaborative document editing using Markdown
JavaScript
546
star
22

cookbook

🍲 A library for all your recipes
HTML
532
star
23

recognize

👁 👂 Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres
PHP
532
star
24

maps

🌍🌏🌎 The whole world fits inside your cloud!
JavaScript
490
star
25

documentation

📘 Nextcloud documentation
HTML
490
star
26

social

🎉 Social can be used for work, or to connect to the fediverse!
PHP
464
star
27

talk-android

📱😀 Video & audio calls through Nextcloud on Android
Kotlin
461
star
28

previewgenerator

Nextcloud app to do preview generation in the background.
PHP
456
star
29

richdocuments

📑 Collabora Online for Nextcloud
PHP
353
star
30

forms

📝 Simple form & survey app for Nextcloud
JavaScript
316
star
31

helm

A community maintained helm chart for deploying Nextcloud on Kubernetes.
Smarty
315
star
32

twofactor_totp

🔑 Second factor TOTP (RFC 6238) provider for Nextcloud
JavaScript
286
star
33

groupfolders

📁👩‍👩‍👧‍👦 Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
PHP
279
star
34

end_to_end_encryption

🔐 Server API to support End-to-End Encryption
PHP
275
star
35

appstore

🏪 App Store for Nextcloud
Python
262
star
36

polls

🗳️ Polls app for Nextcloud
JavaScript
255
star
37

providers

community-maintained list of Nextcloud providers
234
star
38

nextcloud.com

🌏 Our website
PHP
208
star
39

notify_push

Update notifications for nextcloud clients
Rust
202
star
40

backup

Backup now. Restore later.
PHP
202
star
41

nextcloud-vue

🍱 Vue.js components for Nextcloud app development ✌ https://npmjs.org/@nextcloud/vue
Vue
198
star
42

client_theming

💻 Nextcloud themed desktop client - Moved over to https://github.com/nextcloud/desktop
Shell
197
star
43

fulltextsearch

🔍 Core of the full-text search framework for Nextcloud
PHP
197
star
44

ocsms

📱 Nextcloud/ownCloud PhoneSync server application
JavaScript
189
star
45

tables

🍱 Nextcloud tables app
JavaScript
144
star
46

circles

👪 Create groups with other users on a Nextcloud instance and share with them
PHP
143
star
47

ansible-collection-nextcloud-admin

The ansible galaxy for your nextcloud administrative needs.
Jinja
138
star
48

registration

User registration app for Nextcloud
JavaScript
136
star
49

documentserver_community

Document server for onlyoffice
PHP
128
star
50

cms_pico

🗃 Integrate Pico CMS and let your users manage their own websites
PHP
127
star
51

talk-ios

📱😀 Video & audio calls through Nextcloud on iOS
Objective-C
123
star
52

neon

A framework for building convergent cross-platform Nextcloud clients using Flutter.
Dart
122
star
53

passman-webextension

Webextension for the Passman Nextcloud app. Also offers browser extension & Android app.
JavaScript
115
star
54

activity

⚡ Activity app for Nextcloud
JavaScript
115
star
55

twofactor_u2f

🔑 U2F second factor provider for Nextcloud
JavaScript
112
star
56

talk-desktop

💬💻 Nextcloud Talk Desktop Client Preview
JavaScript
110
star
57

gallery

DEPRECATED Gallery app was replaced by Photos
JavaScript
110
star
58

twofactor_gateway

🔑 Second factor provider using an external messaging gateway (SMS, Telegram, Signal)
PHP
109
star
59

external

🌐 Embed external sites in your Nextcloud
JavaScript
104
star
60

notifications

🔔 Notifications app for Nextcloud
PHP
102
star
61

user_external

👥 External user authentication methods like IMAP, SMB and FTP
PHP
101
star
62

news-updater

📰 Fast, parallel feed updater for the News app; written in Python
Python
100
star
63

integration_google

🇬 Google integration into Nextcloud
JavaScript
98
star
64

nextcloud-filelink

✉️ 📤 "Nextcloud for Filelink" is a Thunderbird extension which makes it easy to send large attachments with Thunderbird by uploading them first to a Nextcloud server and by then inserting the link into the body of your email.
JavaScript
96
star
65

serverinfo

📊 A monitoring app which creates a server info dashboard for admins
JavaScript
94
star
66

user_saml

🔒 App for authenticating Nextcloud users using SAML https://apps.nextcloud.com/apps/user_saml
PHP
93
star
67

collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
JavaScript
93
star
68

health

Nextcloud health app
JavaScript
92
star
69

passman-android

🔑 Android app for Passman.
C++
92
star
70

files_videoplayer

📼 Old video viewer for Nextcloud
JavaScript
91
star
71

android-library

☎️ Nextcloud Android library
Java
85
star
72

files_pdfviewer

📖 A PDF viewer for Nextcloud
JavaScript
85
star
73

suspicious_login

Detect and warn about suspicious IPs logging into Nextcloud
PHP
84
star
74

viewer

🖼 Simple file viewer with slideshow for media
JavaScript
83
star
75

unsplash

📸🔀☁️ Random Nextcloud log in background from Unsplash
JavaScript
82
star
76

fulltextsearch_elasticsearch

🔍 Use Elasticsearch to index the content of your Nextcloud
PHP
77
star
77

user_oidc

OIDC connect user backend for Nextcloud
PHP
76
star
78

files_antivirus

👾 Antivirus app for Nextcloud Files
JavaScript
74
star
79

files_texteditor

📄 Text editor for plaintext files
JavaScript
71
star
80

Android-SingleSignOn

Single sign-on for Nextcloud (Android Library Project)
Java
70
star
81

user_sql

🔒 App for authenticating Nextcloud users using SQL
PHP
66
star
82

workflow_script

Rule based processing of files through specified external scripts
PHP
65
star
83

files_rightclick

👉 Right click menu for Nextcloud
JavaScript
64
star
84

ransomware_protection

An app that prevents uploading files that have names that are linked to known ransomware
PHP
62
star
85

windows-universal

📱 Nextcloud Windows Mobile app
C#
59
star
86

security-advisories

👮 Security advisories of Nextcloud
PHP
59
star
87

dashboard

ARCHIVED, new Dashboard is in the server
PHP
58
star
88

integration_openproject

Integration of OpenProject project manager in Nextcloud
PHP
56
star
89

integration_whiteboard

✏ A whiteboard for Nextcloud, using Spacedeck
PHP
53
star
90

encryption-recovery-tools

This project contains tools to recover files that have been encrypted with the Nextcloud End-to-End Encryption or Nextcloud Server-Side Encryption.
PHP
53
star
91

files_automatedtagging

🔖 An app for Nextcloud that assigns tags to newly uploaded files based on some conditions
JavaScript
53
star
92

logreader

📜 Log reader for Nextcloud
JavaScript
52
star
93

calendar_resource_management

Resources back-end for the Nextcloud CalDAV server
PHP
52
star
94

impersonate

👻 Allow administrators to become a different user
JavaScript
52
star
95

cdav-library

📅 📇 CalDAV and CardDAV client library for JavaScript
JavaScript
51
star
96

3rdparty

🔋 3rd party libraries that are needed to run Nextcloud
PHP
51
star
97

files_fulltextsearch

🔍 Index the content of your files
PHP
50
star
98

files_accesscontrol

🚫 App to manage access control for files
PHP
49
star
99

bruteforcesettings

🕵 Allow admins to configure the brute force settings
JavaScript
49
star
100

twofactor_webauthn

WebAuthn Two-Factor Provider for Nextcloud
PHP
49
star