It’s been a while since we made a major update to the Nextcloud VM. That’s because we’ve been waiting for Ubuntu 18.04 to be released which was done April the 27:th this year. The new release comes with PHP 7.2, a separate ZFS mount to hold the data (mnt/ncdata), and a newer kernel which is 4.15. Other that that ifupdown is now deprecated and replaced with netplan.io. That’s a decision Ubuntu took and nothing we had control over. There are still an option available to install ifupdown, but we figured it’s better to stick with what’s standard in the release. That meant that we had to redactor the static IP settings and also do some work on the first connectivity check that automatically sets the correct network interface upon first boot. The list of complete changes would be long, but those are the major changes at least.

A full list of changes can be found on Github, and if you are looking for the new machine setup you can visit this post, it will be updated once the VM is released.

Notice to all PostgreSQL users!

In the same process we decided to  change to PostgreSQL for all our released versions. That means that the PostgreSQL branch will replace master once released. It will affect all current PostgreSQL VM users (that downloaded the pre-made VM) since the repository is wrong and curl can’t fetch the variable/function libary – lib.sh.

To fix that issue just change the curl command in the update.sh script to master instead of postgresql like this:

sudo nano /var/scripts/update.sh
#!/bin/bash

# Tech and Me © - 2017, https://www.techandme.se/

# shellcheck disable=2034,2059
true
# shellcheck source=lib.sh
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/postgresql/lib.sh)
#!/bin/bash

# Tech and Me © - 2017, https://www.techandme.se/

# shellcheck disable=2034,2059
true
# shellcheck source=lib.sh
. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)

Once that’s done you can use the update.sh script as usual.

If you want to test the latest RC (Release Candidate) of the new VM you can download it here. Please report any bugs you find on Github.

As usual, happy Nextclouding!