icingaweb2 icon indicating copy to clipboard operation
icingaweb2 copied to clipboard

[dev.icinga.com #9669] RPM packages do not support web servers apart from httpd

Open icinga-migration opened this issue 10 years ago • 13 comments

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9669

Created by alexschomb on 2015-07-18 11:56:41 +00:00

Assignee: elippmann Status: Assigned Target Version: Backlog Last Update: 2016-07-29 09:44:08 +00:00 (in Redmine)


I'm using https://packages.icinga.org/epel/7/ with CentOS 7.1 and found that httpd is a strict dependency for installing icingaweb2, even when nginx is installed already.

Changesets

2015-07-23 13:57:53 +00:00 by elippmann b3083ea39cc9332d2b9ffafd3074058ab672d88a

RPM: Add php-fpm compatible apache config

refs #9669

2015-07-23 13:58:05 +00:00 by elippmann 56b9df52257a35fb6e670c89e54b8a18a1baea45

RPM: Add php-fpm compatible nginx config

refs #9669

2015-07-23 13:58:16 +00:00 by elippmann 54b2c38c8977aec76377359e07fbf0bc9a5cd7d5

RPM: Add php-fpm pool config for Web 2

refs #9669

2015-07-23 13:58:52 +00:00 by elippmann 6879942d4d8e29fb5ab2886fda3cfd6cab6eab0f

RPM: Add spec file that installs Web 2 using php-fpm (WIP)

refs #9669

2015-07-23 14:07:44 +00:00 by elippmann 9f8eb15ed7e495885314a558958b88592ed795a5

RPM: Fix undef variable nginx_confdir

refs #9669

2015-07-23 14:57:44 +00:00 by elippmann 545a5abf11b97c3bb87f413eb77571d3e4bbe969

RPM/php-fpm: Don't require php for vendor libraries

refs #9669

2015-07-23 14:58:10 +00:00 by elippmann 4528af1a783567535349f0c2473647c2d9d15374

RPM/php-fpm: Install php-ldap too

refs #9669

2015-07-23 14:59:01 +00:00 by elippmann 490e1e36b9865309aac4e8887bc4cd0a59b9af51

RPM/php-fpm: Don't try to add the icingaweb2 user twice

refs #9669

2015-07-24 08:08:14 +00:00 by elippmann f50f7bed70ef84d4f0321dcac473d3708c02b3e7

RPM/php-fpm: Don't require Zend explicitly

refs #9669

2015-07-24 08:09:32 +00:00 by elippmann 27cccc685363f4e431b7ec851f24dc4a4467b6c8

Revert "No longer package Zend as vendor library"

This reverts commit b2c22ebcf9b5f1ddfcbd145ac81bd742e3fc8797.

Let's use our vendor package for Zend for SuSe again :)

refs #9669

2015-07-24 08:13:14 +00:00 by elippmann c01963603759da6a8a8b1358902edc475eb885bc

RPM/php-fpm: Package vendor-Zend again

refs #9669

2015-07-24 09:43:12 +00:00 by elippmann 0c01ac944427d499bb14aa36770c23a9b75e29ca

RPM/php-fpm: Clean up dependencies

refs #9669

2015-07-24 11:15:47 +00:00 by elippmann 054c7b407b357cd01be0e7bef3d27ca11f4e4f5a

RPM/php-fpm: Call a2enmod rewrite on SLES/OpenSUSE

refs #9669

2015-07-28 12:22:34 +00:00 by elippmann 3fc00e66f61493879773030cd737e839e1986023

RPM/php-fpm: Provide php-fpm-config package

refs #9669

2015-07-28 12:31:26 +00:00 by elippmann 30be53b44a2f3dd499ab7528446a4b4427d9b763

RPM/php-fpm: Restructure RPM

refs #9669

2015-07-28 12:33:01 +00:00 by elippmann 56472e9076fe887946c3c3084aca8678b088fa10

RPM/php-fpm: Let -php-fpm-config require -common

refs #9669

2015-07-28 13:15:00 +00:00 by elippmann a2f2926d1d35fc4433e5bc6cb8fc1c6803eda694

RPM: Rename apache/icingaweb2.conf to apache/icingaweb2-mod_php.conf

refs #9669

2015-07-28 13:15:41 +00:00 by elippmann e77bb737f00bd4d72a159870e528753bde2a3f5f

RPM: Move apache/icingaweb2-mod_php.conf to httpd/icingaweb2-mod_php.conf

refs #9669

2015-07-28 13:18:22 +00:00 by elippmann a77a9468f1c6bec6bb63ed40c8cffcbde5e5966e

Provide error html file if mod_php disabled

refs #9669

2015-07-28 13:18:46 +00:00 by elippmann e068fab4fdfae5d1c7bd1ce247a5b140323face1

Provide error html file if mod_proxy is disabled

refs #9669

2015-07-28 13:19:55 +00:00 by elippmann 4ae3a8568a1cd6ad89fd2ec12004c279bd3b8a4e

RPM/httpd and php-fpm: Load error html if mod_proxy is disabled

refs #9669

2015-07-28 13:21:12 +00:00 by elippmann 284db3bd22a22242e436b4228d19b0fe39d85d47

RPM: Fix httpd php-fpm config

refs #9669

2015-07-28 13:21:53 +00:00 by elippmann 5028a266701917323d097869133808972e1f11bf

RPM/httpd and mod_php: Load error html if mod_php is disabled

refs #9669

2015-07-28 13:22:34 +00:00 by elippmann ab9901d64d2c3a36211e7a41290f6de0e88a3b96

RPM/php-fpm: Don't support php-fpm installations on SUSE

mod_proxy_fcgi seems missing.

refs #9669

2015-07-28 13:25:30 +00:00 by elippmann 946f2dc5a8667ef142d143f9890bcaa55284e192

RPM: Rename httpd/icingaweb2.conf to httpd/icingaweb2-mod_proxy_fcgi.conf

refs #9669

2015-07-28 13:26:50 +00:00 by elippmann 827bb5ddbfbc406d27d29c3e3d392c339d82e8eb

RPM: Install all error html files

refs #9669

2015-07-28 13:50:47 +00:00 by elippmann a259b0cfa916a6d1b2d8043bf5625febd44019c1

RPM/php-fpm: Support nginx only on Red Hat Linux

refs #9669

Relations:

icinga-migration avatar Jul 18 '15 11:07 icinga-migration

Updated by alexschomb on 2015-07-20 01:30:13 +00:00

Sorry, I might have been too unspecific. What I meant to say is: Shouldn't it be possible to install the icingaweb2 package without httpd when there is an alternative (nginx being a prominent one) installed?

It appears that the php package seems to issue the httpd dependency. A solution might be looking for php-fpm (or php-common?) as a dependency alternative.

icinga-migration avatar Jul 20 '15 01:07 icinga-migration

Updated by elippmann on 2015-07-21 09:38:44 +00:00

  • Subject changed from Repository: HTTPd / Apache dependency to RPM packages do not support web servers apart from httpd
  • Status changed from New to Assigned
  • Assigned to set to elippmann
  • Priority changed from Normal to High
  • Target Version set to 2.0.0
  • Estimated Hours set to 2

icinga-migration avatar Jul 21 '15 09:07 icinga-migration

Updated by elippmann on 2015-07-21 15:35:44 +00:00

  • Estimated Hours changed from 2 to 4

icinga-migration avatar Jul 21 '15 15:07 icinga-migration

Updated by elippmann on 2015-07-23 10:35:26 +00:00

  • Estimated Hours changed from 4 to 8

icinga-migration avatar Jul 23 '15 10:07 icinga-migration

Updated by icinga-kanban on 2015-07-23 14:10:44 +00:00

Build !#820 triggered by commit 9f8eb15 passed successfully.

Branch: origin/bugfix/rpm-php-fpm-9669 Author: Eric Lippmann

icinga-migration avatar Jul 23 '15 14:07 icinga-migration

Updated by icinga-kanban on 2015-07-23 15:04:45 +00:00

Build !#821 triggered by the commits 490e1e3, 4528af1, 545a5ab passed successfully.

Branch: origin/bugfix/rpm-php-fpm-9669 Author: Eric Lippmann

icinga-migration avatar Jul 23 '15 15:07 icinga-migration

Updated by elippmann on 2015-07-24 07:22:12 +00:00

  • Relates set to 9727

icinga-migration avatar Jul 24 '15 07:07 icinga-migration

Updated by icinga-kanban on 2015-07-24 11:19:05 +00:00

Build !#828 triggered by the commits 054c7b4, 0c01ac9, c019636, 27cccc6, f50f7be passed successfully.

Branch: origin/bugfix/rpm-php-fpm-9669 Author: Eric Lippmann

icinga-migration avatar Jul 24 '15 11:07 icinga-migration

Updated by icinga-kanban on 2015-07-28 13:54:43 +00:00

Build !#844 triggered by the commits a259b0c, 827bb5d, 946f2dc, ab9901d, 5028a26, 284db3b, 4ae3a85, e068fab, a77a946, e77bb73, a2f2926, 56472e9, 30be53b, 3fc00e6 passed successfully.

Branch: origin/bugfix/rpm-php-fpm-9669 Author: Eric Lippmann

icinga-migration avatar Jul 28 '15 13:07 icinga-migration

Updated by elippmann on 2015-10-01 21:46:03 +00:00

  • Target Version changed from 2.0.0 to 273

icinga-migration avatar Oct 01 '15 21:10 icinga-migration

Updated by elippmann on 2015-11-20 13:11:07 +00:00

  • Target Version changed from 273 to Backlog

icinga-migration avatar Nov 20 '15 13:11 icinga-migration

Updated by alexschomb on 2016-07-29 09:44:08 +00:00

Any update to this? The installation instructions clearly state that you should be able to run icingaweb2 with either Apache2/httpd OR nginx. At least for RHEL7/CentOS7 this unfortunately is not true.

icinga-migration avatar Jul 29 '16 09:07 icinga-migration

I've opened a MR: https://git.icinga.com/packages/icingaweb/-/merge_requests/4

Al2Klimov avatar Apr 29 '25 14:04 Al2Klimov