Can´t login with admin user

162 views
Skip to first unread message

Marcelo Martinez

unread,
Aug 13, 2021, 10:39:07 AM8/13/21
to CKAN Development Discussions
Hi all!

I can't login with the sysadmin user in ckan 2.9 (ubuntu 20.04 package installation)

I have created the user in this way:

ckan -c /etc/ckan/default/ckan.ini sysadmin add ckan_admin_desa email=admin@localhost name=ckan_admin_desa
2021-08-13 11:21:59,523 INFO  [ckan.cli] Using configuration file /etc/ckan/default/ckan.ini
2021-08-13 11:21:59,524 INFO  [ckan.config.environment] Loading static files from public
2021-08-13 11:21:59,675 INFO  [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates
2021-08-13 11:22:02,068 INFO  [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates
User "ckan_admin_desa" not found
Create new user: ckan_admin_desa? [Y/n]: y
Password :
Repeat for confirmation:
Successfully created user: ckan_admin_desa
Added ckan_admin_desa as sysadmin

I can't see any log about this issue, just got "bad username or password" after tried

Any help please?

Thanks.

Marcelo Martinez

unread,
Aug 13, 2021, 10:52:36 AM8/13/21
to CKAN Development Discussions, Marcelo Martinez
And, following the docs, the web server was restarted with supervisorctl. 

Marcelo Martinez

unread,
Aug 13, 2021, 11:40:24 AM8/13/21
to CKAN Development Discussions, Marcelo Martinez

The problem was the ldap plugin. The system was trying to find the local admin user in the active directory, so I added my ldap user to sysadmin group.

Thanks.- 
Reply all
Reply to author
Forward
0 new messages