Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken apache conf for OBS 2.6 installations on 13.2 #1156

Closed
bgeuken opened this issue Sep 22, 2015 · 2 comments
Closed

broken apache conf for OBS 2.6 installations on 13.2 #1156

bgeuken opened this issue Sep 22, 2015 · 2 comments
Assignees

Comments

@bgeuken
Copy link
Member

bgeuken commented Sep 22, 2015

I installed the OBS 2.6 rpms on a 13.2 system and found following things:

  • passenger didn't got installed, but is required by obs-api. Installing rubygem-passenger-apache2 solved following syntax error when starting apache:
Sep 18 16:37:04 freud start_apache2[5128]: AH00526: Syntax error on line 7 of /etc/apache2/vhosts.d/obs.conf:
Sep 18 16:37:04 freud start_apache2[5128]: Invalid command 'PassengerSpawnMethod', perhaps misspelled or defined by a module not included in the server configuration
  • After fixing above error I ran into:
Sep 22 15:04:07 freud start_apache2[22697]: AH00526: Syntax error on line 22 of /etc/apache2/vhosts.d/obs.conf:
Sep 22 15:04:07 freud start_apache2[22697]: Invalid command 'Allow', perhaps misspelled or defined by a module not included in the server configuration

That's caused by the "Allow from all" statements that got replaced by "Require all granted" (apache upgrade guide). The current conf file has both, eg.:

        <Directory /srv/obs/repos>
           Options Indexes FollowSymLinks
           Allow from all
           Require all granted
        </Directory>

Removing the "Allow from all" fixes the error.

@bgeuken
Copy link
Member Author

bgeuken commented Sep 22, 2015

The second issue got fixed now by Adrian: f035033

@bgeuken
Copy link
Member Author

bgeuken commented Sep 24, 2015

Other issue got fixed with #1163. Thus closing.

@bgeuken bgeuken closed this as completed Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants