[ckan-dev] CKan Site Down

Todd Bleess TBleess at drcog.org
Mon Jul 28 16:22:56 UTC 2014


Yes, that worked.  Site is back up.  I'll work on figuring out what happened with the harvester.

Todd Bleess | GIS Specialist | Administration and Finance
Direct 303-480-6797 | Fax 303-480-6790 | E-mail tbleess at drcog.org





DRCOG helps older adults and people with disabilities age successfully and remain independent. 
Call 303-480-6700 or visit us on the web to learn more! 

      


-----Original Message-----
From: Adrià Mercader [mailto:adria.mercader at okfn.org] 
Sent: Monday, July 28, 2014 10:18 AM
To: CKAN Development Discussions
Cc: Ashley Summers; Jenny Todd; Todd Bleess; Corey McDonald
Subject: Re: [ckan-dev] CKan Site Down

Hi Jeff,

This looks like it is being caused by the harvesting extension failing during some form of migration.
You can try and remove the harvest plugins from your ini file for the time being until the issue is identified.

Adrià


On 28 July 2014 16:39, Jeff Socia <JSocia at drcog.org> wrote:
> Hello Everyone,
>
> Our Ckan site is currently down. There are no recent changes that we are aware of. We've tried restarting Apache and the server without any resolve. Here is the pattern that seems to repeat in the error logs. Any help diagnosing the source of the issue would be greatly appreciated:
>
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] mod_wsgi (pid=1809): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] mod_wsgi (pid=1809): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] Traceback (most recent call last):
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/etc/ckan/default/apache.wsgi", line 10, in <module>
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     application = loadapp('config:%s' % config_filepath)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return loadobj(APP, uri, name=name, **kw)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return context.create()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return self.object_type.invoke(self)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return fix_call(context.object, context.global_conf, **context.local_conf)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     val = callable(*args, **kw)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 57, in make_app
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     load_environment(conf, app_conf)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     p.load_all(config)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     load(*plugins)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 167, in load
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     plugins_update()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 116, in plugins_update
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     environment.update_config()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 357, in update_config
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     plugin.configure(config)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/plugin.py", line 191, in configure
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     model_setup()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/model/__init__.py", line 81, in setup
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     migrate_v3_create_datasets(sources_to_migrate)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/model/__init__.py", line 487, in migrate_v3_create_datasets
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     new_package_id = logic.get_action('package_create')(context, package_dict)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 419, in wrapped
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     result = _action(context, data_dict, **kw)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/action/create.py", line 129, in package_create
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     _check_access('package_create', context, data_dict)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 290, in check_access
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     raise NotAuthorized(msg)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] NotAuthorized 
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] mod_wsgi (pid=1809): Target WSGI script '/etc/ckan/default/apache.wsgi' cannot be loaded as Python module.
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] mod_wsgi (pid=1809): Exception occurred processing WSGI script '/etc/ckan/default/apache.wsgi'.
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] Traceback (most recent call last):
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/etc/ckan/default/apache.wsgi", line 10, in <module>
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     application = loadapp('config:%s' % config_filepath)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return loadobj(APP, uri, name=name, **kw)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return context.create()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return self.object_type.invoke(self)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     return fix_call(context.object, context.global_conf, **context.local_conf)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     val = callable(*args, **kw)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py", line 57, in make_app
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     load_environment(conf, app_conf)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 232, in load_environment
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     p.load_all(config)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 134, in load_all
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     load(*plugins)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 167, in load
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     plugins_update()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 116, in plugins_update
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     environment.update_config()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 357, in update_config
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     plugin.configure(config)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/plugin.py", line 191, in configure
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     model_setup()
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/model/__init__.py", line 81, in setup
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     migrate_v3_create_datasets(sources_to_migrate)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckanext-harvest/ckanext/harvest/model/__init__.py", line 487, in migrate_v3_create_datasets
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     new_package_id = logic.get_action('package_create')(context, package_dict)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 419, in wrapped
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     result = _action(context, data_dict, **kw)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/action/create.py", line 129, in package_create
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     _check_access('package_create', context, data_dict)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 290, in check_access
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1]     raise NotAuthorized(msg)
> [Mon Jul 28 09:28:51 2014] [error] [client 127.0.0.1] NotAuthorized 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev


More information about the ckan-dev mailing list