Redmine 2.5.2 on openSuse 13.1, Ruby 2.0, Rails 3.2, Apache 2.4.6, MariaDB 5.5.33

Added by Peter Dian about 3 years ago

Hello;)

I wonder whether can someone help me with installation of remdmine 2.5.2 on opensuse 13.1. I've followed the installation guide and redmine is working with webrick, but I can't seem to get it work with my Apache server. Does someone have some experience with redmine on Apache on opensuse?:)

Thank you very much, looking forward to hearing from you;)

Regards,
Peter:)

Replies (6)

RE: Redmine 2.5.2 on openSuse 13.1, Ruby 2.0, Rails 3.2, Apache 2.4.6, MariaDB 5.5.33 - Added by Peter Dian about 3 years ago

Hello Jan;)

Thank you very much for your help. Since I'm not expert in linux or apache or PHP, it took me some time to realize that I have to enable passenger and fcgi modules in apache. They were installed but not enabled, so that was my problem;) I'm using YaST and there was no passenger module in default configuration, so I had to add it and that was it;) The funny thing is that I was trying to make it work for 2 days without success and it was such a small think;) I learn something new every day;)

Thank you again and wish you all the best;)

Regards,
Peter

RE: Redmine 2.5.2 on openSuse 13.1, Ruby 2.0, Rails 3.2, Apache 2.4.6, MariaDB 5.5.33 - Added by Peter Dian about 3 years ago

OK, now this is funny. Redmine was running fine, but after few minutes, this error appeared when trying to access redmine:

Passenger
Web application could not be started

/usr/lib64/ruby/gems/2.0.0/gems/passenger-4.0.18/lib/phusion_passenger/preloader_shared_helpers.rb:99:in `initialize': No such file or directory - "/tmp/passenger.1.0.1519/generation-1/backends/preloader.4491" (Errno::ENOENT)
from /usr/lib64/ruby/gems/2.0.0/gems/passenger-4.0.18/lib/phusion_passenger/preloader_shared_helpers.rb:99:in `new'
from /usr/lib64/ruby/gems/2.0.0/gems/passenger-4.0.18/lib/phusion_passenger/preloader_shared_helpers.rb:99:in `run_main_loop'
from /usr/lib64/ruby/gems/2.0.0/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:151:in `<module:App>'
from /usr/lib64/ruby/gems/2.0.0/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
from /usr/lib64/ruby/gems/2.0.0/gems/passenger-4.0.18/helper-scripts/rack-preloader.rb:28:in `<main>'

I don't know whether it's apache or passenger;) Thank you very much for your help;)

UPDATE: After restarting server it works for a few minutes, then the same error appears.

Regards,
Peter

redmine.png (62.7 KB)

RE: Redmine 2.5.2 on openSuse 13.1, Ruby 2.0, Rails 3.2, Apache 2.4.6, MariaDB 5.5.33 - Added by Jan Niggemann (redmine.org team member) about 3 years ago

Glad it's (alomost) working :-)

The error you're getting is from passenger, but I have no idea...

RE: Redmine 2.5.2 on openSuse 13.1, Ruby 2.0, Rails 3.2, Apache 2.4.6, MariaDB 5.5.33 - Added by Peter Dian about 3 years ago

It seems to be problem in opensuse 13.1, I found this solution on other forum and it works so far:)

---
Nevermind, worked it out. Here's what I did.
First, copy the default "tmp.conf" configuration file under /usr/lib/tmpfiles.d to /etc/tmpfiles.d. Configuration files in /etc/tmpfiles.d override those in /usr/lib/tmpfiles.d with the same name.
sudo cp /usr/lib/tmpfiles.d/tmp.conf /etc/tmpfiles.d/tmp.conf
Once copied, remove the last two lines from /etc/tmpfiles.d/tmp.conf. On my machine, these were:
X /tmp/systemd-private-*/tmp
X /var/tmp/systemd-private-*/tmp
To test, run the following:
sudo systemctl start systemd-tmpfiles-clean.service
More info can be found by viewing the man entry for tmpfiles.d.
From <https://code.google.com/p/phusion-passenger/issues/detail?id=1065>
---

Maybe someone find it useful too;)

Have a great day;)

Regards,
Peter

RE: Redmine 2.5.2 on openSuse 13.1, Ruby 2.0, Rails 3.2, Apache 2.4.6, MariaDB 5.5.33 - Added by Konstantin Tkachenko about 3 years ago

Hello,

I've had the same problem, but the idea with deaktivating tmp clean-up hasn't pleased me.
So I've added the configuration parameter for the passenger:

PassengerTempDir /opt/redmine/tmp/passenger

Thank you Peter very much for your post, cause it brought me into the solution.

Regards,
Konstantin

(1-6/6)