Frequently Asked Questions

How can I login and administer my new CKAN installation?

CKAN 2.9.x

When you first launch your CKAN instance there will be a default user, however a password needs to be set and correct "sysadmin" permissions applied.

First, login to the server via SSH and then run the following command as root:

# Activate the CKAN virtual environment
. /usr/lib/ckan/default/bin/activate

# Create a 'ckan' user, set it's password and apply sysadmin permissions to the user
ckan -c /etc/ckan/default/production.ini sysadmin add ckan
Once you have completed these steps, you will be able to access your CKAN instance and login using the ckan username and the password you specified.

CKAN 2.8 and older

When you first launch your CKAN instance there will be a default user, however a password needs to be set and correct "sysadmin" permissions applied.

First, login to the server via SSH and then run the following commands as root:

# Activate the CKAN virtual environment
. /usr/lib/ckan/default/bin/active

# Change the password on the default 'ckan' user
paster --plugin=ckan user setpass ckan -c /etc/ckan/default/production.ini

# Give the default 'ckan' user sysadmin permissions
paster --plugin=ckan sysadmin add ckan -c /etc/ckan/default/production.ini
Once you have completed these steps, you will be able to access your CKAN instance and login using the ckan username and the password you specified.

Help Topics:


Last Updated 5 months ago