Reinstallation, but keep data and users?

Hello, I have a Nextcloud 19 installation that is causing problems for whatever reason.
It just got worse after updating from 18 to 19. No group folders can be created,
the deck no longer works, the message “Object X” keeps appearing and the page is stuck.

I don’t even want to try an update to 20 …
Hence my question: Can I transfer my data and users to a freshly installed NC20?

Kolja

Can’t say I have attempted this myself, but I would think as long as you keep the data folder and database intact, it should work. You will probably need to install NC 19 (same version) on the new one and then upgrade it.