- Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
When the docker-migrid stack is launched from scratch, the underlying `~/state/user_db_home/MiG-users.db' is only created
when the $USERNAME and $PASSWORD variables are non-empty during the run of the docker-entry.sh launch script.
If these are not set, the following command is not executed, which ensures that this database is created.
Line 71 in 00f40ba
| su - "$USER" -c "${MIG_ROOT}/mig/server/migrateusers.py" |
This causes the deployment to not being able to signup/login users because the lookup for the expected database will fail.
Potential steps to resolves this could be.
- Move the current initialise call is always run as part of the docker-entry.sh execution.
- Potentially introduce a specific inituserdb.py script as suggested by @jonasbardino that handles this database initialisation such that we don't have to rely on leveraging the migrateusers.py script for this.
Bjarke42 and jonasbardino
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers