Plugin assets not loading

Hi, I just installed Kanboard 1.2.10 on Ubuntu 18.04, PHP 7.3, MySQL.
Using nginx.

I tried installing some plugins, but all have the same issue:
CSS/JS is not loaded. The path to the resource is like this:

So there’s no ‘data’ in the path and therefore the request would normally return a 404 but it’s intercepted by the rewrite rule and index.php is returned instead.

What’s wrong?

Start with the basics.

  • Permissions to plugins folder.
  • config.php can define plugin folder location, make sure its correct.
  • check nginx.conf

Found the problem. I created the plugins folder in the data folder and set it as /data/plugins in config. Turns out the plugins have their paths hardcoded…