Being 32 bit, it's getting a bit old for using it with modern software. But maybe take a look at this and give it a try:
https://help.nextcloud.com/t/how-to-install-nextcloudpi/126308
NextcloudPi is a fairly low-maintenance version of NC, the only way I'd recommend installing it besides as a docker image. Straight installing NC is a recipe for disaster, it's notoriously bad at updating that way.
Whatever you do, don't use the builtin web updater inside NC to update nextcloud itself. Their app updater is fine, but the actual Nextcloud web updater is utter dogshit and will break things.