跳转到主要内容

安装后的操作步骤

安装 Immich 后需要完成的一些常见步骤包括:

第一步 - 注册管理员用户

The first user to register will be the admin user. The admin user will be able to add other users to the application.

To register for the admin user, access the web application at http://<machine-ip-address>:2283 and click on the Getting Started button.

Follow the prompts to register as the admin user and log in to the application.

第二步 - 创建新用户(可选)

If you have friends or family members who want to use the application as well, you can create additional accounts for them.

In the Administration panel, you can click on the Create user button, and you'll be presented with the following dialog:

第三步 - 更新存储模板

Immich allows the admin user to set the uploaded filename pattern at the directory and filename level as well as the storage label for a user.

提示

You can read more about the differences between storage template engine on and off here

The admin user can set the template by using the template builder in the Administration -> Settings -> Storage Template. Immich provides a set of variables that you can use in constructing the template, along with additional custom text. If the template produces multiple files with the same filename, they won't be overwritten as a sequence number is appended to the filename.

Default template
Year/Year-Month-Day/Filename.Extension

If you want to change the storage template during the initial setup, first enable the feature.

Then, customize your storage template.

信息

The Storage Template Migration job can be run after enabling this feature or changing the template, in order to apply the changes to the existing library.

提示

If an asset is in multiple albums, {{album}} will be set to the name of the album which was most recently created. By default, special characters will be converted to an HTML entity (for example, & -> &amp;). To prevent this, wrap the variable in an extra set of braces (for example, {{{album}}}). You can learn more about this here and here.

Immich also provides a mechanism to migrate between templates so that if the template you set now doesn't work in the future, you can always migrate all the existing files to the new template. The mechanism is run as a job on the Job page.

If you want to store assets in album folders, but you also have assets that do not belong to any album, you can use {{#if album}}, {{else}} and {{/if}} to create a conditional statement. For example, the following template will store assets in album folders if they belong to an album, and in a folder named "Other/Month" if they do not belong to an album:

{{y}}/{{#if album}}{{album}}{{else}}Other{{/if}}/{{MM}}/{{filename}}

第四步 - 下载移动应用

The mobile app can be downloaded from the following places:

第五步 - 登录移动应用

Login to the mobile app with the server endpoint URL at http://<machine-ip-address>:2283

第六步 - 上传您的图库

  1. Navigate to the backup screen by clicking on the cloud icon in the top right corner of the screen.
  1. You can select which album(s) you want to back up to the Immich server from the backup screen.
  1. Scroll down to the bottom and press "Start Backup" to start the backup process. This will upload all the assets in the selected albums.

第七步 - 配置服务器备份

Now that you have imported some pictures, you should setup server backups to preserve your memories. You can do so by following our backup guide.

危险

Immich is still under heavy development and handles very important data. It is essential that you set up good backups, and test them.

配置可选功能