[ckan-dev] Error in updating python-ckan_2.2_amd64.deb
Nigel Babu
nigel.babu at okfn.org
Tue Jun 10 05:14:35 UTC 2014
Hi Qifeng,
I'm confused what you've tried. Let me try to get the timeline correctly.
1. You have ckan 2.1 installed from packages on your server.
2. You downloaded python-ckan_2.2_amd64.deb and installed it.
3. It doesn't work.
Did you restart your apache and nginx server after the update?
It is definitely not wise to install one of the build debs. They're
specifically not supposed to be installed on production. They're only there for
testing pre-release. Is it possible for you to uninstall the ckan package
completely (backup your config file) and install the 2.2 package again?
On Fri, Jun 06, 2014 at 04:59:54AM +0000, Qifeng.Bai at csiro.au wrote:
> Hi, there
>
> I am upgrading my production server from 2.1 to 2.2. I tried these two deb files: python-ckan_2.1_amd64.deb , python-ckan_2.2_amd64.deb in http://packaging.ckan.org/ and another one in http://packaging.ckan.org/build/ python-ckan_2.2-1_amd64.deb.
>
> The two files for 2.2 both failed after I restarted the web service. It prompted the following exception:
>
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] load(*plugins)
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 167, in load
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] plugins_update()
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 116, in plugins_update
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] environment.update_config()
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 369, in update_config
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] logic.get_action('get_site_user')({'ignore_auth': True}, None)
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 395, in get_action
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] auth_function.auth_audit_exempt = True
> [Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] AttributeError: 'instancemethod' object has no attribute 'auth_audit_exempt'
>
> However, I can make 2.1 version working. At this moment, I am working 2.2 development version, it does not have any problems.
>
>
> Is there anyone who happen to have the same issue?
>
> Regards
>
>
>
>
>
>
>
> [cid:image001.gif at 01CC55BF.85E7FEB0]
>
> Qifeng Bai
> Software Engineer
> CSIRO Land and Water
> Black Mountain, Canberra
>
> Ph: +61-2-62465704
> Web: www.clw.csiro.au
>
>
>
> _______________________________________________
> 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
--
Nigel Babu
Developer, Open Knowledge
More information about the ckan-dev
mailing list