Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 270370
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: José Alberto Suárez López <bass@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Danoz <danoz-gentoo@danoz.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 270370 depends on: Show dependency tree
Bug 270370 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Ivan Chavero 2009-05-28 20:55:25 0000 -------
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.

------- Comment #2 From José Alberto Suárez López 2009-06-22 06:32:41 0000 -------
Added to 0.99.17 :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug