Wiki.js is an open source wiki engine, and version 3 is a full rewrite that went stable on 1 November 2026. It runs on Node.js with PostgreSQL 17 or 18 as its only supported database, and it needs about 1 GB of RAM. You can’t upgrade a 2.x install in place; you migrate to a fresh instance.
What Is Wiki.js 3?
Wiki.js is a wiki you host yourself, with a visual editor, Markdown editing and a permissions model. Version 3 rewrites both the backend and the frontend. Don’t expect a smooth upgrade from 2.x, because the project states that an in-place upgrade isn’t possible.
What changed, per a migration guide published after the release: the Markdown and AsciiDoc editors run on Monaco, most editors support real-time collaboration, and there are new page types such as drawings, feedback boards, blogs and live notes. Approval workflows, rules that flag stale pages and multi-site support are new too. There’s also a built-in MCP server at /_mcp, off by default.
The same guide notes that 3.0.2 and 3.1.0 shipped security fixes after the first stable release. Start on 3.1.0 or newer, not 3.0.0.
Wiki.js 3 System Requirements
| Item | Requirement |
|---|---|
| Database | PostgreSQL 17 or 18 only, with the ltree and pg_trgm extensions |
| CPU | 1 core minimum, 2 or more recommended |
| RAM | 1 GB minimum on Linux |
| Storage | 1 GB minimum plus uploads |
| Docker image | ghcr.io/requarks/wiki:3 (about 850 MB) |
PostgreSQL 17 or newer is the one that catches people. Wiki.js 2 ran on MySQL, MariaDB, SQLite and older PostgreSQL. Version 3 doesn’t, which means a self hosted wiki on an old Postgres container needs a database upgrade first. Hosting Wiki.js on a small VPS is no problem on resources; the database version is the real constraint.
How to Install Wiki.js 3 with Docker Compose
You need Docker with the Compose plugin and a domain if you want HTTPS. Pin the image to the 3 tag or an exact version. Don’t use latest, because a major version jump on a wiki is not a surprise you want.
services:
db:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_DB: wiki
POSTGRES_USER: wiki
POSTGRES_PASSWORD: change-this-password
volumes:
- db-data:/var/lib/postgresql/data
wiki:
image: ghcr.io/requarks/wiki:3
restart: unless-stopped
depends_on:
- db
environment:
DB_HOST: db
DB_USER: wiki
DB_PASS: change-this-password
DB_NAME: wiki
ports:
- "127.0.0.1:3000:3000"
volumes:
db-data:
The variable names above follow the Wiki.js Docker documentation. If the container fails to start on first boot, compare them with the current 3.x release notes, because the 3.x docs were still changing at release time.
- Save the file as compose.yaml, change the password in both places and run docker compose up -d.
- Check the Postgres version with docker compose exec db psql -U wiki -c ‘select version();’. It should say 17 or 18.
- Put a reverse proxy such as Caddy in front of port 3000 and enable HTTPS.
- Open the site and finish the setup wizard to create the root admin account.
- Turn on the MCP endpoint only if you need it. It’s off by default for a reason.
How to Migrate From Wiki.js 2.x to Wiki.js 3
The migration is an export and import, not an upgrade. Your 2.x database can be MySQL, MariaDB, SQLite or older PostgreSQL, because the new instance imports into its own fresh PostgreSQL database.
- Update your 2.x wiki to the latest 2.x release. Then, in the Administration Area under Utilities, open Export for Wiki.js 3.x and download the .wkbackup file.
- Deploy a separate 3.x instance with its own database and log in as root admin.
- Under Utilities, choose Import from Wiki.js 2.x and upload the file. You can repeat the import, and existing items are skipped unless you turn on Overwrite on conflict.
- Redo what doesn’t migrate: module settings, security settings, logo, hostname and authentication or SSO.
- Fix the syntax. Relative links now resolve from the parent folder, diagrams need block wrappers such as block-diagram or block-plantuml, draw.io diagrams go into a ::block-drawio block, and {.tabset} becomes :::block-tabs.
- Do a final import at cutover, switch the domain, and keep 2.x around as a fallback for a while.
Check your busiest pages first. Broken relative links are the thing readers notice before you do.
Wiki.js vs BookStack vs Docmost
Wiki.js isn’t the only self-hosted wiki, and sometimes it isn’t the right one. Here’s a rough map.
| Tool | Stack | Strength | Catch |
|---|---|---|---|
| Wiki.js 3 | Node.js, PostgreSQL 17+ | Flexible editors, many page types, approval workflows | New major version; needs recent PostgreSQL |
| BookStack | PHP, MySQL or MariaDB | Simple book, chapter and page structure | Less flexible layout |
| Docmost | Node.js, PostgreSQL | Notion-like editing and team collaboration | Younger project |
If you need a wiki quickly for a team that already knows Notion, look at Docmost, which we’ve covered separately. If you want the biggest feature set and don’t mind a version-3 learning curve, Wiki.js fits. If your team is non-technical and wants something obvious, BookStack’s structure is easy to explain.
Why Run Wiki.js on a Contabo VPS
A wiki is a good first workload for a small VPS. Cloud VPS 4 gives you 4 vCPU, 8 GB RAM and 100 GB SSD for €5.24 a month, which is well above Wiki.js’s 1 GB minimum and leaves room for the database, a reverse proxy and file uploads. Prices are for a 24-month term including VAT and they change, so check the pricing page.
It’s an unmanaged VPS, so you handle updates. For a wiki, that means patching the Wiki.js image when security fixes ship (3.0.2 and 3.1.0 both did) and running regular PostgreSQL backups.
FAQ: Wiki.js
Is Wiki.js 3 stable enough for production?
The first stable 3.0 release came out on 1 November 2026, and 3.0.2 and 3.1.0 have since shipped security fixes. Start on 3.1.0 or newer, test your content in a staging instance first, and keep your 2.x install running during the migration.
Can I upgrade Wiki.js 2 to 3 in place?
No. The project says an in-place upgrade isn’t possible. You export your content from 2.x as a .wkbackup file, set up a new 3.x instance with its own PostgreSQL database, and import. Plan time to fix syntax differences afterwards.
What database does Wiki.js 3 need?
PostgreSQL 17 or 18, with the ltree and pg_trgm extensions. MySQL, MariaDB and SQLite, which Wiki.js 2 supported, aren’t supported in version 3. Check your Postgres version before you import anything.
What is the best self-hosted wiki?
It depends on your team. Wiki.js has the most features, BookStack has the simplest structure and Docmost has the most Notion-like editor. Try the two that suit your team on a small VPS before committing, since each takes minutes to start.
Disclaimer: Product specifications, features, and prices mentioned in this article are subject to change and may vary by region, billing term, and active promotions. Please check each provider’s or brand’s official website for current figures, pricing, and local currency rates.