Install Kanboard on Raspberry Pi

Craig Li, Ph.D
2 min readNov 28, 2021

--

Weeks ago I decided to start to publish some of my works in Medium and then find out that I should use an agile framework to track my projects’ progress. I used Kanban board at work. So naturally, I am searching for something similar that I can use at home. Ideally, it can be hosted on Raspberry Pi. And then I found this — Kanboard

Kanboard is an open-source lightweight Kanban board Web UI. There is no fancy UI and only requires SQLite, which is perfect for using Raspberry Pi to host this service. In this example, I used Nginx instead of Apache. (For Apache, please ref to this install instruction)

Installation

Update and upgrade the Raspberry Pi

sudo apt-get udapte
sudo apt-get -y upgrade

Install and Config Nginx

  • uninstall Apache if necessary
sudo apt-get purge apache2*
sudo apt-get autoremove
  • Install Nginx
sudo apt-get install nginx
  • Install PHP (check the available version in Raspberry Pi first, when I wrote this article, 7.3 is available)
sudo apt-get install php7.3-common php7.3-cgi php7.3-fpm php7.3-sqlite php7.3-gd php7.3-mbstring php7.3-xml php7.3
sudo systemctl enable php7.3-fpm.service
  • Config Nginx for PHP. Find block start from location ~ \.php in /etc/nginx/sites-enabled/default and change to
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
}

Set up Kanboard

Find the package in its latest release .

Get package and un-tar to the /var/www/html

wget https://github.com/kanboard/kanboard/archive/refs/tags/<version>.tar.gz
sudo tar xzvf <version>.tar.gz -C /var/www/html/
sudo mv /var/www/html/kanboard-<version> /var/www/html/kanboard
sudo chown -R www-data:www-data /var/www/html/kanboard-$version/data
rm <version>.tar.gz

Test Kanboard

Go to browser and navigate to http://<Raspberry Pi ip>/kanboard and enter the default username and password : admin/admin, then it will show the UI like

The default columns of the workflow are Backlog, Ready, Work in Progress, and Done. You can custom the workflow by navigating to Configure this project -> Columns. And also in Configure this project, you can modify lots of features offered by Kanboard.

To move the task between swimlanes, you can drag and drop the task, which is standard — also very convenient.

--

--

Craig Li, Ph.D
Craig Li, Ph.D

Written by Craig Li, Ph.D

Sr applied AI and ML lead in world leading investment bank. Passionate about AI and Data Engineering. Also work on some Raspberry Pi project when free.

No responses yet