Bug 270370 - www-servers/cherokee config format changes between 0.99.9 and 0.99.15, no notice given
|
Bug#:
270370
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: bass@gentoo.org
|
Reported By: danoz-gentoo@danoz.net
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: www-servers/cherokee config format changes between 0.99.9 and 0.99.15, no notice given
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2009-05-19 04:27 0000
|
the config file format changed between versions. however a notice wasnt placed
in the ebuild notifying users to update their configs. cherokee will not start
with out an updated config. also the config convertor tool is not installer,
even though it exists in the source tgz.
Reproducible: Always
Steps to Reproduce:
1. upgrade to cherokee 0.99.15
2.
3.
Actual Results:
cherokee will not start up
ERROR: Virtual Server: Unknown key 'domain'
Couldn't read the config file: /etc/cherokee/cherokee.conf
Expected Results:
cherokee should start up normally
http://www.gossamer-threads.com/lists/cherokee/users/9478
The ebuild is not including this two scripts that migrate the configuration
file from one version to another.
doins contrib/098to099.py
doins contrib/0999to09910.py
the solution is to run the appropiate script on the configuration file. ej
if you had 0.99.3 you need to run:
PYTHONPATH="/usr/share/cherokee/admin/" python
/usr/share/cherokee-0.99.15/contrib/0999to09910.py /etc/cherokee/cherokee.conf
/etc/cherokee/cherokee.conf-0.99.15
check the file to see everything is OK
copy the new configuration /etc/cherokee/cherokee.conf
kill -HUP `cat /var/run/cherokee.pid`
an everything should be fine.