💻📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.
Go to file
Sami Nieminen 2f4432f580
Nextcloud add new backup options (#2709)
* Initial version with not tested script.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add Restic cloud backup to menu.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add menu options correctly.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Make sure script files are named correctly.
Add instructions and warning messages about important account details.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix backup file locations and pg dump user.
Add database connection details from config.
Load database config from ncdb function.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add database as variable.
Redefine exit logic to notify on success and failure.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add option to include /mnt/ncdata.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add restic excludes file which will automatically exclude preview files which can be regenerated after restore.
Move explainer to msg_box to make it multiline.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix variable handling for full backup.
Add clearer explanation.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix issues found while trying to use Azure as destination.
Restic will now be downloaded from official github repo.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add more details to restic install process and hash the executable so verify doesn't fail.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Remove hash as for some reason it will not work in script, also might be unnecessary.
Edit version verification to clean version number before checking installed restic version.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Remove unnecessary folder from end of Azure config.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Move version check to correct location and fix version check variable.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix to actually use the container name instead of account name per Azure best practices.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix typo.
Add error handling to restic check part.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add script logging.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix forgotten import for actual script.
Fix date variables not being variables after constructing the script.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Fix all variables in script to be actual variables instead of hard coded values after cat.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

* Add database variables to script.
Include settings, were lost for some reason...
Make alerts more clear for admins.
Fix pipefail.

Signed-off-by: Sami Nieminen <imas@nenimein.fi>

---------

Signed-off-by: Sami Nieminen <imas@nenimein.fi>
2024-12-06 22:06:09 +01:00
.github Bump actions/checkout from 3 to 4 (#2561) 2023-09-11 07:33:11 +02:00
addons remove duplicated code 2024-09-20 17:47:58 +02:00
apps Replace netcat 2024-11-07 18:27:41 +01:00
disk assume Proxmox when QEMU 2024-05-07 19:38:36 +02:00
lets-encrypt Enable Brotli support (#2704) 2024-11-28 23:14:06 +01:00
menu repo check v2.0 (#2687) 2024-09-23 20:58:34 +02:00
migrate/docker Fix spelling in VM (#1706) 2020-12-03 21:24:33 +01:00
network remove testing source (#2696) 2024-10-20 21:19:02 +02:00
not-supported Nextcloud add new backup options (#2709) 2024-12-06 22:06:09 +01:00
old deprecated harden-ssh (#2497) 2024-06-10 18:03:56 +02:00
static remove temp fix for Hyper-V VMs (#2644) 2024-10-17 18:17:02 +02:00
torrent Upgrade OS --> 24.04 (#2623) 2024-05-07 18:32:08 +02:00
vagrant Update vagrant/install.sh, vagrant/README.md and vagrant/Vagrantfile to add support for nextcloud current release. Update readme to make it easier to set up your local dev environment. (#2707) 2024-12-04 21:39:54 +01:00
.gitpod.yml Fully automate dev setup with Gitpod (#1696) 2020-11-24 20:16:16 +01:00
CHANGELOG.md Upgrade OS --> 24.04 (#2623) 2024-05-07 18:32:08 +02:00
lib.sh remove deprecated flag 2024-11-13 18:52:26 +01:00
LICENSE Initial commit 2016-06-03 13:38:29 +02:00
nextcloud_install_production.sh skip user setup if provisioning (#2702) 2024-11-13 18:34:35 +01:00
nextcloud_update.sh suppress setup check warning 2024-10-19 14:59:07 +02:00
nextcloud-startup-script.sh Don't delete .sh files in ../nextcloud (#2694) 2024-10-18 14:30:27 +02:00
README.md docs: update README.md (#2703) 2024-11-17 09:08:18 +01:00

Nextcloud VM Appliance

Server installation. Simplified. ☁️

Interactive Guidance

The Nextcloud VM(aka Nextcloud Virtual Machine or NcVM) — helps you create a personal or corporate Nextcloud Server faster and easier. Fundamentally, NcVM is a carefully crafted family of *nix scripts which interactively guide you through a quality-controlled installation to obtain an A+ security-rated Nextcloud instance.

Curated Extras

The Nextcloud app store extends core features by allowing you to enable a multitude of free one-click apps. However, integration apps there like Collabora Online and ONLYOFFICE are solely bridges to Nextcloud. Youre still required to install those services separately, which can be complex. NcVM provides optional full installation of select curated apps, including those and others. Monitor and manage your cloud using any web browser with NcVMs hand-picked collection of power utilities featuring stunning, modern UIs.

All Systems Go

NcVM can check for and install stable updates to keep things current, smooth, and secure.


Dependencies:

(Ubuntu Server 24.04 LTS minimal 64-bit)
(Linux Kernel: 6.8)

  • Apache 2.4
  • PostgreSQL 16
  • PHP-FPM 8.3
  • Redis Memcache (latest stable version from PECL)
  • PHP-igbinary (latest stable version from PECL
  • PHP-smbclient (latest stable version from PECL)
  • Nextcloud Server Latest

Support the development

FYI

Developed by Daniel Hansson and the Nextcloud community. Nextcloud GmbH does not offer support for the VM in the main branch (full-version), as we only support manual tarball/zip-package installations. You can download the official Nextcloud VM appliance (also from this repo) from our website to get a stripped down version for testing if you rather want to skip all the manual steps in our documentation.

If you want support regarding the full-version VM in main, please contact our partner Hansson IT.

Full documentation

I want to test a Release Candidate (RC), or Beta!

No problem, brave explorer! We made it simple.

In some cases we do pre-releases of the VM as well. Those can be found in the TESTING folder on the download server.

If you want to try the latest version yourself, there are two variables that you could use:

  1. For latest beta or RC version: sudo bash /var/scripts/update.sh beta

  2. For specific RC version: sudo bash /var/scripts/update.sh 23.0.1rc2

Please keep in mind that this is only intended for testing and might crash your Nextcloud. Please keep backups!

Vagrant example (Beta)

The nextcloud_install_production.sh script can be run as part of Vagrant provisioning.

See this subrepo for more information.

Please report any issues you can find. Improvements are welcome!

First look

Nextcloud

alt tag

Adminer (Database Administration) not default

alt tag

Webmin (Server Administration GUI) not default

alt tag

TLS rating

alt tag

The usual tags

Downloads from Github (not the main downloads location):
Downloads
Downloads from main server:
~100 per day since 2016
Build Status:
Check-code-with-shellcheck Actions status
Reviewdog Actions status
Stability Status:
Stability Status

Current maintainers

(Most of the commit history is gone, since Github decided to remove it when an account email address is removed.)

Special thanks to