Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1270598 > unrolled thread
| Started by | Soren Stoutner <soren@debian.org> |
|---|---|
| First post | 2025-11-18 03:30 +0100 |
| Last post | 2025-11-18 03:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#1120894: redmine: dpkg-reconfigure/upgrade redmine recreates /usr/share/redmine/plugins Soren Stoutner <soren@debian.org> - 2025-11-18 03:30 +0100
| From | Soren Stoutner <soren@debian.org> |
|---|---|
| Date | 2025-11-18 03:30 +0100 |
| Subject | Bug#1120894: redmine: dpkg-reconfigure/upgrade redmine recreates /usr/share/redmine/plugins |
| Message-ID | <LSjDH-dMe6-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On Monday, November 17, 2025 4:59:09 PM Mountain Standard Time Alban Browaeys wrote: > Package: redmine > Version: 6.0.5+ds-1 > Severity: normal > > Dear Maintainer, > I have an issue wtaht if I symlink /usr/share/redmine/plugins/<x> to > REDMINE_INSTANCE/plugins my redmine app cannot start because it loads each > plugins file twice and rails Concern abort if loaded more than once (and I > have a rails concerned derivative in the redmine_gitolite_plugin I use. > > So I wanted to use the recommended by redmine Debian README way to use > /usr/share/redmine/plugins directly. THat is delete REDMIEN/INSTANCE/plugins > folder. It works. My plugins loads fine. But each time I do `dpkg- reconfigure > redmine` or I believe if redmine upgrades the REDMINE_INSTANCE/plugins > directory is recreated. > The directory REDMINE_INSTANCE/plugins is recreated by > `/usr/share/redmine/bin/redmine-instances create default` called by > redmine.postinst. > Maybe it shouldn't if the a marker that tells the REDMINE_INSTANCE folder tree > has already been created is set? Thank you for your bug report. I am not seeing this behavior in my personal redmine instance. Perhaps you can give me a little more information to help me replicate the problem. First, are you running one instance or more than one instance? In my case, I am running one instance (named default): root@mail:/usr/share/redmine# ls -la total 76 drwxr-xr-x 12 root root 4096 Sep 6 11:07 . drwxr-xr-x 568 root root 20480 Sep 6 11:09 .. drwxr-xr-x 9 root root 4096 Apr 29 2025 app drwxr-xr-x 2 root root 4096 Sep 6 11:07 bin drwxrwxr-x 2 root root 4096 Apr 29 2025 .bundle drwxr-xr-x 5 root root 4096 Sep 6 11:07 config -rw-r--r-- 1 root root 129 Jul 7 14:03 config.ru drwxr-xr-x 3 root root 4096 Apr 29 2025 db drwxr-xr-x 5 root root 4096 Apr 29 2025 extra -rw-r--r-- 1 root root 3776 Aug 25 16:15 Gemfile lrwxrwxrwx 1 root root 29 Aug 25 16:15 Gemfile.lock -> /var/lib/redmine/ Gemfile.lock lrwxrwxrwx 1 root root 16 Apr 18 2025 instances -> /var/lib/redmine drwxr-xr-x 6 root root 4096 Sep 6 11:07 lib drwxrwxr-x 3 root root 4096 Jun 23 16:37 plugins drwxr-xr-x 4 root root 4096 Sep 6 11:07 public -rw-r--r-- 1 root root 255 Aug 25 16:15 Rakefile drwxr-xr-x 2 root root 4096 Sep 6 11:07 templates I have one plugin installed: root@mail:/usr/share/redmine/plugins# ls -la total 12 drwxrwxr-x 3 root root 4096 Jun 23 16:37 . drwxr-xr-x 12 root root 4096 Sep 6 11:07 .. drwxr-xr-x 5 root root 4096 Sep 6 11:09 redmine_simple_captcha\ The plugin folder inside of the instance links to the plugin: root@mail:/usr/share/redmine/instances/default/plugins# ls -la total 8 drwxr-xr-x 2 www-data www-data 4096 May 12 2025 . drwxr-xr-x 5 root root 4096 Oct 6 15:33 .. lrwxrwxrwx 1 www-data www-data 50 May 12 2025 redmine_simple_captcha -> / usr/share/redmine/plugins/redmine_simple_captcha/ This works for me and survives upgrades. -- Soren Stoutner soren@debian.org
Back to top | Article view | linux.debian.bugs.dist
csiph-web