Your message dated Sun, 19 Feb 2023 15:10:43 +0100 with message-id <20230219151043.5b93ec61@beer> and subject line Re: redmine: Install (upgrade) 5.x on Bullseye fails on NameError Redmine::Plugin has caused the Debian Bug report #1031505, regarding redmine: Install (upgrade) 5.x on Bullseye fails on NameError Redmine::Plugin to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1031505: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031505 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: redmine Version: 5.0.4-2~bpo11+1 Severity: important Dear Maintainer, The system is a Bullseye server which was upgraded in the past. As Redmine for Bullseye did not exist untill recently some left overs of the 4.x installation remained. I am very happy a backport arrived. Installing it failed: Bundler will use `/tmp/bundler-20230217-1717663-fjvt9g' as your home directory temporarily. rake aborted! NameError: uninitialized constant Redmine::Plugin I am also a bit surprised that while being root, the installer reports /var/www is my root directory instead of /root and also the fact it is not writable. Although I am quite happy a tmp directory is used instead. Full install log below. -- System Information: Debian Release: 11.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-21-amd64 (SMP w/2 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages redmine depends on: ii dbconfig-common 2.0.19 ii debconf [debconf-2.0] 1.5.77 ii libjs-chart.js 2.9.4+dfsg+~cs2.10.1-3 ii libjs-jquery 3.5.1+dfsg+~3.5.5-7 ii libjs-jquery-ui 1.12.1+dfsg-8+deb11u1 ii libjs-raphael 2.3.0-3 ii libruby2.7 [ruby-csv] 2.7.4-1+deb11u1 ii redmine-mysql 4.0.7-1~bpo10+1 ii ruby 1:2.7+2 ii ruby-actionpack-action-caching 1.2.2-1~bpo11+1 ii ruby-actionpack-xml-parser 2.0.1-4 ii ruby-addressable 2.7.0-2 ii ruby-bundler 2.2.5-2 ii ruby-coderay 1.1.3-4 ii ruby-commonmarker 0.23.6-1~bpo11+1 ii ruby-csv 3.2.2-1~bpo11+1 ii ruby-html-pipeline 2.14.3-1~bpo11+1 ii ruby-i18n 1.10.0-2~bpo11+1 ii ruby-jquery-rails 4.3.5-2 ii ruby-mail 2.7.1+dfsg1-1.1 ii ruby-marcel 1.0.1+dfsg-2~bpo11+1 ii ruby-mini-magick 4.11.0-1~bpo11+1 ii ruby-mini-mime 1.1.1-1~bpo11+2 ii ruby-mocha 1.7.0-1 ii ruby-net-ldap 0.17.0-1~bpo11+1 ii ruby-nokogiri 1.13.5+dfsg-2~bpo11+1 ii ruby-rack 2.1.4-3 ii ruby-rack-test 0.7.0-1.1 ii ruby-rails 2:6.1.7+dfsg-3~bpo11+2 ii ruby-rails-dom-testing 2.0.3-3 ii ruby-rails-observers 0.1.5-1.1 ii ruby-rbpdf 1.20.1-1 ii ruby-redcarpet 3.5.1-1 ii ruby-request-store 1.5.0-2 ii ruby-rmagick 2.16.0-7 ii ruby-roadie 5.1.0-1~bpo11+1 ii ruby-roadie-rails 3.0.0-1~bpo11+2 ii ruby-rotp 6.2.0-2~bpo11+1 ii ruby-rouge 3.28.0-1~bpo11+1 ii ruby-rqrcode 1.1.2-3 ii ruby-sanitize 6.0.0-1~bpo11+1 ii ruby-task-list 2.3.2-2~bpo11+1 ii ruby-zip 2.3.0-2~bpo11+1 Versions of packages redmine recommends: ii passenger 5.0.30-1.2 Versions of packages redmine suggests: pn bzr <none> pn cvs <none> pn darcs <none> ii git 1:2.30.2-1+deb11u1 ii mercurial 5.6.1-4 pn ruby-fcgi <none> ii subversion 1.14.1-3+deb11u1 -- debconf information excluded # aptitude install -t bullseye-backports redmine The following NEW packages will be installed: racc{a} ruby-chunky-png{a} ruby-commonmarker{a} ruby-enum{a} ruby-html-pipeline{a} ruby-metaclass{a} ruby-mini-magick{a} ruby-mini-portile2{a} ruby-mocha{a} ruby-posix-spawn{a} ruby-rotp{a} ruby-rqrcode{a} ruby-rqrcode-core{a} ruby-sanitize{a} ruby-task-list{a} ruby-zip{a} The following packages will be REMOVED: ruby-mime-types{u} ruby-mime-types-data{u} ruby-mimemagic{u} The following packages will be upgraded: redmine ruby-actioncable ruby-actionmailbox ruby-actionmailer ruby-actionpack ruby-actionpack-action-caching ruby-actiontext ruby-actionview ruby-activejob ruby-activemodel ruby-activerecord ruby-activestorage ruby-activesupport ruby-csv ruby-globalid ruby-i18n ruby-marcel ruby-mini-mime ruby-net-ldap ruby-nokogiri ruby-rails ruby-railties ruby-roadie ruby-roadie-rails ruby-rouge ruby-tzinfo 26 packages upgraded, 16 newly installed, 3 to remove and 137 not upgraded. Need to get 4,663 kB of archives. After unpacking 4,185 kB will be used. Do you want to continue? [Y/n/?] Get: 1 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-i18n all 1.10.0-2~bpo11+1 [42.1 kB] Get: 2 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-globalid all 0.6.0-1~bpo11+1 [12.9 kB] Get: 3 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-nokogiri amd64 1.13.5+dfsg-2~bpo11+1 [254 kB] Get: 4 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-mini-portile2 all 2.8.0-1~bpo11+2 [17.4 kB] Get: 5 https://deb.debian.org/debian bullseye/main amd64 racc all 1.4.14-2 [83.4 kB] Get: 6 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-roadie all 5.1.0-1~bpo11+1 [35.9 kB] Get: 7 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-rails all 2:6.1.7+dfsg-3~bpo11+2 [25.6 kB] Get: 8 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-railties all 2:6.1.7+dfsg-3~bpo11+2 [453 kB] Get: 9 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-roadie-rails all 3.0.0-1~bpo11+2 [13.1 kB] Get: 10 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actionmailer all 2:6.1.7+dfsg-3~bpo11+2 [42.2 kB] Get: 11 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actionpack-action-caching all 1.2.2-1~bpo11+1 [10.2 kB] Get: 12 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actioncable all 2:6.1.7+dfsg-3~bpo11+2 [57.0 kB] Get: 13 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actionmailbox all 2:6.1.7+dfsg-3~bpo11+2 [36.4 kB] Get: 14 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actiontext all 2:6.1.7+dfsg-3~bpo11+2 [32.6 kB] Get: 15 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-activestorage all 2:6.1.7+dfsg-3~bpo11+2 [64.7 kB] Get: 16 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actionpack all 2:6.1.7+dfsg-3~bpo11+2 [203 kB] Get: 17 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-actionview all 2:6.1.7+dfsg-3~bpo11+2 [157 kB] Get: 18 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-activerecord all 2:6.1.7+dfsg-3~bpo11+2 [364 kB] Get: 19 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-activemodel all 2:6.1.7+dfsg-3~bpo11+2 [69.6 kB] Get: 20 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-activejob all 2:6.1.7+dfsg-3~bpo11+2 [44.4 kB] Get: 21 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-activesupport all 2:6.1.7+dfsg-3~bpo11+2 [201 kB] Get: 22 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-tzinfo all 2.0.4-1~bpo11+2 [66.7 kB] Get: 23 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-marcel all 1.0.1+dfsg-2~bpo11+1 [34.6 kB] Get: 24 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-mini-mime all 1.1.1-1~bpo11+2 [17.3 kB] Get: 25 https://deb.debian.org/debian bullseye/main amd64 ruby-enum all 0.7.2-3 [8,100 B] Get: 26 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-commonmarker amd64 0.23.6-1~bpo11+1 [121 kB] Get: 27 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-csv all 3.2.2-1~bpo11+1 [40.5 kB] Get: 28 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-html-pipeline all 2.14.3-1~bpo11+1 [33.5 kB] Get: 29 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-task-list all 2.3.2-2~bpo11+1 [11.6 kB] Get: 30 https://deb.debian.org/debian bullseye/main amd64 ruby-posix-spawn amd64 0.3.13-3+b1 [24.3 kB] Get: 31 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-mini-magick all 4.11.0-1~bpo11+1 [25.2 kB] Get: 32 https://deb.debian.org/debian bullseye/main amd64 ruby-metaclass all 0.0.4-1.1 [3,852 B] Get: 33 https://deb.debian.org/debian bullseye/main amd64 ruby-mocha all 1.7.0-1 [57.5 kB] Get: 34 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-net-ldap all 0.17.0-1~bpo11+1 [60.2 kB] Get: 35 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-rotp all 6.2.0-2~bpo11+1 [38.9 kB] Get: 36 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-rouge all 3.28.0-1~bpo11+1 [433 kB] Get: 37 https://deb.debian.org/debian bullseye/main amd64 ruby-rqrcode-core all 0.1.2-1 [13.7 kB] Get: 38 https://deb.debian.org/debian bullseye/main amd64 ruby-chunky-png all 1.3.8-1.1 [54.2 kB] Get: 39 https://deb.debian.org/debian bullseye/main amd64 ruby-rqrcode all 1.1.2-3 [9,556 B] Get: 40 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-sanitize all 6.0.0-1~bpo11+1 [33.4 kB] Get: 41 https://deb.debian.org/debian bullseye-backports/main amd64 ruby-zip all 2.3.0-2~bpo11+1 [45.3 kB] Get: 42 https://deb.debian.org/debian bullseye-backports/main amd64 redmine all 5.0.4-2~bpo11+1 [1,311 kB] Fetched 4,663 kB in 2s (2,451 kB/s) Retrieving bug reports... Done Parsing Found/Fixed information... Done Extracting templates from packages: 100% Preconfiguring packages ... Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. (Reading database ... 229480 files and directories currently installed.) Preparing to unpack .../00-ruby-i18n_1.10.0-2~bpo11+1_all.deb ... Unpacking ruby-i18n (1.10.0-2~bpo11+1) over (1.8.8-1) ... Preparing to unpack .../01-ruby-globalid_0.6.0-1~bpo11+1_all.deb ... Unpacking ruby-globalid (0.6.0-1~bpo11+1) over (0.4.2+REALLY.0.3.6-1) ... Preparing to unpack .../02-ruby-nokogiri_1.13.5+dfsg-2~bpo11+1_amd64.deb ... Unpacking ruby-nokogiri (1.13.5+dfsg-2~bpo11+1) over (1.11.1+dfsg-2) ... Selecting previously unselected package ruby-mini-portile2. Preparing to unpack .../03-ruby-mini-portile2_2.8.0-1~bpo11+2_all.deb ... Unpacking ruby-mini-portile2 (2.8.0-1~bpo11+2) ... Selecting previously unselected package racc. Preparing to unpack .../04-racc_1.4.14-2_all.deb ... Unpacking racc (1.4.14-2) ... Preparing to unpack .../05-ruby-roadie_5.1.0-1~bpo11+1_all.deb ... Unpacking ruby-roadie (5.1.0-1~bpo11+1) over (4.0.0-1) ... Preparing to unpack .../06-ruby-rails_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-rails (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../07-ruby-railties_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-railties (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../08-ruby-roadie-rails_3.0.0-1~bpo11+2_all.deb ... Unpacking ruby-roadie-rails (3.0.0-1~bpo11+2) over (2.1.1-2) ... Preparing to unpack .../09-ruby-actionmailer_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-actionmailer (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../10-ruby-actionpack-action-caching_1.2.2-1~bpo11+1_all.deb ... Unpacking ruby-actionpack-action-caching (1.2.2-1~bpo11+1) over (1.2.1-1) ... Preparing to unpack .../11-ruby-actioncable_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-actioncable (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../12-ruby-actionmailbox_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-actionmailbox (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../13-ruby-actiontext_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-actiontext (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../14-ruby-activestorage_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-activestorage (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../15-ruby-actionpack_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-actionpack (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../16-ruby-actionview_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-actionview (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../17-ruby-activerecord_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-activerecord (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../18-ruby-activemodel_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-activemodel (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../19-ruby-activejob_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-activejob (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../20-ruby-activesupport_2%3a6.1.7+dfsg-3~bpo11+2_all.deb ... Unpacking ruby-activesupport (2:6.1.7+dfsg-3~bpo11+2) over (2:6.0.3.7+dfsg-2) ... Preparing to unpack .../21-ruby-tzinfo_2.0.4-1~bpo11+2_all.deb ... Unpacking ruby-tzinfo (2.0.4-1~bpo11+2) over (1.2.6-1) ... Preparing to unpack .../22-ruby-marcel_1.0.1+dfsg-2~bpo11+1_all.deb ... Unpacking ruby-marcel (1.0.1+dfsg-2~bpo11+1) over (0.3.2-4) ... Preparing to unpack .../23-ruby-mini-mime_1.1.1-1~bpo11+2_all.deb ... Unpacking ruby-mini-mime (1.1.1-1~bpo11+2) over (1.0.2-1) ... Selecting previously unselected package ruby-enum. Preparing to unpack .../24-ruby-enum_0.7.2-3_all.deb ... Unpacking ruby-enum (0.7.2-3) ... Selecting previously unselected package ruby-commonmarker. Preparing to unpack .../25-ruby-commonmarker_0.23.6-1~bpo11+1_amd64.deb ... Unpacking ruby-commonmarker (0.23.6-1~bpo11+1) ... Preparing to unpack .../26-ruby-csv_3.2.2-1~bpo11+1_all.deb ... Unpacking ruby-csv (3.2.2-1~bpo11+1) over (3.1.9-1) ... Selecting previously unselected package ruby-html-pipeline. Preparing to unpack .../27-ruby-html-pipeline_2.14.3-1~bpo11+1_all.deb ... Unpacking ruby-html-pipeline (2.14.3-1~bpo11+1) ... Selecting previously unselected package ruby-task-list. Preparing to unpack .../28-ruby-task-list_2.3.2-2~bpo11+1_all.deb ... Unpacking ruby-task-list (2.3.2-2~bpo11+1) ... Selecting previously unselected package ruby-posix-spawn. Preparing to unpack .../29-ruby-posix-spawn_0.3.13-3+b1_amd64.deb ... Unpacking ruby-posix-spawn (0.3.13-3+b1) ... Selecting previously unselected package ruby-mini-magick. Preparing to unpack .../30-ruby-mini-magick_4.11.0-1~bpo11+1_all.deb ... Unpacking ruby-mini-magick (4.11.0-1~bpo11+1) ... Selecting previously unselected package ruby-metaclass. Preparing to unpack .../31-ruby-metaclass_0.0.4-1.1_all.deb ... Unpacking ruby-metaclass (0.0.4-1.1) ... Selecting previously unselected package ruby-mocha. Preparing to unpack .../32-ruby-mocha_1.7.0-1_all.deb ... Unpacking ruby-mocha (1.7.0-1) ... Preparing to unpack .../33-ruby-net-ldap_0.17.0-1~bpo11+1_all.deb ... Unpacking ruby-net-ldap (0.17.0-1~bpo11+1) over (0.16.1-1) ... Selecting previously unselected package ruby-rotp. Preparing to unpack .../34-ruby-rotp_6.2.0-2~bpo11+1_all.deb ... Unpacking ruby-rotp (6.2.0-2~bpo11+1) ... Preparing to unpack .../35-ruby-rouge_3.28.0-1~bpo11+1_all.deb ... Unpacking ruby-rouge (3.28.0-1~bpo11+1) over (3.21.0-1) ... Selecting previously unselected package ruby-rqrcode-core. Preparing to unpack .../36-ruby-rqrcode-core_0.1.2-1_all.deb ... Unpacking ruby-rqrcode-core (0.1.2-1) ... Selecting previously unselected package ruby-chunky-png. Preparing to unpack .../37-ruby-chunky-png_1.3.8-1.1_all.deb ... Unpacking ruby-chunky-png (1.3.8-1.1) ... Selecting previously unselected package ruby-rqrcode. Preparing to unpack .../38-ruby-rqrcode_1.1.2-3_all.deb ... Unpacking ruby-rqrcode (1.1.2-3) ... Selecting previously unselected package ruby-sanitize. Preparing to unpack .../39-ruby-sanitize_6.0.0-1~bpo11+1_all.deb ... Unpacking ruby-sanitize (6.0.0-1~bpo11+1) ... Selecting previously unselected package ruby-zip. Preparing to unpack .../40-ruby-zip_2.3.0-2~bpo11+1_all.deb ... Unpacking ruby-zip (2.3.0-2~bpo11+1) ... Preparing to unpack .../41-redmine_5.0.4-2~bpo11+1_all.deb ... Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. Unpacking redmine (5.0.4-2~bpo11+1) over (4.0.7-1~bpo10+1) ... (Reading database ... 230231 files and directories currently installed.) Removing ruby-mime-types (3.3.1-1) ... Removing ruby-mime-types-data (3.2015.1120-1.1) ... Removing ruby-mimemagic (0.3.5+dfsg-1) ... Setting up ruby-rqrcode-core (0.1.2-1) ... Setting up ruby-rotp (6.2.0-2~bpo11+1) ... Setting up ruby-marcel (1.0.1+dfsg-2~bpo11+1) ... Setting up ruby-metaclass (0.0.4-1.1) ... Setting up ruby-tzinfo (2.0.4-1~bpo11+2) ... Setting up ruby-mini-portile2 (2.8.0-1~bpo11+2) ... Setting up racc (1.4.14-2) ... Setting up ruby-csv (3.2.2-1~bpo11+1) ... Setting up ruby-i18n (1.10.0-2~bpo11+1) ... Setting up ruby-mini-mime (1.1.1-1~bpo11+2) ... Setting up ruby-zip (2.3.0-2~bpo11+1) ... Setting up ruby-mocha (1.7.0-1) ... Setting up ruby-rouge (3.28.0-1~bpo11+1) ... Setting up ruby-chunky-png (1.3.8-1.1) ... Setting up ruby-posix-spawn (0.3.13-3+b1) ... Setting up ruby-net-ldap (0.17.0-1~bpo11+1) ... Setting up ruby-enum (0.7.2-3) ... Setting up ruby-nokogiri (1.13.5+dfsg-2~bpo11+1) ... Setting up ruby-sanitize (6.0.0-1~bpo11+1) ... Setting up ruby-activesupport (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-roadie (5.1.0-1~bpo11+1) ... Setting up ruby-commonmarker (0.23.6-1~bpo11+1) ... Setting up ruby-actionview (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-activemodel (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-html-pipeline (2.14.3-1~bpo11+1) ... Setting up ruby-mini-magick (4.11.0-1~bpo11+1) ... Setting up ruby-rqrcode (1.1.2-3) ... Setting up ruby-task-list (2.3.2-2~bpo11+1) ... Setting up ruby-actionpack (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-globalid (0.6.0-1~bpo11+1) ... Setting up ruby-activerecord (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-actioncable (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-actionpack-action-caching (1.2.2-1~bpo11+1) ... Setting up ruby-activejob (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-railties (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-actionmailer (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-roadie-rails (3.0.0-1~bpo11+2) ... Setting up ruby-activestorage (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-actiontext (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-actionmailbox (2:6.1.7+dfsg-3~bpo11+2) ... Setting up ruby-rails (2:6.1.7+dfsg-3~bpo11+2) ... Setting up redmine (5.0.4-2~bpo11+1) ... Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf dbconfig-common: flushing administrative password `/var/www` is not writable. Bundler will use `/tmp/bundler-20230217-1716901-1iklv3k' as your home directory temporarily. rake aborted! NameError: uninitialized constant Redmine::Plugin /usr/share/redmine/lib/plugins/redmine_mermaid_macro/init.rb:1:in `block in <top (required)>' /usr/share/redmine/config/initializers/00-core_plugins.rb:10:in `eval' /usr/share/redmine/config/initializers/00-core_plugins.rb:10:in `block in <top (required)>' /usr/share/redmine/config/initializers/00-core_plugins.rb:4:in `each' /usr/share/redmine/config/initializers/00-core_plugins.rb:4:in `<top (required)>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:681:in `block in load_config_initializer' /usr/share/rubygems-integration/all/gems/activesupport-6.1.7/lib/active_support/notifications.rb:205:in `instrument' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:680:in `load_config_initializer' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:634:in `block (2 levels) in <class:Engine>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:633:in `each' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:633:in `block in <class:Engine>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:32:in `instance_exec' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:32:in `run' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:61:in `block in run_initializers' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:50:in `each' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:50:in `tsort_each_child' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:60:in `run_initializers' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:391:in `initialize!' /usr/share/redmine/config/environment.rb:16:in `<top (required)>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:367:in `require_environment!' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:533:in `block in run_tasks_blocks' /usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' Tasks: TOP => db:migrate => db:load_config => environment (See full trace by running task with --trace) dpkg: error processing package redmine (--configure): installed redmine package post-installation script subprocess returned error exit status 1 Processing triggers for man-db (2.9.4-2) ... Errors were encountered while processing: redmine E: Sub-process /usr/bin/dpkg returned an error code (1) Setting up redmine (5.0.4-2~bpo11+1) ... Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf dbconfig-common: flushing administrative password `/var/www` is not writable. Bundler will use `/tmp/bundler-20230217-1717663-fjvt9g' as your home directory temporarily. rake aborted! NameError: uninitialized constant Redmine::Plugin /usr/share/redmine/lib/plugins/redmine_mermaid_macro/init.rb:1:in `block in <top (required)>' /usr/share/redmine/config/initializers/00-core_plugins.rb:10:in `eval' /usr/share/redmine/config/initializers/00-core_plugins.rb:10:in `block in <top (required)>' /usr/share/redmine/config/initializers/00-core_plugins.rb:4:in `each' /usr/share/redmine/config/initializers/00-core_plugins.rb:4:in `<top (required)>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:681:in `block in load_config_initializer' /usr/share/rubygems-integration/all/gems/activesupport-6.1.7/lib/active_support/notifications.rb:205:in `instrument' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:680:in `load_config_initializer' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:634:in `block (2 levels) in <class:Engine>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:633:in `each' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/engine.rb:633:in `block in <class:Engine>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:32:in `instance_exec' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:32:in `run' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:61:in `block in run_initializers' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:50:in `each' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:50:in `tsort_each_child' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/initializable.rb:60:in `run_initializers' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:391:in `initialize!' /usr/share/redmine/config/environment.rb:16:in `<top (required)>' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:367:in `require_environment!' /usr/share/rubygems-integration/all/gems/railties-6.1.7/lib/rails/application.rb:533:in `block in run_tasks_blocks' /usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' Tasks: TOP => db:migrate => db:load_config => environment (See full trace by running task with --trace) dpkg: error processing package redmine (--configure): installed redmine package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: redmine Current status: 137 (-26) upgradable.
--- End Message ---
--- Begin Message ---Control: notfound -1 5.0.4-2~bpo11+1 Control: tag -1 - moreinfo After further investigation, we found the following: The plugin redmine_mermaid_macro[1] was installed to /usr/share/redmine/lib/plugins instead of /usr/share/redmine/plugins. While this seems to have worked with 4.x, this no longer works with 5.x and generates the reported error. The location was wrong in the first place as plugins are supposed to be installed in #{RAILS_ROOT}/plugins (see [2]) which resolves to /usr/share/redmine/plugins on Debian installs. The plugin was also outdated, but this was only a secondary issue. [1] https://github.com/taikii/redmine_mermaid_macro [2] https://www.redmine.org/projects/redmine/wiki/Plugins -- ceterum censeo microsoftem esse delendam.
pgpwL9oRegNXP.pgp
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
