I did read a lot of stuff about the installation of redmine with nginx on opensuse leap 15.4. Disappointing no one did lead to successful ending. The truth is, I’ve a running ruby redmine which is usable:
$ ruby bin/rails server -e production &
Most of the part I followed this installation guideline which was the most promissing after tried others and stuck somewhere in the middle or beginning.
When it comes to “Activate Passenger as a module in Apache” . . . OK, I’d like to run it with nginx so I tried to follow this path:
and other pages how to enable and configure nginx with passenger with all the “gem” stuff.
The point where I stuck now is I’m not able to compile the ngx_http_passenger_module for nginx because of some missing file when running
$ passenger-install-nginx-module --auto --prefix=/usr/share/nginx --auto-download --extra-configure-flags=–with-http_ssl_module
. . .
The necessary source files for compiling Nginx are not installed.
Please install them with
sudo yum install passenger-devel-6.0.1
Okey, OKé - it is meant for a different linux distro, but still I was not able to find anything adequate within opensuse world.
My setup is as follows:
PRETTY_NAME=“openSUSE Leap 15.4”
linux-zjcn:~ # uname -a
Linux linux-zjcn 5.14.21-150400.24.21-default #1 SMP PREEMPT_DYNAMIC Wed Sep 7 06:51:18 UTC 2022 (974d0aa) x86_64 x86_64 x86_64 GNU/Linux
linux-zjcn:~ # mysql --version
mysql Ver 15.1 Distrib 10.6.9-MariaDB, for Linux (x86_64) using EditLine wrapper
linux-zjcn:~ # mysql -u root -p
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 22
Server version: 10.6.9-MariaDB MariaDB package
linux-zjcn:~ # php --version
PHP 7.4.25 (cli) (built: Jun 20 2022 12:00:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
linux-zjcn:~ # ruby --version
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux-gnu]
linux-zjcn:~ # nginx -version
nginx version: nginx/1.21.5
linux-zjcn:~ # gem --version
linux-zjcn:~ # bundler --version
Bundler version 1.16.1
package: rubygem-passenger-nginx: 6.0.1-bp154.1.115-x86_64
lrwxrwxrwx 1 root root 53 Sep 28 15:29 passenger-install-nginx-module -> /usr/bin/passenger-install-nginx-module.ruby2.5-6.0.1
A problem I see also is, that most of the guides forget to mention which or where is the path or the file I should edit or place in some stuff . . .
So, isn’t it possible to get a safe installation description by openSUSE how to install redmine with nginx on opensuse 15.4? - I’d appreciate it so much. . . . much, much, much . . .
In the end I found https://github.com/voxpupuli/puppet-nginx/issues/1340
“libnginx-mod-http-passenger should be installed instead of passenger”
would this fix my problem?
do we have that in opensuse leap 15.4
. . .and is there anywhere a guide how to configure it as binding nginx and the ruby redmine app?
Oh I’m tired