Location of the base templates
Whereas as the location of the plugin that displays the new template
To alter the home main page, edit the
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini). When I run the commands to recreate the database tables for CKAN:
cd /usr/lib/ckan/default/src/ckan ckan -c /etc/ckan/default/ckan.ini db init
The response I'm getting is:
Finding the issue with a server 500 error
The Nginx error logs are showing too much detail.
Nginx logs and test
There are no errors in the nginx log and sudo nginx -t looks fine
sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
Following the instructions on CKAN DataStore with a little information.
Enable the plugin
In your CKAN config file (/etc/ckan/default/ckan.ini), update the datastore plugin
ckan.plugins = datastore
If you're planning to create extensions, generating CKAN from source is the preferred option. However, even if you have installed from package, you can make adjustments to creating extensions.
Set up your server
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
Goal: Restrict content access through username and password entry on an Nginx server.
1: Apache Utilities Package
First, update your server’s package index:
sudo apt update
Check if the utilities package exists in your environment by executing the command
dpkg --get-selections | grep apache
Reviewing CKAN extensions and listing the extensions that have been created / modified in the past three years/
CKAN extensions - adding to your installation
Following the information on the CKAN site
Use the CKAN create command to create an empty extension:
Activate your CKAN virtual environment, for example:
Then check your location is
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 init
If 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 init
If you forget this step you'll see a 500 server error:
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)