Almost nobody uses all of Nextcloud, which is the key to replacing it well. Write down what your instance is really for - device file sync, browser file sharing with links, photo backup, calendars and contacts, or genuine team collaboration - because each of those points at a different tool. The mistake is hunting for one program that matches every checkbox; the clean path is accepting two or three focused services with clear boundaries in exchange for dropping an app platform you no longer want to run.
Files split into two distinct jobs that people often conflate. Continuous background sync between your own devices is Syncthing's job, decentralized and with no central server to operate. Browser-based sharing with per-folder permissions and expiring links is closer to Copyparty, which serves files over HTTP, WebDAV, and more. Calendars and contacts are the cleanest thing to move, because Radicale speaks the same CalDAV and CardDAV protocols your clients already use, so events and address books transfer through standard exports rather than a bespoke importer.
Some Nextcloud uses deserve a purpose-built replacement rather than a general one. Photo libraries and phone backup map neatly onto Immich, with automatic mobile upload and face and content search. If you genuinely want one app for everything, Twake keeps chat, files, calendar, tasks, and documents together and self-hosts with Docker. Whatever you pick, move files through WebDAV or a sync client and verify timestamps and checksums; Nextcloud share links, comments, and versions are application metadata that will not survive the trip and should be recreated.