[ECODP-dev] creating correct empty ckan impossible

Dimitrios Mexis dimitrios.mexis at tenforce.com
Thu Jun 20 08:56:18 UTC 2013


Hi John,

No not really "without problems"
I had to delete a couple of tables.
There was a middleman action.

Kind regards



On Thu, Jun 20, 2013 at 10:54 AM, John Glover <john.glover at okfn.org> wrote:

> Hi Bert,
>
> Is this on the acceptance server at the moment? I will need to have a
> look, it seems that your searchcloud-install-tables command is still
> attempting to read the wrong config file which is quite unusual. Nothing
> should have changed in this command, and Dimitrios was able to run it
> without problems a few days ago.
>
> Regards,
> John
>
>
> On 20 June 2013 01:07, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>wrote:
>
>> Hi,
>>
>> After installing the latest rpm.
>> we activate the ckan_reset_db.sh script
>> This return an empty db with an sysadmin user active.
>> however it does not contain the searchcloud tables.
>> Any attempt to create them end is a failure.
>>
>> [root at rpm-tester bin]#
>> /applications/ecodp/users/ecodp/ckan/ecportal/bin/paster
>> --plugin=ckanext-ecportal ecportal searchcloud-install-tables –c
>> /applications/ecodp/users/ecodp/ckan/conf/ecportal.ini
>> Traceback (most recent call last):
>>   File "/applications/ecodp/users/ecodp/ckan/ecportal/bin/paster",
>> line 9, 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/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/commands.py",
>> line 89, in command
>>     self._load_config()
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/cli.py",
>> line 76, in _load_config
>>     raise AssertionError('Config filename %r does not exist.' %
>> self.filename)
>> AssertionError: Config filename
>> '/applications/ecodp/users/ecodp/ckan/bin/development.ini' does not
>> exist.
>>
>>
>> The next commands are those of the ckan_reset_db.sh script.
>>
>> paster --plugin=ckan db clean -c $CKAN_INI
>> paster --plugin=ckan db init  -c $CKAN_INI
>> paster --plugin=ckan search-index rebuild -c $CKAN_INI
>> # upload the publishers
>> #paster --plugin=ckanext-ecportal ecportal update-publishers
>> -c/applications/ecodp/users/ecodp/ckan/etc/ecodp/ecodp.ini
>> paster --plugin=ckanext-ecportal ecportal create-all-vocabs -c $CKAN_INI
>>
>> # create a new user
>>
>> # Run the paster command, referencing the .ini file
>> paster --plugin=ckan sysadmin add $1 -c $CKAN_INI
>> paster --plugin=ckan user $1 -c $CKAN_INI
>>
>>
>>
>>
>> --
>> Bert Van Nuffelen
>>
>> Semantic Technologies Software Architect at TenForce
>> www.tenforce.be
>>
>> Bert.Van.Nuffelen at tenforce.com
>> Office: +32 (0)16 31 48 60
>> Mobile:+32 479 06 24 26
>> skype: bert.van.nuffelen
>>
>> _______________________________________________
>> 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/20130620/79c62e63/attachment.html>


More information about the ecodp-dev mailing list