[DRE-maint] Bug#1101504: redmine: served via unicorn and nginx, errors due to 'GET /assets/...'
Soren Stoutner
soren at debian.org
Fri Mar 28 22:43:48 GMT 2025
Jörg
On Friday, March 28, 2025 3:03:29 PM Mountain Standard Time Jörg-
Volker Peetz wrote:
> Yes. And meanwhile, I found this in the redmine issues:
>
> Defect #41734 wrong url for assets in public/assets
> https://www.redmine.org/issues/41734
>
> It is known upstream. And as far as I understand, after choosing a
> sub-uri I have to re-generate the files in the
> /var/cache/redmine/default/public/assets directory. The wrong path
> is embedded in the css files in that directory.
>
> How could this re-generation be accomplished? Maybe, every time
> before deploying redmine?
It looks the the command you need to run is:
bundle exec rake assets:precompile RAILS_ENV="production" \
RAILS_RELATIVE_URL_ROOT=/sub-uri
https://salsa.debian.org/ruby-team/redmine/-/blob/master/doc/UPGRADING
I have added this information to README.Debian.
https://salsa.debian.org/ruby-team/redmine/-/blob/master/debian/
README.Debian?ref_type=heads#L43-55
--
Soren Stoutner
soren at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250328/d25ba588/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list