2022-12-09 15:54:19 -05:00
|
|
|
---
|
|
|
|
|
sidebar_position: 5
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# Server Commands
|
|
|
|
|
|
|
|
|
|
The `immich-server` docker image comes preinstalled with an administrative CLI that supports the following commands:
|
|
|
|
|
|
|
|
|
|
| Command | Description |
|
|
|
|
|
| ----------------------------- | ------------------------------------- |
|
|
|
|
|
| `immich help` | Display help |
|
|
|
|
|
| `immich reset-admin-password` | Reset the password for the admin user |
|
|
|
|
|
|
|
|
|
|
## How to run a command
|
|
|
|
|
|
|
|
|
|
To run a command, connect to the container and then execute it. For example:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
docker exec -it immich-server_1 sh
|
|
|
|
|
|
|
|
|
|
/usr/src/app$ immich reset-admin-password
|
2022-12-09 18:39:50 -05:00
|
|
|
? Please choose a new password (optional) immich-is-awesome-unlike-this-password
|
2022-12-09 15:54:19 -05:00
|
|
|
New password:
|
2022-12-09 18:39:50 -05:00
|
|
|
immich-is-awesome-unlike-this-password
|
2022-12-09 15:54:19 -05:00
|
|
|
```
|