Build Your Homelab: 42 – Configure Your Turnkey Nextcloud

Homelab 41 - Nextcloud Configuration

Now that we have a successfully installed a VM with Turnkey Linux’s Nextcloud, we can get it set up. While the helper scripts simplified the process, the installation itself presented a workflow notably different from the stock-standard VM (or LXC) deployments we typically handle in our Proxmox environment. However, Nextcloud is a fantastic solution to back up our photos from our mobile phone, but also to back up a lot more and also provide extra functionalities. When comparing Nextcloud directly with specialized photo backup solutions like Immich for mobile photos alone, Nextcloud might initially seem to have fewer dedicated features. However, this perception changes as we begin to explore the broader range of functionalities Nextcloud offers.


Step 1: Server side configuration

Once the boot order has been updated in Proxmox, we can start the VM again. If Proxmox is not already open in a new window, open it and log in. From the left navigation pane, expand Datacenter and then expand the Proxmox node that contains Nextcloud. Select the Nextcloud VM and select Proxmox Console Button. If the VM has not been started, do so now. You will go through password screens asking you for a password, and then to confirm the password for root (which is the server’s administrator account), then adminer (the helper services that gets installed with all Turnkey installs) and lastly a password for the Nextcloud admin user. Following the password setups, you’ll be prompted for the server address. Use its local network IP address. In our example, this is

192.168.1.37

You’ll then be prompted for a Turnkey services API key; we’ll skip this for now as it’s not essential for basic functionality. Similarly, when asked about receiving notifications, we’ll also skip this step to streamline the initial setup, though you can configure these options later. The next important screen will prompt if we want to install security updates. It is always a good idea to do so, so we are going to continue installing it.

Once the updates are installed, a reboot is necessary. After rebooting, the system will display details of the server’s services, crucially showing the web access addresses for Nextcloud under the ‘web’ section:

http://192.168.1.37
https://192.168.1.37

Step 2: Access Nextcloud

From a computer connected to your home network, open a new browser window and navigate to one of the addresses (HTTP or HTTPS) provided in the ‘web’ section during the server setup. You will get to a login screen for Nextcloud. Log in with the username admin and the password you provided in step 1. Once logged in, you will see a welcome screen giving you a quick overview of Nextcloud. Click Nextcloud on all your devices. You will now see all the different apps that can be installed that can sync with the Nextcloud cloud: Android, iOS and Desktop App, as well as an option to sync Calendar and contacts.

Feel free to explore and install any apps that catch your eye. It’s important to remember that the server address you’re currently using (https://192.168.1.37 in our example) is for your local network. To access your Nextcloud instance from outside your home (e.g., when you’re on the go), you will need to set up a VPN connection, such as one managed by Headscale, on both your mobile device/computer and within your home network.


Conclusion

In summary, your Turnkey Linux Nextcloud VM is now fully installed and primed for use within your Proxmox setup. We’ve walked through the initial server-side configurations, including setting up user credentials and ensuring essential security updates are in place. You can now log in and see the potential Nextcloud offers, starting with a platform to sync files across your devices.

As we’ve discussed, while its photo backup capabilities are just one facet, the real journey begins as we explore the additional functionalities that elevate Nextcloud. With your local access established (and a mental note to use a VPN like Headscale for remote connections), you’re perfectly positioned to start customizing your instance with various apps. The possibilities are extensive, and we will be exploring it further in a future article, including setting up access without a VPN from the outside web.