CKAN managing your database - initialise, clean and export/import
Andrew Fletcher published: 19 July 2022 2 minutes read
Before you can run CKAN for the first time, you need to run db init to initialise your database:
ckan -c /etc/ckan/default/ckan.ini db initIf this fails due to a permission issue, then the user and group assigned are incorrect. Or if you are a root user, you can use sudo
sudo ckan -c /etc/ckan/default/ckan.ini db initIf you forget this step you'll see a 500 server error:
ckan-worker:ckan-worker-00 FATAL Exited too quickly (process log may have details)
Andrew Fletcher published: 19 July 2022 (updated) 20 July 2022 4 minutes read
Working through a CKAN installation on Ubuntu 20.04
User sees a server 500 error.
syslog shows: ckan-worker:ckan-worker-00 FATAL Exited too quickly (process log may have details)
Information:
syslog
Installing CKAN from package on Ubuntu 20.04
Andrew Fletcher published: 12 July 2022 (updated) 29 September 2023 10 minutes read
Install the CKAN package
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions):
sudo apt install -y libpq5 redis-server nginx supervisorResponse