On Monday, March 10, 2025 8:57:52 PM MST Soren Stoutner wrote:
> So, Passenger starts and then immediately stops. Nothing in this log
> indicates to me what the core problem is. Any ideas?
I think this has something to do with the change in directory name from plugin_assets to assets with the 6.0 release.
https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-8-File-system-permissions
Running in development mode exposed the following error details:
Showing /usr/share/redmine/app/views/layouts/base.html.erb where line #10 raised:
unexpected token at ''
Extracted source (around line #155):
153 Helper.prepend(Module.new do
154 def compute_asset_path(path, options = {})
155 super
156 rescue MissingAssetError => e
157 File.join Rails.application.assets.resolver.prefix, path
158 end
Rails.root: /usr/share/redmine
Application Trace | Framework Trace | Full Trace
config/initializers/10-patches.rb:155:in `compute_asset_path'
app/helpers/application_helper.rb:1820:in `favicon_path'
app/helpers/application_helper.rb:1814:in `favicon'
app/views/layouts/base.html.erb:10
lib/redmine/sudo_mode.rb:78:in `sudo_mode'
There were parts of the multi-tenancy patch that needed to be updated to point to `assets` instead of `plugin_assets`, as well as the the example apache and nginx config files. I attempted to make the changes, but they were insufficient. My guess is the multi-tenancy patch probably needs to be extended in a way I don’t understand. Is anyone who worked on the original patch available to take a look?
I have uploaded the current state of my work to Salsa.
--
Soren Stoutner
soren@debian.org
Attachment:
signature.asc
Description: This is a digitally signed message part.