[ECODP-dev] Upgrading to CKAN 1.8

John Glover john.glover at okfn.org
Tue Jun 4 13:45:41 UTC 2013


Hi,

To update the list (this was discussed on Skype): this dependency was
missing from our list, I will update it shortly.

Regards,
John


On 4 June 2013 15:16, Dimitrios Mexis <dimitrios.mexis at tenforce.com> wrote:

> Hi,
> The first command using paster failed. Here is the relevant output:
>
> File "/applications/ecodp/users/ecodp/ckan/ecportal/bin/paster", line 8,
> in <module>
>     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
> line 104, in run
>     invoke(command, command_name, options, args[1:])
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
> line 143, in invoke
>     exit_code = runner.run(args)
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
> line 238, in run
>     result = self.command()
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/cli.py",
> line 121, in command
>     self._load_config()
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/cli.py",
> line 83, in _load_config
>     load_environment(conf.global_conf, conf.local_conf)
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/environment.py",
> line 133, in load_environment
>     p.load_all(config)
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/plugins/core.py",
> line 95, in load_all
>     find_user_plugins(config)
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/plugins/core.py",
> line 167, in find_user_plugins
>     plugins.extend(ep.load() for ep in entry_points)
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/plugins/core.py",
> line 167, in <genexpr>
>     plugins.extend(ep.load() for ep in entry_points)
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pkg_resources.py",
> line 2076, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal/ckanext/ecportal/forms.py",
> line 20, in <module>
>     from validators import (ecportal_name_validator,
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal/ckanext/ecportal/validators.py",
> line 10, in <module>
>     import rdfutil
>   File
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal/ckanext/ecportal/rdfutil.py",
> line 3, in <module>
>     import lxml.etree
> ImportError: No module named lxml.etree
>
>
>
> On Tue, Jun 4, 2013 at 11:46 AM, Darwin Peltan <darwin.peltan at okfn.org>wrote:
>
>> Hi,
>>
>> Just to reiterate from our call earlier. Now that we can no longer update
>> the server ourselves it would be very helpful if this could be updated as
>> soon as possible please so that we can check the release.
>>
>> Thanks,
>>
>> Darwin
>>
>> *Darwin Peltan*
>>
>> *Project Manager  |  skype: darwinp  |  twitter: @darwin<http://twitter.com/darwin>
>> *
>>
>> *The Open Knowledge Foundation <http://okfn.org/>*
>>
>> *Empowering through Open Knowledge*
>>
>> *http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on Facebook<https://www.facebook.com/OKFNetwork> |
>> Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>
>> *
>> *
>> CKAN | http://ckan.org | @ckanproject <http://twitter.com/ckanproject> |open source data management platform
>> *
>>
>>
>> On 4 June 2013 09:03, John Glover <john.glover at okfn.org> wrote:
>>
>>> Hello,
>>>
>>> To upgrade to CKAN 1.8, you will need to perform the following steps:
>>>
>>> - Build the package using the CKAN branch release-v1.8.1-ecportal
>>> (instead of release-v1.7.1-ecportal).
>>>
>>> - Install this package on the server
>>>
>>> - Perform the database migration using the paster db upgrade command. So
>>> on odp.tenforce.com, the full command should be:
>>> <path to virtualenv>/bin/paster --plugin=ckan db upgrade -c <path to
>>> ckan config>
>>>
>>> - Create the new database tables for the search cloud feature. This is
>>> via another paster command:
>>> <path to virtualenv>/bin/paster --plugin=ckanext-ecportal ecportal
>>> searchcloud-install-tables -c <path to ckan config>
>>>
>>> - Restart Apache.
>>>
>>> You will need to set up two cron jobs to make sure that the tracking
>>> stats and search cloud data is updated regularly, I will send on the
>>> details in a later email.
>>>
>>> Regards,
>>> John
>>>
>>> _______________________________________________
>>> Ecodp-dev mailing list
>>> Ecodp-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>
>>>
>>
>> _______________________________________________
>> Ecodp-dev mailing list
>> Ecodp-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>
>>
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130604/c5447384/attachment.html>


More information about the ecodp-dev mailing list