{"action":"opened","issue":{"url":"https://api.github.com/repos/Icinga/icinga-packaging/issues/94","repository_url":"https://api.github.com/repos/Icinga/icinga-packaging","labels_url":"https://api.github.com/repos/Icinga/icinga-packaging/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icinga-packaging/issues/94/comments","events_url":"https://api.github.com/repos/Icinga/icinga-packaging/issues/94/events","html_url":"https://github.com/Icinga/icinga-packaging/issues/94","id":294562355,"number":94,"title":"icingaweb2 RHEL 7 rpm does not install all files","user":{"login":"mtdeguzis","id":27829577,"avatar_url":"https://avatars2.githubusercontent.com/u/27829577?v=4","gravatar_id":"","url":"https://api.github.com/users/mtdeguzis","html_url":"https://github.com/mtdeguzis","followers_url":"https://api.github.com/users/mtdeguzis/followers","following_url":"https://api.github.com/users/mtdeguzis/following{/other_user}","gists_url":"https://api.github.com/users/mtdeguzis/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdeguzis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdeguzis/subscriptions","organizations_url":"https://api.github.com/users/mtdeguzis/orgs","repos_url":"https://api.github.com/users/mtdeguzis/repos","events_url":"https://api.github.com/users/mtdeguzis/events{/privacy}","received_events_url":"https://api.github.com/users/mtdeguzis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T22:17:57Z","updated_at":"2018-02-05T22:17:57Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\n\r\nInstalling icingaweb2 for RHEL 7 should install the schema files into `/usr/share/doc/icingaweb2/schema`\r\n\r\n## Current Behavior\r\n\r\nInstallation of icingaweb2 via the RHEL 7 repo does not install the schema files.\r\n\r\n## Possible Solution\r\n\r\nIt appears that the binary is missing files, as the source rpm builds fine.\r\n\r\n## Steps to Reproduce (for bugs)\r\n\r\ntry installing from the repostory on a fresh RHEL 7 docker image:\r\n```\r\nyum install -y https://packages.icinga.com/epel/icinga-rpm-release-7-latest.noarch.rpm\r\nyum install -y icingaweb2\r\nls /usr/share/doc/icingaweb2/schema\r\n<NULL>\r\nls /usr/share/doc/icingaweb2/schema | wc -l\r\n0\r\n```\r\nMissing files paste: http://paste.debian.net/1008962/\r\n\r\nManual install \r\n```\r\nmkdir temp && cd temp\r\nyum install -y rpmrebuild yum-utils\r\nyumdownloader --source icingaweb2\r\nrpm --nomd5 -i icingaweb2*.el7.centos.src.rpm\r\nyum install -y bash-completion php php-ZendFramework \\\r\n    php-ZendFramework-Db-Adapter-Pdo-Mysql php-ZendFramework-Db-Adapter-Pdo-Pgsql \\\r\n    php-gd php-intl php-pecl-imagick\r\nrpmbuild -ba /root/rpmbuild/SPECS/icingaweb2.spec\r\nrpm -i /root/rpmbuild/RPMS/noarch/*rpm\r\n\r\nls /usr/share/doc/icingaweb2/schema\r\nmysql-upgrades  mysql.schema.sql  pgsql-upgrades  pgsql.schema.sql\r\n```\r\n\r\n## Context\r\n\r\nThis affects us trying to get our Docker instance of Icinga2 with Icingaweb2 up and running. We have been trying diligently to get this running, uncovering small pieces along the way that need done.\r\n\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the problem in -->\r\n* Version used (`icinga2 --version`): 2.8.1-1.el7.icinga\r\n* Operating System and version: \r\n```\r\nNAME=\"Red Hat Enterprise Linux Server\"\r\nVERSION=\"7.4 (Maipo)\"\r\nID=\"rhel\"\r\nID_LIKE=\"fedora\"\r\nVARIANT=\"Server\"\r\nVARIANT_ID=\"server\"\r\nVERSION_ID=\"7.4\"\r\nPRETTY_NAME=\"Red Hat Enterprise Linux Server 7.4 (Maipo)\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:redhat:enterprise_linux:7.4:GA:server\"\r\nHOME_URL=\"https://www.redhat.com/\"\r\nBUG_REPORT_URL=\"https://bugzilla.redhat.com/\"\r\n\r\nREDHAT_BUGZILLA_PRODUCT=\"Red Hat Enterprise Linux 7\"\r\nREDHAT_BUGZILLA_PRODUCT_VERSION=7.4\r\nREDHAT_SUPPORT_PRODUCT=\"Red Hat Enterprise Linux\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7.4\"\r\n```\r\n\r\n* Enabled features (`icinga2 feature list`): N/A\r\n* Icinga Web 2 version and modules (System - About):  2.5.1-1.el7.icinga\r\n* Config validation (`icinga2 daemon -C`):  N/A\r\n\r\n\r\n"}}
{"actor":{"display_login":"mtdeguzis"}}