docker-ckan icon indicating copy to clipboard operation
docker-ckan copied to clipboard

Standard User not working / new Created User not working

Open TimoB2005 opened this issue 3 years ago • 1 comments

Hello,

in my .env file i have that configured:

CKAN_SYSADMIN_NAME=ckan_admin
CKAN_SYSADMIN_PASSWORD=adminadmin
[email protected]

That credentials are not working. So i get in the container bash and tried to create manually a new user. Following Command: ckan -c ckan.ini sysadmin add myusername [email protected] So CKAN creates a new user with my password.

When i try to login with both User i get this message:

image

There are no several Errors in the Logs.

Best regards!

TimoB2005 avatar Jul 28 '22 08:07 TimoB2005

The issue is when the ckan image runs the start_ckan.sh-> runs the prerun.py script that creates the default admin. There is a strange issue on the prerun.py, L:80 when it excecutes the eval(connection.read()) Traceback (most recent call last): File "prerun.py", line 204, in <module> check_solr_connection() File "prerun.py", line 85, in check_solr_connection eval(connection.read()) File "<string>", line 8, in <module> NameError: name 'true' is not defined

A temporary solution is to comment the prerun.py, L:203

kosgobakis avatar Aug 31 '22 11:08 kosgobakis