i’m in the process of reinstalling Nextcloud and don’t know which choice to make.
Previously, I had Nextcloud 29 installed directly on Ubuntu, Apache2, a LetsEncrypt certificate, HTTPS enabled and a domain to access it.
My Ubuntu image isn’t runnable anymore, so while I can mount it to get access to the configuration data, etc. I need a fresh install and then import. Directly installing NC doesn’t work on my specific hardware, as required packages got rm’d from repos. This means Docker is the way.
There seems to be a Docker image, an AIO, plus more docker images from various people.
Can someone recommend a setup to choose, that’ll let me run Nextcloud in a docker and allow me to import the db from before? (i used comments on files extensively, otherwise I’d just do a clean install and let NC index the files)
Webserver, php and database should be availible in most of the distributions with their package manager. Nextcloud itself, you can use the integrated updater (on a server, best via command line).
I think you can install “the dirty way”, normal Docker, Nextcloud AIO, …
For the “dirty way” there is no need for foreign packages e.g. PHP. My last install was your “dirty way” normal LAMP without Docker. But Docker and AIO is also cool.
The issue is that the sury repo has been cleared and now only lists binaries for Ubuntu 22.04 and 24.04.
I had compiled and installed PHP 8.2 by myself, but ran into various dependency issues when attempting to install NC, so I’d prefer using a docker-based install now.
The hardware choice is not ideal, but for my purposes, it’s a low power device that I have available.
Haven’t gotten everything installed yet, but I am able to run Armbian Bookworm, despite what the user user posted. The issue is that the HDMI & Displayport output is broken, so it requires a serial connection to setup the device. Afterwards it’s possible to SSH into the Jetson though, so it’s all good for a server-style.
happy to see you make progress. back to your initial question:
aio is the easiest way to setup turnkey system… it is extremely well documented and taken care by a paid Nextcloud employee. It works well but relies on some concepts I personally don’t like or disagree with. customization is harder/different
if you are more advanced user looking for most flexible docker solution use Docker community image is almost vanilla Nextcloud in Docker - more customizable but harder to use than AiO. My post docker-compose-setup-with-notify-push-2024 explains how to setup a system with most important features for this flavor.
there are other like linuxserver.io which follow there own philosophy with it’s own advantages and issues which could be harder to maintain and troubleshoot.