Skip to content

Problem: create a new user the user #2935

Answered by fiftin
maijuzi asked this question in Q&A
Discussion options

You must be logged in to vote

How the issue can be solved:

  1. You need a volume for /var/lib/semaphore where database file stored.
  2. Stop your Semaphore container.
  3. Run following command:
    docker run --rm \
    -v semaphore_data:/var/lib/semaphore \
    semaphoreui/semaphore:v2.13.14 \
    semaphore user add --admin --login admin --name Admin --email admin@example.com --password 123456
    
    This command adds user admin to the Boltdb database which stored in /var/lib/semaphore/database.boltdb.
  4. Start your Semaphore container.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fiftin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2921 on April 19, 2025 18:37.