PhotoPrism, Part Five
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 accountslegacy
- Display legacy user accountsadd
- Adds a new user accountshow
- Shows user account informationmod
- Modifies an existing userrm
- Removes a user accountreset
- 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.