Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard User not working / new Created User not working #97

Open
TimoB2005 opened this issue Jul 28, 2022 · 1 comment
Open

Standard User not working / new Created User not working #97

TimoB2005 opened this issue Jul 28, 2022 · 1 comment

Comments

@TimoB2005
Copy link

Hello,

in my .env file i have that configured:

CKAN_SYSADMIN_NAME=ckan_admin
CKAN_SYSADMIN_PASSWORD=adminadmin
CKAN_SYSADMIN_EMAIL=your_email@example.com

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=myemail@mail.com
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!

@kosgobakis
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants