Kanboard is a single PHP application: no Node build, no Redis, no message queue, and a SQLite file as its default database. On Ubuntu the whole stack is Nginx, PHP-FPM and a writable data directory. Get those three right and it works on the first request.
This guide installs the latest Kanboard release behind Nginx, puts it on HTTPS with a Let’s Encrypt certificate, and walks the first login, a project board and a plugin install from the web UI. It also covers the errors we hit and the memory each setup used. Our verdict up front: SQLite is fine for a small team, and MariaDB is worth the extra 140 MiB once several people work in it all day. We ran the base install and HTTP-01 certificate on Ubuntu 26.04 and 24.04, and the MariaDB, plugin and cron steps on 26.04, all with Kanboard 1.2.58 in November 2026.
Prerequisites
You need a server you can reach over SSH and a name that resolves to it, because the certificate step proves ownership over HTTP. The list is short:
- Ubuntu 26.04 or 24.04 server with a sudo user
- A domain with an A record pointing at the server (any DNS provider)
- Ports 80 and 443 reachable from the internet for HTTP-01 validation
- 1 vCPU and 1 GB RAM for SQLite, 2 GB if MariaDB shares the host
The lab ran on 2 GB, 2 vCPU cloud VMs, which is a floor for following along rather than a production number. What drives the size is concurrency: each busy PHP-FPM worker holds roughly 15 to 20 MiB, and MariaDB adds its buffer pool on top. The measured numbers are at the end of the guide.
Set the domain and email
Two values repeat through the Nginx and certificate steps. Export them once in the shell you’ll use for the whole install, and change both to your own:
export DOMAIN="kanboard.example.com"
export EMAIL="[email protected]"
Let’s Encrypt sends expiry warnings to that email address, so use a mailbox someone reads. If you open a new SSH session later, export both again before continuing.
Install Nginx and PHP-FPM
Kanboard’s requirements page asks for PHP 8.1 or newer plus a handful of extensions. Install them with the versionless package names, so the same line works on both Ubuntu releases and pulls whatever PHP the release ships:
sudo apt update
sudo apt install -y nginx php-fpm php-gd php-mbstring php-xml php-curl php-zip php-intl php-sqlite3 php-mysql php-ldap
Most of those packages exist because Kanboard checks for them on every request and stops with an error if one is missing. The ones worth knowing about:
php-sqlite3andphp-mysql: the two database driversphp-gd: avatars and thumbnailsphp-xml: the DOM extension Kanboard refuses to start withoutphp-zip: the web plugin installer
Drop php-ldap if you will never connect a directory, since it only adds load time to every worker. Keep the rest even if you plan to stay on SQLite, because a later switch to MariaDB is easier when the driver is already there. Confirm both services are up and find the FPM socket.
php -v | head -1
systemctl is-active nginx php*-fpm
ls -l /run/php/
nginx -v
On Ubuntu 26.04 the server came up with the PHP and Nginx builds from the archive, printed on the first and last lines. The line that matters is the php-fpm.sock symlink:
PHP 8.5.4 (cli) (built: Nov 19 2026 00:22:49) (NTS)
active
active
total 4
lrwxrwxrwx 1 root root 30 Nov 29 17:21 php-fpm.sock -> /etc/alternatives/php-fpm.sock
-rw-r--r-- 1 root root 5 Nov 29 17:21 php8.5-fpm.pid
srw-rw---- 1 www-data www-data 0 Nov 29 17:21 php8.5-fpm.sock
nginx version: nginx/1.28.3 (Ubuntu)
Ubuntu 24.04 ships older PHP and Nginx builds but the same symlink. Because /run/php/php-fpm.sock always points at the installed version, the server block below never hardcodes a PHP version and survives the next release upgrade. If you want a newer PHP than the archive offers, the PHP 8.5 with PHP-FPM guide covers the packaging options.
Download the latest Kanboard release
Kanboard ships as a source tarball on GitHub with its PHP dependencies already vendored, so there’s no Composer step. Ask the GitHub API for the newest tag instead of pasting a version that will be stale next month:
KB_VER=$(curl -s https://api.github.com/repos/kanboard/kanboard/releases/latest | grep -oP '"tag_name": "v\K[^"]+')
echo "KB_VER=${KB_VER}"
cd /tmp
wget https://github.com/kanboard/kanboard/archive/refs/tags/v${KB_VER}.tar.gz
tar xzf v${KB_VER}.tar.gz
sudo mv kanboard-${KB_VER} /var/www/kanboard
The variable should print the current release, and the directory should hold the application, the data and plugins folders and a config.default.php. Check who owns the two writable folders, because that decides whether the first page load works.
ls -ld /var/www/kanboard/data /var/www/kanboard/plugins
They belong to the user who unpacked the tarball, not to the web server:
drwxrwxr-x 2 josphat josphat 4096 Nov 21 03:22 /var/www/kanboard/data
drwxrwxr-x 2 josphat josphat 4096 Nov 21 03:22 /var/www/kanboard/plugins
That ownership is the most common reason a fresh Kanboard shows an error page instead of a login form. We’ll leave it as is for one more step so you can see the exact message, then fix it.
Configure the Nginx server block
Kanboard’s docs carry only a minimal Nginx example, so this server block extends it. It sends everything through index.php, and it returns 404 for the code, vendor and data paths so nobody can download your SQLite database or config.php. Open a new file:
sudo vim /etc/nginx/sites-available/kanboard.conf
Paste the following. Leave kanboard.example.com in place for now; the next command swaps in your domain:
server {
listen 80;
listen [::]:80;
server_name kanboard.example.com;
root /var/www/kanboard;
index index.php;
client_max_body_size 32M;
# Code, config and the data directory never leave the server
location ~ ^/(data|app|libs|vendor|cli|config\.php|config\.default\.php)(/|$) {
return 404;
}
location ~ /\.(?!well-known) {
return 404;
}
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php-fpm.sock;
}
}
The dot-file rule skips .well-known on purpose, because certbot’s HTTP-01 challenge is served from there. Note that client_max_body_size 32M only lifts Nginx’s limit: Ubuntu’s PHP-FPM still caps uploads at upload_max_filesize = 2M and post_max_size = 8M, so attachments over 2 MB fail until you raise both in /etc/php/*/fpm/php.ini and restart php*-fpm. Set the server name, enable the site, remove the default site and test the syntax before reloading:
sudo sed -i "s/kanboard.example.com/${DOMAIN}/" /etc/nginx/sites-available/kanboard.conf
sudo ln -s /etc/nginx/sites-available/kanboard.conf /etc/nginx/sites-enabled/
sudo rm -f /etc/nginx/sites-enabled/default
sudo nginx -t
sudo systemctl reload nginx
curl -s "http://${DOMAIN}/"
The syntax check passes, but on our 26.04 server the first request returned an error. It’s the one to expect if you skipped nothing:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Internal Error: The directory "/var/www/kanboard/app/../data" must be writeable by your web server user
PHP-FPM runs as www-data, so it cannot write to a directory your login user owns. Kanboard needs data/ for the SQLite file, attachments and cache, and plugins/ for the web installer later. Hand data and plugins to the web server, and leave the rest of the tree read-only to it:
sudo chown -R www-data:www-data /var/www/kanboard/data /var/www/kanboard/plugins
curl -s -o /dev/null -w '%{http_code} %{redirect_url}\n' http://127.0.0.1/
Our 24.04 server answered with this; a 302 to the login controller means Kanboard created its SQLite database and is ready:
302 http://127.0.0.1/?controller=AuthController&action=login
We then requested the sensitive paths directly to prove the deny rules work. All five returned 404:
config.phpdata/db.sqliteapp/common.php.git/configvendor/autoload.php
Run the same check against data/db.sqlite on your own server before you go further:
curl -s -o /dev/null -w '%{http_code}\n' "http://${DOMAIN}/data/db.sqlite"
Anything but 404 is a problem. A 200 there means the deny rule is missing, so anyone who guesses the path can download every task, comment and password hash in one request. Fix the server block first, because certbot will copy whatever is in it into the HTTPS block.
Choose SQLite or MariaDB
Kanboard is already running on SQLite at this point, which means the database decision is really whether to move off it before anyone logs in. Kanboard’s default admin / admin login is live from this moment, so work through the next steps without a break and change that password as soon as HTTPS is in place. The upstream docs name PostgreSQL as the recommended database, accept SQLite for single users or small teams, and say not to use SQLite with NFS or Docker. Here is how the two options compared on the same 26.04 VM:
| Question | SQLite (default) | MariaDB |
|---|---|---|
| Extra packages | None | mariadb-server |
| Extra memory measured | 0 | about 142 MiB PSS |
| Backup | Copy data/db.sqlite while idle, or sqlite3 .backup | mariadb-dump |
| Concurrent writers | One write lock for the whole file | Row-level locking |
| Good fit | Up to a handful of active users | A team that lives in the board all day |
If SQLite fits you, skip the next subsection and go straight to HTTPS. Switching later is a data migration rather than a config change, so decide now if the board will grow past a few people.
Switch Kanboard to MariaDB
Install the server from the Ubuntu archive; on 26.04 the archive build worked with Kanboard without any tuning. For tuning beyond the defaults, the MariaDB install guide goes further.
sudo apt install -y mariadb-server
sudo mariadb
At the MariaDB prompt, create the database with the character set Kanboard’s MySQL docs specify, plus a user that can only touch that database. Pick your own password:
CREATE DATABASE kanboard CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'kanboard'@'localhost' IDENTIFIED BY 'Kb-Db-Pass-2026';
GRANT ALL PRIVILEGES ON kanboard.* TO 'kanboard'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Kanboard reads overrides from config.php and uses built-in defaults (listed in config.default.php) for everything else, so the override file only needs the database lines. Create it:
sudo vim /var/www/kanboard/config.php
Add the connection details, using the password you set above:
<?php
// Database: comment these out to stay on SQLite (data/db.sqlite)
define('DB_DRIVER', 'mysql');
define('DB_USERNAME', 'kanboard');
define('DB_PASSWORD', 'Kb-Db-Pass-2026');
define('DB_HOSTNAME', 'localhost');
define('DB_NAME', 'kanboard');
The file holds a password, so make it readable by the web server group only. Then remove the SQLite file the first request created, which is now unused, and hit the site once so Kanboard builds its schema in MariaDB:
sudo chown root:www-data /var/www/kanboard/config.php
sudo chmod 640 /var/www/kanboard/config.php
sudo rm -f /var/www/kanboard/data/db.sqlite
curl -s -o /dev/null -w '%{http_code}\n' "http://${DOMAIN}/"
That first request ran every migration and took about 7 seconds on our VM before returning 302. Later requests are instant, so you only pay that cost once. Confirm the tables landed before you move on:
sudo mariadb -B -e "SELECT COUNT(*) AS tables FROM information_schema.tables WHERE table_schema='kanboard'; SELECT version FROM kanboard.schema_version;"
The release this guide installs created 48 tables at schema version 139. A count of zero means the request never reached PHP or the credentials are wrong, and the Nginx error log will say which:
tables
48
version
139
Back up this database with mariadb-dump kanboard from now on, because data/ no longer holds your tasks. Attachments still live under data/files, so include that directory in the same backup.
Secure Kanboard with Let’s Encrypt
The login form posts a password, so HTTPS is not optional, and the JSON-RPC API later in this guide sends credentials on every call. Certbot’s Nginx plugin uses the HTTP-01 challenge, which works with any DNS provider as long as port 80 reaches the server. It also rewrites the server block for you:
sudo apt install -y certbot python3-certbot-nginx
sudo certbot --nginx -d "${DOMAIN}" --non-interactive --agree-tos --redirect -m "${EMAIL}"
The archive’s certbot issued the certificate on both releases and installed it in the same run. Look for the deploy line naming kanboard.conf:
Account registered.
Requesting a certificate for kanboard.example.com
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/kanboard.example.com/fullchain.pem
Key is saved at: /etc/letsencrypt/live/kanboard.example.com/privkey.pem
This certificate expires on 2027-02-27.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate
Successfully deployed certificate for kanboard.example.com to /etc/nginx/sites-enabled/kanboard.conf
Congratulations! You have successfully enabled HTTPS on https://kanboard.example.com
The --redirect flag added a port 80 block that sends everyone to HTTPS. Renewal runs from certbot.timer, so prove it works now rather than in 60 days. When stdin is not a terminal, as in our scripted SSH session, certbot waits a random delay before renewing, and our dry run sat silently for several minutes. --no-random-sleep-on-renew skips that wait:
systemctl list-timers certbot.timer --no-pager
sudo certbot renew --dry-run --no-random-sleep-on-renew
The timer is scheduled and the simulated renewal succeeds:
NEXT LEFT LAST PASSED UNIT ACTIVATES
Mon 2026-11-30 10:50:21 UTC 17h - - certbot.timer certbot.service
Simulating renewal of an existing certificate for kanboard.example.com
Congratulations, all simulated renewals succeeded:
/etc/letsencrypt/live/kanboard.example.com/fullchain.pem (success)
If the dry run fails, fix it now while you remember the setup. A renewal that breaks silently shows up 90 days later as a browser warning for every user.
Use DNS-01 when port 80 is closed
A board on a private LAN or behind NAT cannot answer HTTP-01, because Let’s Encrypt has no route to port 80. DNS-01 proves ownership with a TXT record instead, through a certbot plugin for your DNS host. Ubuntu packages the common ones:
| DNS provider | Ubuntu package |
|---|---|
| Cloudflare | python3-certbot-dns-cloudflare |
| Amazon Route 53 | python3-certbot-dns-route53 |
| DigitalOcean | python3-certbot-dns-digitalocean |
| Google Cloud DNS | python3-certbot-dns-google |
| Linode | python3-certbot-dns-linode |
| OVH | python3-certbot-dns-ovh |
| BIND or any RFC 2136 server | python3-certbot-dns-rfc2136 |
Cloudflare is the worked example; substitute your provider’s plugin and its credentials file if you’re on something else. Store an API token scoped to Zone:DNS:Edit for that one zone in a root-only file, and pair the DNS authenticator with the Nginx installer so the server block still gets rewritten:
sudo apt install -y python3-certbot-dns-cloudflare
sudo mkdir -p /root/.secrets
sudo install -m 600 /dev/null /root/.secrets/cloudflare.ini
echo "dns_cloudflare_api_token = your-token-here" | sudo tee /root/.secrets/cloudflare.ini >/dev/null
sudo certbot -a dns-cloudflare -i nginx --dns-cloudflare-credentials /root/.secrets/cloudflare.ini -d "${DOMAIN}" --non-interactive --agree-tos --redirect -m "${EMAIL}"
Renewal works the same way through the timer, since certbot records the authenticator in the renewal config.
Open the firewall
Allow SSH before enabling UFW, or you will lock yourself out of a remote server and need the provider’s console to get back in. The Nginx Full profile opens 80 and 443 together, and 80 has to stay open for HTTP-01 renewals:
sudo ufw allow OpenSSH
sudo ufw allow 'Nginx Full'
sudo ufw --force enable
sudo ufw status
Only SSH and the two web ports should be listed:
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
Nginx Full ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
Nginx Full (v6) ALLOW Anywhere (v6)
MariaDB listens on localhost only by default, so port 3306 stays closed without a rule. The UFW command reference covers rate limiting SSH and allowing single source addresses.
Log in and change the admin password
Open https://kanboard.example.com with your own domain. The default account is admin with the password admin, which is on every Kanboard install, so it is the first thing anyone scanning your server will try. Until you change it, the board is effectively public.

Sign in, then open the avatar menu at the top right, choose My profile, and pick Change password from the sidebar. The page asks for the current password once and the new one twice.

Kanboard’s brute force protection shows a CAPTCHA after 3 failed logins and locks the account for 15 minutes after 6, per its security docs. That slows guessing but does not stop someone who tries admin first, so change it before the URL is shared. Then create a normal user for daily work and keep the admin account for settings.
Create your first project board
The dashboard after the first login is empty. The New project link sits in the page header under the logo; the plus icon at the top right opens the same form.

Give the project a name and, optionally, a short identifier. The identifier is what you would use in task references and the search syntax, so keep it alphanumeric and short. Changing it later breaks saved searches that use it, which is why it is worth a moment now.

Save, and Kanboard creates the board with four columns: Backlog, Ready, Work in progress and Done. Each column header has a plus icon that opens the task form. We filled the board through the JSON-RPC API instead, which accepts your normal username and password over HTTPS and is handy for importing a backlog:
curl -s -u admin:your-new-password "https://${DOMAIN}/jsonrpc.php" \
-d '{"jsonrpc":"2.0","method":"createTask","id":1,"params":{"title":"Audit current page analytics","project_id":1,"column_id":1,"color_id":"yellow"}}'
Each call returns the new task ID in result, so a script can chain subtasks or comments onto it. After seven of them the board looked like this.

One setting is worth fixing straight away. The API returned board links as http://localhost/... because Kanboard does not know its public address until you tell it. Set Settings, Application settings, Application URL to https://kanboard.example.com/, or every link in notification emails will point at localhost.
Install a plugin from the web UI
Kanboard has a plugin directory built into the admin menu under Plugins, but a stock install refuses to use it. Open Plugin Directory in the sidebar and you get this:

The web installer ships switched off (config.default.php sets PLUGIN_INSTALLER to false), because a plugin is PHP code that runs with full access to your data and nobody reviews it. The plugin docs list three conditions: PLUGIN_INSTALLER set to true, a plugins directory the web server can write, and the PHP Zip extension. The last two are already done. If you switched to MariaDB, config.php exists, so append the setting to it:
echo "define('PLUGIN_INSTALLER', true);" | sudo tee -a /var/www/kanboard/config.php
php -m | grep -i zip
On a SQLite install there is no config.php yet, and tee -a would create one without the <?php line, so PHP would print the define as text. Create the file with its opening tag instead:
printf "<?php\ndefine('PLUGIN_INSTALLER', true);\n" | sudo tee /var/www/kanboard/config.php
sudo chown root:www-data /var/www/kanboard/config.php
sudo chmod 640 /var/www/kanboard/config.php
Reload Plugin Directory and every entry now has an Install link. We picked Gantt, the chart plugin by Kanboard’s author, and clicked Install on its row. Its GitHub repository is archived and marked not maintained, so treat it as a demonstration and prefer actively maintained plugins for anything you depend on:

Kanboard downloads the release zip from GitHub, unpacks it into plugins/ and lands you on Installed Plugins with a success banner:

On disk the plugin is a directory owned by www-data, which is also where you’d delete it by hand if a broken plugin ever takes the UI down:
drwxr-xr-x 9 www-data www-data 4096 Nov 29 17:31 Gantt
Once your plugins are in, switch the installer off again. Edit the existing line rather than appending a second define, because PHP keeps the first value and only logs a warning, which becomes a fatal error in PHP 9:
sudo sed -i "s/define('PLUGIN_INSTALLER', true);/define('PLUGIN_INSTALLER', false);/" /var/www/kanboard/config.php
sudo grep PLUGIN_INSTALLER /var/www/kanboard/config.php
The grep should print define('PLUGIN_INSTALLER', false);, and Plugin Directory shows the not configured banner again. Leaving it on means anyone who steals the admin session can push arbitrary PHP onto the server with one click.
Schedule the daily cron job
Overdue task notifications and some reports depend on a daily background job. The cron docs run it as the web server user, so files it writes stay owned by www-data:
echo "0 8 * * * cd /var/www/kanboard && ./cli cronjob >/dev/null 2>&1" | sudo crontab -u www-data -
sudo crontab -u www-data -l
cd /var/www/kanboard && sudo -u www-data ./cli cronjob
sudo -u www-data ./cli --version
That replaces any existing crontab for www-data, which is empty on a fresh server. The manual run prints nothing on success, and the CLI reports the installed release:
0 8 * * * cd /var/www/kanboard && ./cli cronjob >/dev/null 2>&1
Kanboard 1.2.58
Pick an hour when nobody is working, since the job sends its overdue notifications in one batch. Mail delivery needs SMTP settings in config.php, which the configuration reference lists.
Fix common Kanboard errors
Every error below came from the lab servers except the certificate failures, which are the two ways HTTP-01 and DNS-01 usually break.
Internal Error: The directory must be writeable by your web server user
The full text names /var/www/kanboard/app/../data. It means www-data cannot write to data/, usually because the tarball was unpacked as your user. Run the chown from the Nginx step on data and plugins. Avoid chmod 777 as a shortcut, because that leaves the database writable by every account on the box.
Internal Error: PHP extension required: “pdo_sqlite”
Kanboard checks its extensions one at a time and stops at the first missing one, so a minimal install shows a chain of errors. On a 24.04 server with only nginx and php-fpm installed, we added one package at a time and restarted PHP-FPM after each:
Internal Error: PHP extension required: "pdo_sqlite"
after php-sqlite3:
Internal Error: This PHP extension is required: "gd"
after php-mbstring:
Internal Error: This PHP extension is required: "gd"
after php-gd:
Internal Error: This PHP extension is required: "dom"
after php-xml:
After php-xml the site returned the login redirect. The dom error is the confusing one, because no package is called php-dom; it lives in php-xml. Install the full package line from the PHP step and restart php*-fpm, since FPM only loads extensions at startup.
Your Kanboard instance is not configured to install plugins from the user interface
This is the expected message on a stock install, so nothing is broken. Add PLUGIN_INSTALLER to config.php as shown above and reload the page. If Install links appear but the install fails, check that plugins/ is owned by www-data and that php -m lists zip.
Certbot fails the HTTP-01 or DNS-01 challenge
For HTTP-01, Let’s Encrypt must reach http://your-domain/.well-known/acme-challenge/ on port 80. Check that dig +short on your domain returns this server’s public address, that a cloud security group or router forwards port 80, and that UFW allows Nginx Full. For DNS-01, a failure is almost always the API token. It needs DNS edit rights on the exact zone; a token scoped to a different zone makes the Cloudflare plugin report Unable to determine zone_id and ask you to confirm the token has access to the domain.
Size the server from measured memory
We measured proportional set size (PSS) from /proc/<pid>/smaps_rollup after 30 requests on each setup. PSS splits shared library pages between processes, so the numbers add up honestly, unlike RSS, which counted the same PHP-FPM pool as 99.7 MiB. The free -m column is total used memory on a 2 GB VM; a fresh 26.04 VM used 443 MB before anything was installed.
| Setup | Nginx (3 procs) | PHP-FPM (3 procs) | MariaDB | free -m used |
|---|---|---|---|---|
| Ubuntu 26.04, SQLite | 5.3 MiB | 41.2 MiB | n/a | 474 MB |
| Ubuntu 26.04, MariaDB | 8.0 MiB | 50.1 MiB | 142.2 MiB | 587 MB |
| Ubuntu 24.04, SQLite | 6.9 MiB | 36.1 MiB | n/a | 446 MB |
Kanboard itself is cheap. Nginx plus PHP came to about 47 MiB on SQLite, and the database file held one project and seven tasks in 400 KB. Adding MariaDB took the measured PSS from about 47 MiB to about 200 MiB, nearly all of it the MariaDB server process, which is the real cost of the team setup. So a 1 GB VM runs a SQLite board comfortably, 2 GB is the sensible floor once MariaDB joins it, and more PHP-FPM workers (pm.max_children) matter more than more RAM as users grow. If Kanboard feels too minimal, Wekan and Taiga are heavier alternatives on the same distro, the LEMP stack on Ubuntu 26.04 guide goes deeper on Nginx and PHP-FPM tuning, and the same Kanboard install on RHEL-family systems is in Install Kanboard on Rocky Linux 10 / AlmaLinux 10.