{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1156","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1156/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1156/comments","events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1156/events","html_url":"https://github.com/openSUSE/open-build-service/issues/1156","id":107712332,"number":1156,"title":"broken apache conf for OBS 2.6 installations on 13.2","user":{"login":"bgeuken","id":968949,"avatar_url":"https://avatars.githubusercontent.com/u/968949?v=3","gravatar_id":"","url":"https://api.github.com/users/bgeuken","html_url":"https://github.com/bgeuken","followers_url":"https://api.github.com/users/bgeuken/followers","following_url":"https://api.github.com/users/bgeuken/following{/other_user}","gists_url":"https://api.github.com/users/bgeuken/gists{/gist_id}","starred_url":"https://api.github.com/users/bgeuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgeuken/subscriptions","organizations_url":"https://api.github.com/users/bgeuken/orgs","repos_url":"https://api.github.com/users/bgeuken/repos","events_url":"https://api.github.com/users/bgeuken/events{/privacy}","received_events_url":"https://api.github.com/users/bgeuken/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"adrianschroeter","id":1067148,"avatar_url":"https://avatars.githubusercontent.com/u/1067148?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianschroeter","html_url":"https://github.com/adrianschroeter","followers_url":"https://api.github.com/users/adrianschroeter/followers","following_url":"https://api.github.com/users/adrianschroeter/following{/other_user}","gists_url":"https://api.github.com/users/adrianschroeter/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianschroeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianschroeter/subscriptions","organizations_url":"https://api.github.com/users/adrianschroeter/orgs","repos_url":"https://api.github.com/users/adrianschroeter/repos","events_url":"https://api.github.com/users/adrianschroeter/events{/privacy}","received_events_url":"https://api.github.com/users/adrianschroeter/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-22T13:13:51Z","updated_at":"2015-09-24T12:23:46Z","closed_at":"2015-09-24T12:23:46Z","body":"I installed the OBS 2.6 rpms on a 13.2 system and found following things:\r\n\r\n- passenger didn't got installed, but is required by obs-api. Installing rubygem-passenger-apache2 solved following syntax error when starting apache:\r\n```\r\nSep 18 16:37:04 freud start_apache2[5128]: AH00526: Syntax error on line 7 of /etc/apache2/vhosts.d/obs.conf:\r\nSep 18 16:37:04 freud start_apache2[5128]: Invalid command 'PassengerSpawnMethod', perhaps misspelled or defined by a module not included in the server configuration\r\n```\r\n\r\n- After fixing above error I ran into:\r\n```\r\nSep 22 15:04:07 freud start_apache2[22697]: AH00526: Syntax error on line 22 of /etc/apache2/vhosts.d/obs.conf:\r\nSep 22 15:04:07 freud start_apache2[22697]: Invalid command 'Allow', perhaps misspelled or defined by a module not included in the server configuration\r\n```\r\n\r\nThat's caused by the \"Allow from all\" statements that got replaced by \"Require all granted\" ([apache upgrade guide](http://httpd.apache.org/docs/2.4/upgrading.html)). The current conf file has both, eg.:\r\n```\r\n        <Directory /srv/obs/repos>\r\n           Options Indexes FollowSymLinks\r\n           Allow from all\r\n           Require all granted\r\n        </Directory>\r\n```\r\n\r\nRemoving the \"Allow from all\" fixes the error."},"comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments/142913669","html_url":"https://github.com/openSUSE/open-build-service/issues/1156#issuecomment-142913669","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1156","id":142913669,"user":{"login":"bgeuken","id":968949,"avatar_url":"https://avatars.githubusercontent.com/u/968949?v=3","gravatar_id":"","url":"https://api.github.com/users/bgeuken","html_url":"https://github.com/bgeuken","followers_url":"https://api.github.com/users/bgeuken/followers","following_url":"https://api.github.com/users/bgeuken/following{/other_user}","gists_url":"https://api.github.com/users/bgeuken/gists{/gist_id}","starred_url":"https://api.github.com/users/bgeuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgeuken/subscriptions","organizations_url":"https://api.github.com/users/bgeuken/orgs","repos_url":"https://api.github.com/users/bgeuken/repos","events_url":"https://api.github.com/users/bgeuken/events{/privacy}","received_events_url":"https://api.github.com/users/bgeuken/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T12:23:46Z","updated_at":"2015-09-24T12:23:46Z","body":"Other issue got fixed with #1163. Thus closing."}}