create sysadmin account from user-provided values#144
Conversation
|
What about PR #76? |
|
@kowh-ai I've removed the feature instead and updated the README with instructions for creating a sysadmin account. |
|
@wardi - I’m having problems getting this PR to work on a fresh ckan-docker 2.10.4 environment When docker compose builds the CKAN service container it runs the (CMD) I’m scratching my head as to how you got this PR to work? I guess we will need to come up with a way of setting a value for |
|
@kowh-ai I'm generally not using datapusher, and when I do I've been copying a token into the .env manually. datapusher could use a token generated against the site user instead of admin user, right? That might let us automatically generate the token without requiring a known sysadmin account name. |
|
@wardi - ah yes OK. This whole "needing a token before services are ready" has been one of the main issues affecting users in the last year or so. We need some sort of "seed" value that can be used as a token just to get the services to start but will need to change to a proper token (somehow) at some later stage... |
Have users enter sysadmin name/password/email values in the .env file