Project

General

Profile

Plugins/Themes, asset locations, and Redmine 6.0.x

Added by Peter Kukla 3 days ago

I'm migrating an Ubuntu 22.04-based Redmine install from 5.0.7 to 6.0.4.

I first realized that the locations for themes and plugin files had changed after loading the redmine_people plugin and seeing broken image icons in the UI.

After doing a bit of troubleshooting, I quickly found that the broken image was located in the "plugins/redmine_people/assets/images" directory but the application was looking for it under "public/assets/plugin_assets/redmine_people". I copied the redmine_people images into the location where the app was looking and the broken images went away. I wasn't particularly reassured, however, given that there were also directories for stylesheets and javascripts in the redmine_people plugin's assets directory, and I wasn't keen on the idea of manually copying a bunch of files to places where I thought maybe they should go; I figured that was a recipe for disaster, and backed-out the redmine_people plugin.

The other plugins didn't cause any noticeable problems in the UI, but I didn't test the system very hard after the initial install of each plugin...I just made sure that the system didn't implode after installation and a few pages would draw properly.

However, while looking at something else, I've now realized that there are a lot of messages about plugin and theme files missing from the new "public/assets/plugin_assets/PLUGIN_NAME" directories.

Have I somehow missed an install step? Or is it just a matter of the plugins not being updated for the new version 6 directory structure?

What's the correct approach for resolving this? Just copying the missing files into the new locations manually?