Reputation: 6526
Performing source install from master branch of ckan (e36d471e3daf84a68923f5f6490bbbc7305a9d1c). Installing DataStore per instructions (http://docs.ckan.org/en/latest/maintaining/datastore.html)
Execute:
paster --plugin=ckan datastore
Results in error:
AssertionError: Config filename '/usr/lib/ckan/default/src/ckan/development.ini' does not exist.
The development.ini file is in /etc/ckan/default/, /usr/lib/ckan/default/src/ckan/ Why is it looking in the wrong directory?
My ultimate goal is to execute paster datastore set-permissions so I can set the postgres permissions correctly.
Upvotes: 0
Views: 507
Reputation: 14640
You always have to pass the option -c /etc/ckan/default/development.ini
whenever you run a paster
command. It does not automatically know the default location of the development.ini
file. You might find this page in the docs helpful: http://docs.ckan.org/en/latest/maintaining/paster.html
Upvotes: 2
Reputation:
you could generate your development.ini like described here: http://docs.pylonsproject.org/projects/pyramid/en/1.1-branch/narr/startup.html (see middle of page by scrolling down.)
Hth :-)
Upvotes: 0