Description of problem: I can't create database for Redmine application. RAILS_ENV=production rake db:migrate (in /var/www/redmine) rake aborted! This installation of RMagick was configured with ImageMagick 6.7.3 but ImageMagick 6.7.5-10 is in use. (See full trace by running task with --trace) Version-Release number of selected component (if applicable): How reproducible: Everytime Steps to Reproduce: 1. install redmine-1.3.2-1.mga2 2. install redmine-git-1.3.2-1.mga2 3. install redmine-mysql-1.3.2-1.mga2 4. create database mysql redmine 5. execute rake generate_session_store 6. execute RAILS_ENV=production rake db:migrate
The same thing happened to me. Now I can't suggest Mageia 2 for a production server here at the office.
CC: (none) => dbello
Found the solution here: http://stackoverflow.com/questions/2887342/how-could-i-configure-rmagick-gem-or-imagemagick-to-solve-following-problem As root, run: gem uninstall rmagick gem install rmagick And voilá! Then follow the instructions from /var/www/redmine/doc/INSTALL.
Assignee: bugsquad => shikamaru
yes, I encountered that issue on chiliproject as well yesterday. The problem is that rmagick is linked against another version of imagemagick. Diegoâs solution should also mention that you need imagemagick-devel for it to compile. Iâll update rmagick ASAP
Status: NEW => ASSIGNED
could you please test with ruby-rmagick-2.13.1-5.1.mga2 in updates_testing ? Thanks in advance, Regards,
Tested and it works. The error disappeared. Shouldn't imagemagick-devel be a dependency of Redmine? Thanks for the fix!
Youâre welcome, and no it should not depend on it because you shouldnât need to build rmagick yourself, it just happened that imagemagick was updated and rmagick wasnât rebuilt (due to me not properly maintaining it).
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED
@qa-bugs, could you please push ruby-rmagick-2.13.1-5.1.mga2.src.rpm from updates_testing to updates please ? The package just needed a rebuild against the right version of imagemagick Thanks in advance, Regards
Assignee: shikamaru => qa-bugs
Status: RESOLVED => REOPENEDHardware: x86_64 => AllResolution: FIXED => (none)
Diego: Were there any regressions? Could you please tell us which architecture you are on (i586 or x86_64)? Emmanuel: Did you try the package from updates_testing yet? If so, I'd like to ask you the same questions: does it fix the problem for you, were there any regressions, which architecture are you on (i586 or x86_64)? This would allow us to take your testing into account, and push this fix faster to other users. So thanks in advance!
CC: (none) => wassi
What do you mean by regressions? I'm using x86_64. I did use the package from updates_testing to check the problem disappeared.
By regressions I mean if installing the new package introduced any new problems. Sorry if that was not clear, and thanks for your fast reply!
So far I haven't seen any problems, but I have not used it that much.
Diego: Given that it did not work at all before, checking for obvious problems should be sufficient. If you experience new problems before this update gets pushed, please report back here. If you find any new problems after that, please open a new bug report. Thank you for your efforts! Emmanuel: Any chance you can try the package from updates_testing soon?
Whiteboard: (none) => MGA2-64-OK
Testing complete mga2 32 Before ------ $ irb irb(main):001:0> require 'RMagick' LoadError: no such file to load -- RMagick from (irb):1:in `require' from (irb):1 from :0 irb(main):002:0> require 'rubygems' => true irb(main):003:0> require 'RMagick' RuntimeError: This installation of RMagick was configured with ImageMagick 6.7.3 but ImageMagick 6.7.5-10 is in use. from /usr/lib/ruby/site_ruby/1.8/i586-linux/RMagick2.so from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:11 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:57:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:57:in `require' from (irb):3 from /usr/lib/ruby/1.8/i586-linux/rbconfig.rb:12 irb(main):004:0> quit After ----- $ irb irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'RMagick' => true Tested with some examples from http://rmagick.rubyforge.org/ put together into one script. All Ok.
Whiteboard: MGA2-64-OK => has_procedure MGA2-64-OK mga2-32-OK
Validating SRPM: ruby-rmagick-2.13.1-5.1.mga2.src.rpm Advisory ---------- The ruby-rmagick package needed to be rebuilt against the current version of imagemagick. ---------- Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2013-0002
Status: REOPENED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED