XWiki
Self-hosted server Replaces it Active Open source · LGPL-2.1 Linux Self-hostable
You give upA heavier Java server you run yourself, and the guided Confluence migrator and the macro packs that mimic Confluence's are paid add-ons.
Imports your data: free Confluence XML importer brings over spaces, pages and attachments; many Confluence macros need XWiki's paid migration toolkit
Self-host
Runs on your own Linux server. Setup docs are on xwiki.org.