PhotoPrism, Part Five

PhotoPrism, Part Five
Photo by Raj Rana / Unsplash

I noticed today that PhotoPrism has pushed out a number of updates, but it appears that the Watchtower service does not actually upgrade it right now. I went through PhotoPrism's documentation and found the steps needed to complete an update. It's pretty straight forward:

  • cd photoprism
  • sudo docker-compose pull
  • sudo docker-compose stop
  • sudo docker-compose up -d

I see in PhotoPrism's documentation that one of the updates from November added the ability to have multiple users. That is very exciting to me! Here's a notation of the commands to manage users:

Obtain Shell Access on Docker

  • docker-compose ps
  • docker exec -it [container_name] /bin/shell

PhotoPrism User Commands

Usage:

  • photoprism users [global options] command [command options] [arguments ... ]

Commands:

  • ls - Display existing user accounts
  • legacy - Display legacy user accounts
  • add - Adds a new user account
  • show - Shows user account information
  • mod - Modifies an existing user
  • rm - Removes a user account
  • reset - Resets the user database to a clean slate

Add a New User

  • photoprism users add
  • Enter a username:
  • Enter email address:
  • Enter password:
  • Retype password:

Well it works, I have a test account created that is able to log in. The only trouble is the only role that is currently available is administrator. I really don't want anyone else having that. So I'll just have to wait a bit for them to add some additional roles.