When running mattermost in a /subdir on a server, plugins loose track of the path and assume the root.
Steps to reproduce
Configure mattermost to run on a example.tld/subdir/ in the config.json then install a plugin that uses the webserver to launch resources, for instance the zoom or standup-raven one.
I expect plugins to get the real full pwd from the mattermost config that I have configured to include /subdir not just the domain and append /plugins to it
404 not found errors on plugins such as zoom and standup-raven.
A workaround so far has been to unload all plugins affected, edit the main.js file to point to /subdir/plugins instead of just /plugins and then load the plugin. This ofcourse resets each time mattermost is restarted.