[Koha-bugs] [Bug 12312] 3.16 packages ask to change Apache configuration even if Apache version is < 2.4

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 26 04:00:35 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12312

--- Comment #8 from Robin Sheat <robin at catalyst.net.nz> ---
Created attachment 28474
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28474&action=edit
Bug 12312 - correctly upgrade under apache 2.2

As the way we need to reference apache instance names has now changed
between 2.2 and 2.4, we need to try it out both ways to make sure we get
it right.

This also allows koha-create/koha-disable to try the .conf version of
the name if the first one doesn't work.

To test:
* Create an instance on an apache 2.2 system with koha < 3.16
* Upgrade to 3.16 with this patch, saying 'yes' to the renaming question
** Make sure you don't see the warning: Warning: problem enabling $site
   in Apache
* Do a 'service apache2 restart'
* Make sure you can still access the instance
* Make sure that /etc/apache2/sites-enabled/instance.conf exists as a link
  to /etc/apache2/sites-available/instance.conf
* Check that koha-create and koha-remove behave like you'd expect.

Note:
* If you need to make debconf forget that it asked you the question
  about renaming so that it'll do it again, then run:
  echo "unregister koha-common/rename-apache-vhost-files" | sudo
debconf-communicate koha-common
* 'debconf-show koha-common' will show you the current debconf
  configuration.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list