geosolutions-it/C195-azure-workspace

Regression in CKAN 2.9

Opened this issue · 1 comments

etj commented

There's a regression in CKAN 2.9, since a needed fix for CKAN running in azure has only been merged on master branch and not in 2.9.

The error will make the initdb command fail, so CKAN tables will not be created in the DB.

Until 6317 is not merged, please use the fork https://github.com/etj/ckan/tree/5998-29-fix-alembic-sqlalchemy

In the server,

cd ~/C195-azure-workspace/ckan-docker/ckan_copy/
git remote add etj https://github.com/etj/ckan.git
git fetch etj
git checkout 5998-29-fix-alembic-sqlalchemy
./rebuild.sh

then rebuild and restart as documented.

In case of upgrade of the system, the steps in this issue replace the steps in update CKAN in the README documentation.

etj commented

Pls note that deploying a brand new service will result in a non working system, since the scripts force the use of the 2.9 branch.

Once deployed from scratch, you need to run the steps described in the initial description of this very issue.