# HG changeset patch # User Thomas De Schampheleire # Date 1546031500 -3600 # Node ID 874ed3e585799860493db7adc8d7a8736e4f074a # Parent b3644eeee44577e423cff2c3c2136c5f3ea3c05c docs: upgrade: misc. clarification on upgrade from 0.3.x to 0.4 diff -r b3644eeee445 -r 874ed3e58579 docs/upgrade.rst --- a/docs/upgrade.rst Fri Dec 28 22:46:35 2018 +0100 +++ b/docs/upgrade.rst Fri Dec 28 22:11:40 2018 +0100 @@ -55,7 +55,8 @@ 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 @@ 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 @@ 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.