Can't install kanboard

Hi
I’m using Kanboard at work and want to use it at home also for all the different ‘projects’

Have been trying to follow the Installation Instructions but I’m stuck and can’t reach the first login.

System:

Blockquote
System: Host: b1 Kernel: 4.15.0-46-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine: System: Hewlett-Packard product: HP Z400 Workstation
Mobo: Hewlett-Packard model: 0B4Ch v: D Bios: Hewlett-Packard v: 786G3 v03.61 date: 03/05/2018
CPU: Quad core Intel Xeon W3550 (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 24532
clock speeds: max: 3060 MHz 1: 1704 MHz 2: 1602 MHz 3: 1604 MHz 4: 1604 MHz
Graphics: Card: NVIDIA GT218 [GeForce 210] bus-ID: 0f:00.0
Display Server: X.Org 1.18.4 drivers: nouveau (unloaded: fbdev,vesa) Resolution: 1680x1050@59.95hz
GLX Renderer: NVA8 GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes
Audio: Card-1 NVIDIA High Definition Audio Controller driver: snd_hda_intel bus-ID: 0f:00.1
Card-2 Intel 82801JI (ICH10 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-46-generic
Network: Card: Broadcom and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe
driver: tg3 v: 3.137 bus-ID: 01:00.0
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac:
Drives: HDD Total Size: 1062.3GB (6.6% used) ID-1: /dev/sda model: ST1000DM003 size: 1000.2GB temp: 30C
ID-2: USB /dev/sdg model: Ultra size: 62.1GB temp: 0C
Partition: ID-1: / size: 911G used: 23G (3%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 6.42GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 46.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 222 Uptime: 50 min Memory: 1593.6/11990.5MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

nginx status:

Blockquote
service nginx status
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-05-27 20:56:06 CEST; 1min 0s ago
Main PID: 5223 (nginx)
CGroup: /system.slice/nginx.service
├─5223 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
├─5271 nginx: worker process
├─5272 nginx: worker process
├─5273 nginx: worker process
└─5274 nginx: worker process
May 27 20:56:06 b1 systemd[1]: Starting A high performance web server and a reverse proxy server…
May 27 20:56:06 b1 systemd[1]: Started A high performance web server and a reverse proxy server.

mysql status:

Blockquote
mysql -V
mysql Ver 14.14 Distrib 5.7.26, for Linux (x86_64) using EditLine wrapper
service mysql status
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-05-27 20:19:25 CEST; 1h 15min ago
Main PID: 1124 (mysqld)
CGroup: /system.slice/mysql.service
└─1124 /usr/sbin/mysqld
May 27 20:19:22 b1 systemd[1]: Starting MySQL Community Server…
May 27 20:19:25 b1 systemd[1]: Started MySQL Community Server.

php status:

Blockquote
php -v
PHP 7.3.5-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May 3 2019 10:00:05) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.3.5, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.3.5-1+ubuntu16.04.1+deb.sury.org+1, Copyright © 1999-2018, by Zend Technologies
[PHP Modules]
calendar
Core
ctype
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache

I have seen some users having issues if the folder is named ‘kanboard’ and suggested to rename it to ‘kanban’ hence my folder is named ‘kanban’ at the moment but doesen’t make any difference.
This is the content in the kanban folder

Blockquote
/var/www/html/kanban $ ls -lat
total 140
drwxr-xr-x 3 root root 4096 May 27 20:47 …
drwxrwxr-x 8 root root 4096 Apr 6 04:12 .
drwxrwxr-x 31 root root 4096 Apr 6 04:12 app
drwxrwxr-x 6 root root 4096 Apr 6 04:12 assets
-rw-rw-r-- 1 root root 50367 Apr 6 04:12 ChangeLog
-rwxrwxr-x 1 root root 406 Apr 6 04:12 cli
-rw-rw-r-- 1 root root 8507 Apr 6 04:12 config.default.php
drwxrwxr-x 2 www-data www-data 4096 Apr 6 04:12 data
-rw-rw-r-- 1 root root 13094 Apr 6 04:12 favicon.ico
-rw-rw-r-- 1 root root 913 Apr 6 04:12 .htaccess
-rw-rw-r-- 1 root root 263 Apr 6 04:12 index.php
-rw-rw-r-- 1 root root 78 Apr 6 04:12 jsonrpc.php
drwxrwxr-x 7 root root 4096 Apr 6 04:12 libs
-rw-rw-r-- 1 root root 1090 Apr 6 04:12 LICENSE
drwxrwxr-x 2 root root 4096 Apr 6 04:12 plugins
-rw-rw-r-- 1 root root 25 Apr 6 04:12 robots.txt
drwxrwxr-x 12 root root 4096 Apr 6 04:12 vendor
-rw-rw-r-- 1 root root 793 Apr 6 04:12 web.config

If I browse to ‘localhost’ or the ip address of the server I get the “Welcome to nginx”! message
(The browser tab has the correct favicon.ico “KB” )
but if I go to ‘localhost/kanban’ I get “403 Forbidden”
And any other non-existant foldername behind localhost/ give “404 Not Found” as expected.

The kanboard version is latest 1.2.9

I have the feeling that I have missed something simple related to user or folder privileges?!

My guess is that it’s some problem with missing configuration of nginx,
I haven’t changed anything since it’s note mentioned anywhere in the Installation guide
https://docs.kanboard.org/en/latest/admin_guide/installation.html

I really could need some assistance

If you create a simple php file <?php echo "It works! (Or it does not?)"; on your nginx root web content folder (apparently /var/www/html/), named index.php, what happens when:

  1. You browse to http://localhost/?
  2. You browse to http://localhost/index.php?

Apparently your nginx installation isn’t right.
Also, it seems that you haven’t created the config.php file, did you? If you didn’t, then where did you put your MySQL credentials/address? Because by default kanboard will use a SQLite file, and migrate it to MySQL is a pain.
About permissions, which user does your nginx process uses? Usually is nginx, but I’m not familiarized with these things on Ubuntu, so maybe you’re right and it’s www-data. But if nginx is running with user nginx, then you should change the ownership of the data folder to nginx.
I’ve never used php with nginx, so if this is a problem with your installation I won’t be able to help you much.