2.6 KiB
PhotoPrism
PhotoPrism is a self-hosted photo management platform designed to organize, browse, and share digital images. It uses AI-powered image recognition to automatically tag and categorize photos, making it easy to search through large collections. PhotoPrism supports various formats and integrates with cloud services for backup. Ideal for privacy-conscious users, it offers a user-friendly web interface to manage personal photo libraries without relying on third-party platforms.
Important
If using docker all commands should be prefixed like this
docker compose exec photoprism *photoprism passwd foglar*
Setup
- Default credentials are admin and casaos
Administration
- Change user password
photoprism passwd [username] - Create new user
photoprism users add -p [password] -n "[name]" [login]
User management
| CLI Command | Description |
|---|---|
| photoprism users ls [search] | Searches existing user accounts |
| photoprism users legacy [search] | Searches legacy user accounts |
| photoprism users add [options] [username] | Adds a new user account |
| photoprism users show [username] | Displays user account information |
| photoprism users mod [options] [username] | Modifies an existing user account |
| photoprism users rm [username] | Removes a user account |
| photoprism users reset --yes | Removes all accounts and resets the database |
Session management
| CLI Command | Description |
|---|---|
| photoprism auth ls [search] | Lists currently authenticated users and clients |
| photoprism auth add [username] | Adds a new authentication secret for client applications |
| photoprism auth show [identifier] | Shows detailed information about a session |
| photoprism auth rm [identifier] | Deletes a session by id or access token |
| photoprism auth reset --yes | Resets the authentication of all users and clients |
Viewing Login Attempts
For security reasons, the authentication logs are not accessible from the web user interface. They can only be viewed in the application service logs or by running the following command in a terminal:
docker compose exec photoprism photoprism audit logins [username]