[ckan-dev] CKAN user without name: how can we get rid of this?

Elena Camossi elena.camossi at ext.jrc.ec.europa.eu
Thu Nov 28 13:55:33 UTC 2013


Thanks David!
Indeed we left blank ckan.site_id in the configuration file.
Now we have a new user in the database named with the ckan.site_id value and
the harvester finally works!

Thanks a lot!
-Elena 



> -----Original Message-----
> From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of
> David Raznick
> Sent: giovedì 28 novembre 2013 11:51
> To: CKAN Development Discussions
> Subject: Re: [ckan-dev] CKAN user without name: how can we get rid of
this?
> 
> Hello,
> 
> I am not sure what is causing the issue.  Have you got ckan.site_id
defined in
> your config file?  It would be interesting to know what it is if there is
one.
> 
> CKAN creates a site user, with sysadmin privileges by default based around
> this site_id, however we have never experienced it creating a blank user.
> 
> I think to delete it you may need to goto the database as I do not think
the
> following paster command will work due to the name being blank
> 
> paster user remove ''
> 
> David
> 
> 
> 
> On 28 November 2013 10:33, Elena Camossi
> <elena.camossi at ext.jrc.ec.europa.eu> wrote:
> > Hi everyone,
> >
> > we have run different tests on this, and we verified that paster
> > creates autonomously a user without name (name in the database is ''),
> > when creating the admin user, during the installation, and when calling
> paster user list.
> > This cannot be deleted neither using  paster user remove, not directly
> > from the database (the user re-appears in the database as soon as we
> > launch paster user list).
> >
> > This seems to interfere someway with the harvesting: debugging we saw
> > that harvesting is run by a user with no name, on a 'None' resource.
> > The error we get is " Resource not found"
> >
> > We ran the test several time, on an empty database, with no other
> > harvesting jobs pending, with no extension installed except for
harvesting.
> > Configuration is CKAN 2.1, Red Hat, Solr 4.5, Postgres 9.2+Postgis
> > extension.
> >
> > Did anyone have the same experience? Is this user without name created
> > by mistake? Any other idea on how to delete it?
> >
> > Thanks a lot for any help, we're really stuck on this.
> >
> > Kind regards,
> > -Elena
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list