-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
- unable to login using the default credentials
- results of
journalctl -fu odk-central
- i was able to force the creation of the user with the following from https://docs.getodk.org/central-command-line/
root@posm:~# cd /opt/odk-central/odk-central-repo/
root@posm:/opt/odk-central/odk-central-repo# docker-compose exec service odk-cmd
Usage:
cli.js [OPTIONS] <command> [ARGS]
Options:
-p, --password STRING For user create and set password commands, supplies
the password. If not provided, you will be
interactively prompted for one.
-u, --email EMAIL For user create and set password commands, supplies
the email.
-h, --help Display help and usage details
Commands:
user-create, user-promote, user-set-password
root@posm:/opt/odk-central/odk-central-repo# docker-compose exec service odk-cmd --email [email protected] user-create
prompt: password: ***********
{
id: 5,
type: 'user',
displayName: '[email protected]',
createdAt: 2020-06-03T21:25:31.611Z,
updatedAt: null,
email: '[email protected]'
}
root@posm:/opt/odk-central/odk-central-repo# docker-compose exec service odk-cmd --email [email protected] user-promote
'{"success":true}'
Metadata
Metadata
Assignees
Labels
No labels