goncaloGIT
goncaloGIT

Reputation: 11

Ckan Extension installation

CKAN Version

2.6.2

Problem

Im trying to install an extension, to be specific

https://github.com/EUDAT-B2FIND/ckanext-b2find

https://github.com/EUDAT-B2FIND/ckanext-datesearch

Please describe the actual behaviour

Cant see the extension in Ckan, but the extension seem's to be enable because ckan is up and running, yet there's are no error in /var/log/apache2/ckan_default.error.log

What steps can be taken to reproduce the issue?

In the extension folder i did python setup.py install in /etc/ckan/default/production.ini added b2find and datesearch in line ckan.plugins restarted apache2

Other information

Ubuntu 14.04 Apache2

Any suggestion on how to troubleshoot this?

Best Regards Gonçalo

Upvotes: 1

Views: 777

Answers (1)

D Read
D Read

Reputation: 3224

Some checks to try, which generally apply to all ckan extensions:

  • The normal one is python setup.py develop because that copies more files, depending on the extension's configuration. Try that instead of python setup.py install. No harm in trying.
  • Did you enable the virtualenv when you did python setup.py install? Enable the virtualenv and try python -c 'import ckanext.b2find'.
  • Are you editing the same .ini as is being used by apache? Try commenting out sqlalchemy.url temporarily and check restarting apache2 fails.
  • You haven't got two lines in your .ini with ckan.plugins in, have you? If that happens, one gets ignored.
  • Are you sure the extension is not working? Some aren't visible unless you are logged in or on a particular page or something. I'm not familiar with these two.
  • Have you customized any templates? If you don't have the Jinja blocks all there still, then the extension may have problems hooking into it.

Upvotes: 1

Related Questions