# HG changeset patch # User Thomas De Schampheleire # Date 2018-12-28 21:11:40 # Node ID 874ed3e585799860493db7adc8d7a8736e4f074a # Parent b3644eeee44577e423cff2c3c2136c5f3ea3c05c docs: upgrade: misc. clarification on upgrade from 0.3.x to 0.4 diff --git a/docs/upgrade.rst b/docs/upgrade.rst --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -55,7 +55,8 @@ If using MySQL, please consult the docum utility. Look for ``sqlalchemy.url`` in your configuration file to determine -database type, settings, location, etc. +database type, settings, location, etc. If you were running Kallithea 0.3.x or +older, this was ``sqlalchemy.db1.url``. 3. Activate the Kallithea virtual environment (if any) @@ -101,7 +102,8 @@ Run the following command to create a ne kallithea-cli config-create new.ini -Then compare it with your old config file and see what changed. +Then compare it with your old config file and copy over the required +configuration values from the old to the new file. .. note:: Please always make sure your ``.ini`` files are up to date. Errors @@ -197,6 +199,11 @@ 9. Start the Kallithea web application This step once again depends entirely on the web server software used to serve Kallithea. +If you were running Kallithea 0.3.x or older and were using ``paster serve +my.ini`` before, then the corresponding command in Kallithea 0.4 and later is:: + + gearbox serve -c new.ini + Before starting the new version of Kallithea, you may find it helpful to clear out your log file so that new errors are readily apparent.