💻📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.
Go to file
2019-04-25 20:36:06 +02:00
apps Add domain_check_200 (#815) 2019-04-11 21:02:05 +02:00
lets-encrypt Add domain_check_200 (#815) 2019-04-11 21:02:05 +02:00
static edit text 2019-04-25 08:32:57 +02:00
.travis.yml we are only using .sh 2018-09-05 16:24:26 +02:00
issue_template.md add server OS 2019-01-17 01:31:58 +01:00
lib.sh only check with nslookup for existing domains 2019-04-14 15:51:02 +02:00
LICENSE Initial commit 2016-06-03 13:38:29 +02:00
nextcloud_install_production.sh fix https://github.com/nextcloud/vm/issues/822 2019-04-25 15:56:12 +02:00
nextcloud_update.sh check if the version is equal to or greater than 2019-04-24 15:04:31 +02:00
nextcloud-startup-script.sh typo 2019-04-14 16:21:01 +02:00
README.md move install instructions to a real documentation system instead 2019-04-25 20:36:06 +02:00

Nextcloud VM

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.


Support the development

Machine configuration of the released version

Please check the configuration here.

Full documentation

Do you want to run this on your Raspberry Pi?

Great news! Weve forked this repository and created a Raspberry Pi image. Download it here or here.

We call it NextBerry and its confirmed to be working on Raspberry Pi 2 & 3.

NOTE (2018-08-01): This is not maintained anymore, but keeping the info in case someone wants to pick it up again.

I want to test a Release Candidate (RC)!

No problem, brave explorer! We made it simple. Run update.sh but abort it before it starts so that you have the latest nextcloud_update.sh. Then put this in your nextcloud_update.sh below the curl command (lib.sh) but before everything else and run it.

To test a specific RC version:

NCREPO="https://download.nextcloud.com/server/prereleases"
NCVERSION=12.0.1RC5
STABLEVERSION="nextcloud-$NCVERSION"

Or the latest RC:

NCREPO="https://download.nextcloud.com/server/prereleases"
NCVERSION=$(curl -s -m 900 $NCREPO/ | sed --silent 's/.*href="nextcloud-\([^"]\+\).zip.asc".*/\1/p' | sort --version-sort | tail -1)
STABLEVERSION="nextcloud-$NCVERSION"

FAQ

Keep asking questions so we can add them here.

Q: Where can I download VMware Player?
A: Get the latest release here.

Q: Why are my apps disabled during an upgrade?
A: To ensure compatibility with a newer system. (Read further.)

Q: How do I update my Nextcloud VM?
A: Use our script — sudo bash /var/scripts/update.sh — or, as root in the terminal — run_update_nextcloud

Q: How do I run the occ command?
A: Weve added an alias for that as well. As root, just run nextcloud_occ

Q: The Mcrypt module is missing in the VM. Why?
A: Its deprecated¹ abandonware². (More here.)

Q: Where do I tweak PHP-FPM settings?
A: You can change them in /etc/php/7.2/fpm/pool.d/nextcloud.conf but BE AWARE: Only alter them if you know what youre doing!

Q: Some apps like issuetemplate arent installed by the setup script.
A: Weve seen this temporary network irregularity before. Try again. Itll work!

Q: The downloaded file is just a few kilobytes, or corrupted.
A: Thats due to heavy server load. Wait a few minutes and try again.

Q: The script says: “WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.”
A: Read here.

Q: How do I fix a “NETWORK NOT OK” error when booting the VM?
A: Check the most likely culprits: your network and firewall settings.

  • Open VMware / Virtualbox Settings. Remove your VMs network adapter (aka Network Interface Card or NIC). Add a new NIC.
    alt_tag
  • Set the NIC to Bridged, not Shared mode.
  • Ensure your firewall isn't blocking the VMs IP address.
  • Ensure either:
    • (a) your router has DHCP enabled so it automatically assigns the VM a unique IP address or
    • (b) you manually assign your VM a unique static IP (preferably locked to its MAC address)

Q: I get a message that I'm not root, but I am.
A: Is your net connection solid? See more here

Q: Which Hyper-V generation should we chose when creating a machine to load this image?
A: Currently, use a first generation machine.

Q: Do you have a pre-configured Hyper-V VM?
A: Yep! Download it here.

Q: I want a bigger version of this VM. Where can I find that?
A: Download 500GB, 1T, 2T, and order custom sizes here.

Q: I found a bug! How do I report it?
A: Submit bug sightings here.

Q: How do I install apps that werent selected during the first install?

A: Easy! All app installer scripts are in our repo. Just download and execute the script(s) for your desired app(s). For example, to install Nextcloud Talk run: curl -sLO https://raw.githubusercontent.com/nextcloud/vm/master/apps/talk.sh && sudo bash talk.sh

Q: I typed in the wrong [domain name | password | etc]! Can I abort and resume?
A: Sorry, no. Extract the VM again and start over. The script can not be run twice in a row.

Q: Does automatic update affect both Ubuntu and Nextcloud?
A: If you want to auto update Ubuntu and Nextcloud check this blog post.

Q: Can I enable / disable auto updates of my OS / Nextcloud?
A: Yes. Its controlled by a cronjob. Disable the cronjob to disable auto updates.

Q: How do I backup?
A: There are several ways. We recommend Rsync to a NAS or similar. You can find a script here.

Q: How do I route ports 443, 10000, and 22 to my VM? Can you help me with NAT loopback?
A: Sure can. Check this out.

First look

alt tag

The usual tags

Downloads from Github:
Downloads
Build Status:
Build Status
Stability Status:
Stability Status

Current maintainers

Special thanks to