-
Notifications
You must be signed in to change notification settings - Fork 23
RedHat/CentOS 7 support #37
Comments
CentOS in particular seems to have weird version problems with everything. The passenger installation instructions recommend installing passenger as a gem and then manually build the apache extension, which needs even more dependencies and more config tweaking. See issue #38 for the discussion about the default redmine version. |
This seems like a problem of rubygem packaging vs system packaging, combined with the changing dependencies between redmine versions. Here's the versions of passenger installed on the supported platforms: centos6: mod_passenger-3.0.21-11.el6.x86_64 Which is a bit of a mish mash of versions. The version on Ubuntu 12.04 is particularly old, and as we look at default versions of redmine, it will probably have to run an older version than the other releases. I'm not sure sure how to looking redmine & rails & passenger versions and dependencies to work this out, but redmine 2.6+ didn't work in my testing. Regarding EL7, it looks like there will be a passenger rpm in EPEL before too long: https://bugzilla.redhat.com/show_bug.cgi?id=1096202 The alternative to using system packages for passenger would be to install the gem and build the apache module on the system. This would probably mean a new puppet module to manage this and all the work that entails. (I already have some code that does this somewhere I can dig out). We already install most of the dependencies to do this, and it would mean we could be more consistent about passenger versions and redmine versions across releases. Or we can just stick with the system packages, and just try and work around the issues we pick up - i.e. different versions of redmine and try to deal with any bugs like #43 that we encounter. Thoughts? |
Last time I checked, installing passenger as a gem was troublesome at best. This also might give problems with systems that already have passenger installed either as a gem, a system package or from source. If we go down this route we should make it an optional module (if no such thing exists already). If EPEL7 gets passenger as a package that would be great, as it would require no additional effort on our side. |
I'm OK with not getting into managing passenger as a gem, as that's likely to be a can of worms. But I'm interested in why you think installing passenger as a gem is troublesome? |
I remember doing this a couple of times and it was not great.
Somewhere in this process was also an unavoidable promt if I remember correctly, so we would have to pipe |
I previously did something like this: https://gist.github.com/johanek/14f974eddc1c8a6c2d66 But I'm sure that converting that to something that works for multiple rubies and platforms would be a PITA |
In #34 we found that puppetlabs-apache module class apache::mods::passenger doesn't work because there's no mod_passenger package available. Not much we can do about that, but we should document it.
Trying to install the default version of redmine on EL7 errors:
If you manually solve that you get more errors:
I tried version 3.0.0 but this failed on nokogiri installation. 2.5.2 works OK. I'm going to raise another issue about bumping the version. But maybe we need to have some information about what versions of redmine are compatible with with OSes?
The text was updated successfully, but these errors were encountered: