S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
self-hosting 2026-11-05

Wiki.js 3.1 Ubuntu Install: Postgres 17 + Node 26 Setup

Companion guide and video starting point

Watch the video

In the video: a 113-second walkthrough that installs Wiki.js 3.1.0 on Ubuntu 24.04 with PostgreSQL 17 and Node 26, covering the database role, the release tarball in the wiki folder, the first boot that creates the admin account, a systemd service to keep it alive, and a port 3000 check plus browser login.

Added from the sources: version and flow checks from the 3.1.0 release tag, the installation docs, and the requirements docs, all checked 2026-11-05. There is no Prag research folder for this video, so this package is built from the transcript plus those official docs. Anything not independently confirmed below is marked untested. The video's terminal frames are simulated recreations labeled SIM on screen; the figures below are stills of those frames.

What you need before you start

In the video: Ubuntu 24.04 64-bit with sudo access and about 1 GB of memory, with Node 26 and PostgreSQL 17 pulled from their official repos in a later step, and no Docker needed.

Added from the sources: the requirements docs confirm Linux systems need at least 1 GB of RAM, at least 1 GB of storage for Wiki.js, Node.js 26 as the only supported runtime, and PostgreSQL 17 or 18 with the ltree and pg_trgm extensions available. The default app port is 3000.

Node 26 and PostgreSQL 17 from the official repos

In the video: Node 26 comes first from the NodeSource setup script, then an install plus a version check, followed by PostgreSQL 17 from the official PostgreSQL repo by adding its key and repo file, installing it, and confirming the reported version.

Added from the sources: the requirements docs confirm Node.js 26 is required and earlier Node versions will not work, and that PostgreSQL 17 is a supported database version. Exact setup-script and repo-file contents are not reproduced here because the transcript describes them only at a high level.

Prerequisites at 25 percent: NodeSource setup for Node 26 and the PostgreSQL repo key plus repo file, ending in node v26.12.1 and psql 17.11, in a simulated terminal frame labeled SIM
Prerequisites at 25 percent: NodeSource setup for Node 26 and the PostgreSQL repo key plus repo file, ending in node v26.12.1 and psql 17.11, in a simulated terminal frame labeled SIM (Still from the walkthrough video.)

Database, app files, and the first boot

In the video: as the postgres user, create a login role called wiki with a password, then in a separate command create a database owned by it, because running the two combined into one fails. Then download the 3.1.0 release tarball from GitHub at about 65 megabytes, extract it into the wiki folder, copy the sample config, fill in the port and database details, and start the app once with your admin email to create the admin account.

Added from the sources: the 3.1.0 release tag exists and lists a wiki-js.tar.gz asset at 62.0 MB, against the video's spoken figure of about 65 megabytes. The installation docs confirm the host-install shape of renaming the sample config to config.yml, editing in the database and port settings, running the first boot with your admin email set, and logging in with the default password 12345678 before choosing a new one.

Database at 50 percent: two separate postgres-user commands creating the wiki login role with a placeholder password and the wiki database, with a warning that one combined command fails, in a simulated terminal frame
Database at 50 percent: two separate postgres-user commands creating the wiki login role with a placeholder password and the wiki database, with a warning that one combined command fails, in a simulated terminal frame (Still from the walkthrough video.)

Always-on service and the port 3000 check

In the video: add a service file pointing at the wiki folder with your own username as the service user, reload systemctl, enable and start the service, check that it is active, verify port 3000 answers 200, open it in a browser, log in with your email and the default password shown on screen, and then set a new password.

Added from the sources: the installation docs confirm the systemd shape of a wiki.service file under /etc/systemd/system, with the working directory at the wiki folder, followed by a daemon reload plus start plus enable, and log reading through the service journal. The requirements docs confirm the app listens on the configured port with 3000 as the default.

Always-on service at 75 percent: wiki dot service with WorkingDirectory var wiki and the service user, enabled and started with is-active answering active, in a simulated terminal frame
Always-on service at 75 percent: wiki dot service with WorkingDirectory var wiki and the service user, enabled and started with is-active answering active, in a simulated terminal frame (Still from the walkthrough video.)

Backups, reverse proxy, and what this guide did not test

In the video: the closing direction is to write your homepage and use the docs link below for backups and a reverse proxy.

Added from the sources: the installation docs and the requirements docs carry the follow-on material, including the reverse-proxy rules for forwarding headers and WebSocket upgrades plus the config reference the install step points at. No backup or proxy commands are reproduced here because the video only references the docs link.

Watch the walkthrough

Watch on YouTube