# How to set up and remotely access Immich using Meshnet

## What is Immich? <a href="#what-is-immich" id="what-is-immich"></a>

[Immich](https://immich.app/) <img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FZ1XK9VQNJqThDABC8Qqa%2Ficon_immich.svg?alt=media&#x26;token=9f99b3d5-a078-4a0a-acd2-691983231a83" alt="" data-size="line"> is a self-hosted and open-source tool for backing up and managing your images and videos. It offers an intuitive solution with a wide range of features, including multi-user support, asset sharing, and [facial recognition](https://nordvpn.com/blog/facial-recognition/). Unlike other self-hosted picture libraries, such as [LibrePhotos](https://meshnet.nordvpn.com/how-to/remote-files-media-access/librephotos-picture-library), Immich is primarily focused on backup functionality, allowing you to easily upload pictures from desktop and mobile platforms.

By supplementing your Immich setup with [Meshnet](https://nordvpn.com/meshnet/), you can enable secure content backup and remote access over an encrypted [NordLynx](https://nordvpn.com/blog/nordlynx-protocol-wireguard/) tunnel. This configuration does not require [port forwarding](https://nordvpn.com/blog/port-forwarding/) or experience with [firewalls](https://nordvpn.com/cybersecurity/glossary/firewall/). Even if you are on the other side of the globe, simply turn on Meshnet and connect to your Immich server as if you were on the same[ local area network](https://nordvpn.com/blog/what-is-lan/) (LAN).

This guide will walk you through the process of setting up a personal Immich instance and showcase how Meshnet can be integrated to allow for seamless remote connections to the server.

## Before you begin <a href="#before-you-begin" id="before-you-begin"></a>

Make sure that you have [Docker](https://docs.docker.com/get-started/overview/) and [Docker Compose](https://docs.docker.com/compose/) installed on your device. You can find instructions on how to download and install these tools on the Docker website:

* [Docker Desktop instructions for Windows](https://docs.docker.com/desktop/install/windows-install/)
* [Docker Desktop instructions for macOS](https://docs.docker.com/desktop/install/mac-install/)
* [Docker Desktop Instructions for Linux](https://docs.docker.com/desktop/install/linux-install/)
  * [Docker Engine instructions for Linux (CLI only)](https://docs.docker.com/engine/install/)
  * [Docker Compose instructions for Linux (CLI only)](https://docs.docker.com/compose/install/linux/)

{% hint style="info" %}
**Note**

Docker Compose comes pre-installed with Docker Desktop.
{% endhint %}

## Run Immich using Docker <a href="#run-immich-using-docker" id="run-immich-using-docker"></a>

Immich operates as a multi-container app, comprising Docker containers for the server, database, and machine learning, all working together seamlessly. The Docker Compose tool is used to manage the preparation, deployment, and operation of these interconnected containers.

### Prepare the Immich directory <a href="#prepare-the-immich-directory" id="prepare-the-immich-directory"></a>

To start, you need to prepare a folder that will hold all files and data required to run Immich.

{% tabs %}
{% tab title="Windows" %}

1. Open **PowerShell**.
2. In your preferred directory, create a new `immich` folder and navigate to it using the following command:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">mkdir immich; cd immich
   </code></pre>

   &#x20;
3. Run the two commands below to download the Docker Compose and the environmental variable files from the [Immich GitHub repository](https://github.com/immich-app/immich):

   <pre class="language-powershell" data-overflow="wrap"><code class="lang-powershell">Invoke-WebRequest https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml -OutFile docker-compose.yml 
   Invoke-WebRequest https://github.com/immich-app/immich/releases/latest/download/example.env -OutFile .env
   </code></pre>

   &#x20;
4. Use the `ls` command to check if both files have downloaded successfully.

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FVsypRzsFSWKn60LVPa4N%2Fimmich_win_ls.png?alt=media&#x26;token=3772e244-6abf-4ccc-a43f-d65942b0fd10" alt="Output of the &#x22;ls&#x22; command with &#x22;.env&#x22; and &#x22;docker-compose.yml&#x22; file names highlighted."><figcaption></figcaption></figure>

{% endtab %}

{% tab title="macOS and Linux" %}

1. Open **Terminal**.
2. In your preferred directory, create a new `immich` folder and navigate to it using the following command:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">mkdir immich &#x26;&#x26; cd immich
   </code></pre>

   &#x20;
3. Run the two commands below to download the Docker Compose and the environmental variable files from the [Immich GitHub repository](https://github.com/immich-app/immich):

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">wget -O docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml 
   wget -O .env https://github.com/immich-app/immich/releases/latest/download/example.env
   </code></pre>

   &#x20;
4. Use the `ls -a` command to check if both files have downloaded successfully.&#x20;

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FdntW3qBNlS8edUUDc7ng%2Fimmich_mac_ls_dark.png?alt=media&#x26;token=02b34491-db6e-45eb-bfd3-54ba1562f06c" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F4JcQPRn7KAWYBAUYyF9Q%2Fimmich_mac_ls.png?alt=media&#x26;token=97404c79-f5f4-47c7-a44b-4fe41b9d83fb" alt="Output of the &#x22;ls -a&#x22; command with &#x22;.env&#x22; and &#x22;docker-compose.yml&#x22; file names highlighted."></picture><figcaption></figcaption></figure>

{% endtab %}
{% endtabs %}

### Modify environmental variables <a href="#modify-environmental-variables" id="modify-environmental-variables"></a>

Next, you need to alter some of the default values provided in the downloaded files to fit your setup.

{% tabs %}
{% tab title="Windows" %}
{% hint style="info" %}
**Note**

Immich relies on a [PostgreSQL database](https://www.postgresql.org/), which is incompatible with [NTFS ](https://en.wikipedia.org/wiki/NTFS)or [FAT](https://en.wikipedia.org/wiki/File_Allocation_Table) file systems used by Windows. To overcome this limitation, the database folder must be mapped as a [Docker volume](https://docs.docker.com/engine/storage/volumes/) rather than a standard system directory.

For more information, see the “Special requirements for Windows users” section of the [Immich requirements page](https://immich.app/docs/install/requirements#special-requirements-for-windows-users).
{% endhint %}

1. In **PowerShell**, run the following command to create a new volume that will be used for database storage.

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">docker volume create pgdata
   </code></pre>

   &#x20;

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FytMuUkFAv83L1YqTBj5g%2Fimmich_win_docker_volume.png?alt=media&#x26;token=4468060e-e336-4e1a-bcaa-3e12244e7ccf" alt="Command line output of the &#x22;docker volume create pgdata&#x22; command."><figcaption></figcaption></figure>

   &#x20;
2. Open the `.env` file using Notepad with the command below:

   <pre class="language-batch" data-overflow="wrap"><code class="lang-batch">notepad .env
   </code></pre>

   &#x20;
3. Make the following changes to the environmental file:
   * Set the value of `UPLOAD_LOCATION` to the path where you want the uploaded pictures and videos to be saved, as shown:&#x20;

     <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fv187NDkNnx39o59ZTP1o%2Fimmich_win_path_dark.png?alt=media&#x26;token=781b2347-3226-45bb-88ae-b34a4533be35" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fjgkqk56OquwLlINhVsHJ%2Fimmich_win_path.png?alt=media&#x26;token=5b96b051-feea-4bea-b8ad-560f9cd522a7" alt="File path next to &#x22;UPLOAD_LOCATION&#x22; highlighted."></picture><figcaption></figcaption></figure></div>

     &#x20;\
     If the path contains spaces, enclose it with single quotation marks.
   * Change the `DB_DATA_LOCATION` location value to `postgres` to ensure the database uses the Docker volume.&#x20;

     <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fgw0O5to7t48Mpif0B87Q%2Fimmich_win_db_dark.png?alt=media&#x26;token=66518471-942e-4e1b-87ac-6a499d5ad717" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FjJmhlbHeCA0PZtBCiffo%2Fimmich_win_db.png?alt=media&#x26;token=07c72ad4-5e68-4fb7-a29d-c8c8f0e4a5d8" alt="&#x22;pgdata&#x22; entered next to &#x22;DB_DATA_LOCATION&#x22;."></picture><figcaption></figcaption></figure>

     &#x20;
   * Uncomment the `TZ` line by removing the hash (#) symbol at the start. Then, replace the default `Etc/UTC` value with your current [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).\
     &#x20;\
     **Example**

     <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FgfgTJ7mtqHdsOl8ymna5%2Fimmich_win_tz_dark.png?alt=media&#x26;token=dc52e9e7-25e8-40e6-9987-9136670d89ca" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F5AiIhyPHj4qkLKcDCfbB%2Fimmich_win_tz.png?alt=media&#x26;token=4a63783f-db92-4c81-8fea-dbab26a6b100" alt="Time zone identifier highlighted."></picture><figcaption></figcaption></figure>

     &#x20;
4. Press **Ctrl** + **S** to save changes and then exit **Notepad**.
5. Open the `docker-compose.yml` file using Notepad using the command provided below:

   <pre class="language-batch" data-overflow="wrap"><code class="lang-batch">notepad docker-compose.yml
   </code></pre>

   &#x20;
6. At the end of the file, under the `volumes`, append a new `pgdata:` line, to map the Docker volume to the container.

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FfB2iQ9t9jVVgmSHKacTF%2Fimmich_win_volume_dark.png?alt=media&#x26;token=58fe55ac-38ab-464b-9a57-1df6ba71e195" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FRdbx4GIfrYsQeeBqwDlw%2Fimmich_win_volume.png?alt=media&#x26;token=14fe9199-425a-4310-903d-7a64c0086ce4" alt="&#x22;pgdata:&#x22; highlighted under the &#x22;volumes&#x22; section."></picture><figcaption></figcaption></figure>

   &#x20;
7. Press **Ctrl** + **S** to save changes and then exit **Notepad**.
   {% endtab %}

{% tab title="macOS and Linux" %}

1. From the terminal, open the `.env` file using the Nano text editor with the following command:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nano .env
   </code></pre>

   &#x20;
2. Set the value of `UPLOAD_LOCATION` to the path where you want the uploaded pictures and videos to be saved, as shown:<br>

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FIAYQZ3IjqvdxWxc6OO7E%2Fimmich_mac_env_dark.png?alt=media&#x26;token=30ff98e6-09c7-4ed6-a3d6-11b11af333d2" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F5DbuWjzSrGjLjBNhTpvJ%2Fimmich_mac_env.png?alt=media&#x26;token=3a617cd7-65ef-47a9-bfc8-909532175887" alt="File path next to &#x22;UPLOAD_LOCATION&#x22; highlighted."></picture><figcaption></figcaption></figure></div>

   &#x20;\
   If the path contains spaces, enclose it with single quotation marks.
3. Uncomment the `TZ` line by removing the hash (#) symbol at the start. Then, replace the default `Etc/UTC` value with your current [time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).\
   &#x20;\
   **Example**

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FjCyUjIAtf3x6Smz8XslQ%2Fimmich_mac_tz_dark.png?alt=media&#x26;token=73979daa-c0be-4348-8a86-71c4100ea10e" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F7cOdmvZDVOCit7DzZcRH%2Fimmich_mac_tz.png?alt=media&#x26;token=70d57d46-e754-47d6-8d39-70c0c4de7f31" alt="Time zone identifier highlighted."></picture><figcaption></figcaption></figure>

   &#x20;
4. Press **Ctrl** + **X**, **Y**, and **Enter** to save changes and exit the text editor.
   {% endtab %}
   {% endtabs %}

### Start the Immich containers <a href="#start-the-immich-containers" id="start-the-immich-containers"></a>

While in the `immich` directory, execute the following command in the command line to deploy your Immich instance:

{% code overflow="wrap" %}

```bash
docker compose up -d
```

{% endcode %}

Docker will [pull the resources](https://docs.docker.com/engine/reference/commandline/pull/) and dependencies required for Immich and create the necessary containers.

#### Verify the containers' status <a href="#verify-the-containers-status" id="verify-the-containers-status"></a>

Run the `docker ps` command to check the state of the containers. In the output, under `STATUS`, you should see `Up` and the duration indicating how long the containers have been active.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fp5CICKr7Nn1IYP3D3CWz%2Fimmich_docker_ps.png?alt=media&#x26;token=7d42d244-7694-4387-973d-518f12bfdf6d" alt="Command line output of the &#x22;docker ps&#x22; command with the &#x22;STATUS&#x22; column highlighted."><figcaption></figcaption></figure>

## Configure your Immich access <a href="#configure-your-immich-access" id="configure-your-immich-access"></a>

Once the Immich server container completes initialization, it will start a web interface that allows you to manage your Immich instance.

### Set up the administrator user <a href="#set-up-the-administrator-user" id="set-up-the-administrator-user"></a>

Upon accessing the Immich web interface for the first time, you will be prompted to create an administrator user account.

1. Open your internet browser and navigate to the Immich web interface.
   * If you’re accessing Immich from the same device that is hosting it, go to `localhost:2283/`.
   * Otherwise, swap the `localhost` part with the server’s local IP address. For example, `192.168.1.50:2283/`.
2. Click **Getting started**.
3. Fill in the **Admin** **registration** form with the administrator user’s email address, password, and username. Then, click **Sign up**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FGJE1dqxCVuCtn0AUpgXo%2Fimmich_admin_create_dark.png?alt=media&#x26;token=979d216c-b889-477a-ba49-eea75c0ad1e8" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F3FZp4YHqHQLqfxmZBcti%2Fimmich_admin_create.png?alt=media&#x26;token=c9eb081a-cc6e-491f-a36e-b428055e76f8" alt="Email address, password, and the username for the administrator user typed in and the sign up button highlighted." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
4. On the login page, enter your email and password and select **Login**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FCghd7g1Jpiqe2a7iYFVF%2Fimmich_admin_login_dark.png?alt=media&#x26;token=02f3e14d-95a2-47b0-83e9-69a33237de21" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FzXPaS3KIctGnG7UcXmdD%2Fimmich_admin_login.png?alt=media&#x26;token=1be717ac-cdfc-42fd-8727-fa017401c461" alt="Logging in to the administrator user account." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
5. Complete the onboarding process and click **Done**.

Now you should see the main page of the Immich app. This is where all the pictures you upload will be displayed.

### Create a new user account <a href="#create-a-new-user-account" id="create-a-new-user-account"></a>

With the available user management features, you can create user accounts for friends or family members who will be joining your server. It is recommended to set up individual accounts for each user to ensure their uploaded assets remain private and secure.

1. In the upper-right corner, click the user icon and choose **Administration**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fv2f5NBQm90vQRK1tOlTu%2Fimmich_administration_dark.png?alt=media&#x26;token=750ed09f-83ef-4fb1-9257-b5f8e1ac5f98" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FM3pJq3qdDiMkdRJAe2ns%2Fimmich_administration.png?alt=media&#x26;token=4646dc8f-2f12-443d-adcf-3b36a4b5ecd4" alt="Arrow pointing to the user icon and selecting the &#x22;Administration&#x22; button." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
2. Select **Create user**.
3. Enter the email address, password, and username of the new user account.\
   &#x20;\
   **Example**

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FmUcC6KeehsCxNrh3fdx9%2Fimmich_create_user_dark.png?alt=media&#x26;token=7b9285af-d9af-4700-9ea3-7def6eef90a3" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FqmUl4cIyZ3APRNOcVH7O%2Fimmich_create_user.png?alt=media&#x26;token=ac812e4d-f052-45dd-9ef8-44c23bc111b4" alt="Filling in the new user account details." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
4. Click **Create**.

The new user account has been created and you can see its details under the **User management** table.

<div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FqhSk7DRJLG0l8AaSxt2V%2Fimmich_user_table_dark.png?alt=media&#x26;token=f4e30b8e-fc85-40d6-9245-e143517d20e7" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FdzrH0JsbWLta8fAVamBY%2Fimmich_user_table.png?alt=media&#x26;token=174759df-83eb-4d6d-80f2-e04288cc4b83" alt="New user account visible in the &#x22;User management&#x22; table."></picture><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Note**

To enhance account security, new users must change their password upon logging in for the first time. If you prefer to disable this feature, turn off the **Require user to change password on first login** toggle during account creation.
{% endhint %}

### Add Meshnet address as an external domain <a href="#add-meshnet-address-as-an-external-domain" id="add-meshnet-address-as-an-external-domain"></a>

The external domain specified in the Immich settings is used to generate links for media sharing. While this setting is not mandatory for allowing remote connections over Meshnet, entering your Meshnet address as the external domain simplifies the item-sharing process between Meshnet peers.

1. In the upper-right corner, click the user icon and choose **Administration**.
2. From the menu on the left, select **Settings**, locate **Server settings,** and expand the dropdown.
3. In the **External domain** field, enter `http://<server>:2283`, replacing the `<server>` placeholder with your server’s Nord name or Meshnet IP address.\
   &#x20;\
   **Example**

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FQNKFia4H3RqzbvdbFCth%2Fimmich_server_url_dark.png?alt=media&#x26;token=65ff24e5-658d-4c64-b4b5-d4a1af05a5f5" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FLYXJM8d5kfRhWrJmBSCx%2Fimmich_server_url.png?alt=media&#x26;token=14e2d50f-2b0c-4dc1-a4a9-194cb4f93dce" alt="Nord name with port 2283 entered in the &#x22;External domain&#x22; field."></picture><figcaption></figcaption></figure></div>

   &#x20;
4. Click **Save**.

## Access Immich over Meshnet <a href="#access-immich-over-meshnet" id="access-immich-over-meshnet"></a>

Depending on your device type, you can choose from two different methods to connect to your Immich server over Meshnet.

{% hint style="info" %}
**Note**

If you're hosting Immich on a Linux device, you must grant the [local network permission](https://meshnet.nordvpn.com/features/explaining-permissions/local-network-permissions) for the devices accessing it. For more information, see [Common issues on Linux](https://meshnet.nordvpn.com/troubleshooting/linux#cannot-access-docker-containers-over-meshnet).
{% endhint %}

### Method 1: Using the Immich mobile app <a href="#method-1-using-the-immich-mobile-app" id="method-1-using-the-immich-mobile-app"></a>

The Immich mobile app is developed alongside the server software and includes additional features tailored specifically for mobile devices.

1. Download and install the Immich app on your mobile device.
   * On Android, you can download Immich from any of the following sources:
     * [Google Play Store](https://play.google.com/store/apps/details?id=app.alextran.immich)
     * [F-droid app catalog](https://f-droid.org/packages/app.alextran.immich/)
     * [Immich GitHub repository](https://github.com/immich-app/immich/releases)
   * On iPhone and iPad, you can get it from the [App Store](https://apps.apple.com/us/app/immich/id1613945652).
2. Launch **Immich** <img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FZ1XK9VQNJqThDABC8Qqa%2Ficon_immich.svg?alt=media&#x26;token=9f99b3d5-a078-4a0a-acd2-691983231a83" alt="" data-size="line">.
3. When requested, grant the Immich app access to your photo library.
4. In the **Server endpoint URL** field, enter `http://<server>:2283/api`, where `<server>` is the Nord name or Meshnet IP address of your Immich server device. Then, tap **Next**.\
   &#x20;\
   **Example**\
   `http://secret.meerkat-himalayas.nord:2283/api`\
   &#x20;
5. Enter the email and password of your Immich account and select **Login**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FEgmPw71Y7gfZvKV3Gz3w%2Fimmich_mobile_login_dark.png?alt=media&#x26;token=b684bcb8-4bdf-4e4e-b000-660025feccae" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F4mTvjcO6dQhZRHKrk1hB%2Fimmich_mobile_login.png?alt=media&#x26;token=7fd96d7c-9592-4cf2-865f-e8cbbed50361" alt="Logging in to Immich on the mobile app." width="375"></picture><figcaption></figcaption></figure></div>

### Method 2: Using an internet browser <a href="#method-2-using-an-internet-browser" id="method-2-using-an-internet-browser"></a>

If you’re using a desktop device, you’ll need to access and use Immich through an internet browser.

1. Copy the Nord name of the Immich server directly from the NordVPN app.
2. Open your internet browser.
3. Paste the copied Nord name followed by `:2283` to the URL field and press **Enter**.

   &#x20;\
   **Example**\
   `secret.meerkat-himalayas.nord:2283/`\
   &#x20;
4. Type in the authentication details of your Immich account and click **Login**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FjV7SLtOHZr7qHczpp4w3%2Fimmich_web_login_dark.png?alt=media&#x26;token=cd4e9a54-c368-4309-affd-b83b089938d1" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F3dD8nKFwaH9cxaLVbagA%2Fimmich_web_login.png?alt=media&#x26;token=5a94f711-965c-4829-bca2-3c2d6b70cc27" alt="Logging in to Immich via an internet browser. "></picture><figcaption></figcaption></figure></div>

## Upload your media <a href="#upload-your-media" id="upload-your-media"></a>

Once you have established a connection to your Immich instance, you can select and backup your photographs and recordings to your server.

{% tabs %}
{% tab title="Using the mobile app" %}

1. In the upper-right corner, tap the backup button.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FBD1IFS3Olf8rHWw4F66C%2Fimmich_mobile_cloud_dark.png?alt=media&#x26;token=8b2d40fa-ab7b-461c-9d16-630faee17c62" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FAnVXNVCJnAiyaxvi857T%2Fimmich_mobile_cloud.png?alt=media&#x26;token=e45c540d-0669-40b1-bc37-9a82a175dc0a" alt="Cloud button highlighted in the upper-right corner of the Immich app." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
2. Tap **Select** to choose the media folders you want to back up on your Immich server.
3. Return to the **Backup** screen and select **Start backup** to begin uploading items to Immich.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fy9j6YZaSLUR9PEKqcSYl%2Fimmich_mobile_start_backup_dark.png?alt=media&#x26;token=28b3caad-a281-41ad-ba95-2dc6da53377d" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FvXW5FyHDV1uduT3NJE5j%2Fimmich_mobile_start_backup.png?alt=media&#x26;token=29325ebc-dc68-4af1-a169-904b3877c177" alt="&#x22;Start backup&#x22; button highlighted." width="375"></picture><figcaption></figcaption></figure></div>

Your assets should immediately start being uploaded to Immich. The transfer statistics are displayed on the **Backup** screen and are updated in real time.

{% hint style="info" %}
**Tip**

You can configure the Immich mobile app to automatically upload media from the selected locations to the server. For further details and instructions, see the “Automatic backup” page of [Immich documentation](https://immich.app/docs/features/automatic-backup).
{% endhint %}
{% endtab %}

{% tab title="Using an internet browser" %}

1. Using your internet browser, open the Immich web interface.
2. In the upper-right corner, select **Upload**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FXgYtF3Spes9IqwMc200l%2Fimmich_web_upload_dark.png?alt=media&#x26;token=07a297b5-e3a8-4063-886b-eeec569b9710" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fo4txjODEpgI1qx1xYyqp%2Fimmich_web_upload.png?alt=media&#x26;token=4cf17e12-340b-4ae4-9761-511baf4f44ff" alt="&#x22;Upload&#x22; button highlighted." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
3. In the file explorer dialog, select the files you want to upload to Immich and click **Open**.

While uploading the media, a pop-up dialog will be displayed in the lower-right corner of the screen showcasing the upload progress.

<div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FATIdh5GO6u9ljEw39Uf3%2Fimmich_web_upload_progress_dark.png?alt=media&#x26;token=e21ebeae-3efa-49d2-9558-20345e8d1062" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FLs1iBstkrJpwMiMKWYXS%2Fimmich_web_upload_progress.png?alt=media&#x26;token=3ce1d438-3b0c-47f6-a92d-d132daa4a0c4" alt="File upload progress dialog." width="375"></picture><figcaption></figcaption></figure></div>

Immich will notify you when the upload completes and inform you to refresh the page to view the content.
{% endtab %}
{% endtabs %}

## Organize and share your media <a href="#organize-and-share-your-media" id="organize-and-share-your-media"></a>

With all of the assets backed up on your Immich server, you can start organizing the media and sharing it with other users.

### Create a new album <a href="#create-a-new-album" id="create-a-new-album"></a>

All uploaded media is sorted by date and displayed on a single page. You may want to improve upon this layout by grouping content into albums. To create an album:

1. In Immich, select the items you want to include in your album by clicking the checkmark in the upper-left corner of the thumbnail.
2. In the upper-right corner, click the **Add to** button.

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FEAitdzTGFjdr4w57ZduT%2Fimmich_web_add_to_dark.png?alt=media&#x26;token=838a4db9-23db-4efd-ab12-efc7c8ab918b" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FWUCOzjAdv7IQfEU7ykUT%2Fimmich_web_add_to.png?alt=media&#x26;token=f67cf32d-b221-49d5-b122-a9bf434983be" alt="Images selected and the plus button highlighted."></picture><figcaption></figcaption></figure>

   &#x20;
3. In the **Search** field, enter the name of your album and select **New album**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F5oWehn9poNsUSs7wA1Yj%2Fimmich_web_new_album_dark.png?alt=media&#x26;token=a5fadd4d-69b1-4820-a0d5-64582d33112f" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FwkR7cQbnQKDn0tU9TGPe%2Fimmich_web_new_album.png?alt=media&#x26;token=f961027c-e06e-4760-a382-075f49a1a74a" alt="&#x22;New album&#x22; button highlighted under the album name." width="375"></picture><figcaption></figcaption></figure></div>

A new album with your chosen title is now created. You can view and manage the album and its contents on the **Albums** page.

<div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FdfLTW8x2flDd1Arc9xqK%2Fimmich_web_albums_dark.png?alt=media&#x26;token=aeb3aafc-8740-4665-8ae9-eaa59656eafd" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FXXHXU4uYHwCWvWXyoHap%2Fimmich_web_albums.png?alt=media&#x26;token=9ad90237-3cc2-40d6-b3c0-b4f4e18918fc" alt="Albums page open in Immich."></picture><figcaption></figcaption></figure></div>

### Share an album between users <a href="#share-an-album-between-users" id="share-an-album-between-users"></a>

To simplify file management and conserve storage space, you can upload assets from a single account, organize them into an album, and grant access to other Immich users, allowing them to view the album from their accounts.

1. Open the Immich web interface.
2. From the menu on the left, select **Albums**.
3. Hover your cursor over the album you want to share and click the three-dot menu button.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fq3UXBqE32Tl3x9FqX7oL%2Fimmich_web_album_options_dark.png?alt=media&#x26;token=1ec22c90-8595-44c9-9c60-9c33bfd922f4" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FwkevWTmd3CECdgnbwkoN%2Fimmich_web_album_options.png?alt=media&#x26;token=6a710953-7f13-4a37-9b19-cae4cdf3308d" alt="Arrow pointing to the three-dot menu." width="563"></picture><figcaption></figcaption></figure></div>

   &#x20;
4. Choose **Share**.
5. In the **Invite to album** dialog, select the user with whom you want to share the album.
6. Click **Add**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FRbNKUvdgY3s6R4H87Iob%2Fimmich_web_album_invite_dark.png?alt=media&#x26;token=5406172d-e31f-4928-96e5-3cbfc8bdc438" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F8c3gNYcyFBqjHCpCqcOl%2Fimmich_web_album_invite.png?alt=media&#x26;token=5d97e31d-9070-4c8e-9108-a55b61021c2a" alt="&#x22;Add&#x22; button highlighted." width="375"></picture><figcaption></figcaption></figure></div>

The chosen user can now view the album you shared by navigating to their account’s **Albums** page.

{% hint style="info" %}
**Note**

By default, the invitees are granted editing permissions in the album. If you wish to share the album as view-only, in the **Invite to album** dialog, instead of **Editor**, select **Viewer**.
{% endhint %}

### Generate a sharing URL <a href="#generate-a-sharing-url" id="generate-a-sharing-url"></a>

If you want to share some content with a peer who doesn’t use Immich, you can use the integrated link-sharing feature.

{% tabs %}
{% tab title="Share selected items" %}

1. Open the Immich web interface.
2. Select the items you want to share by clicking the checkmark in the upper-left corner of the thumbnail.
3. In the upper-right corner, select **Share**.

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FufAmfOuzrbAB25euIpgi%2Fimmich_web_share_items_dark.png?alt=media&#x26;token=43bfd19e-8af5-456e-93d6-4cb579fe387c" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FHRRei6NYBSUetqjzy43p%2Fimmich_web_share_items.png?alt=media&#x26;token=6b06cf0b-84ca-4516-87a6-47560eb20b62" alt="Pictures selected and the share button is highlighted."></picture><figcaption></figcaption></figure>

   &#x20;
4. Optionally, enter a description for the items you are sharing.
5. Click **Create link**.
6. Highlight the generated URL, right-click it, and choose **Copy**.

Since you set the server’s Meshnet address as its external domain earlier, Immich will generate links using this address. This means that the receiving Meshnet peer can simply paste the link to their browser to view the shared content without needing to modify the link.

{% hint style="info" %}
**Note**

When accessing Immich over HTTP, the integrated button for copying generated links is disabled. As a result, sharing links must be copied manually.
{% endhint %}
{% endtab %}

{% tab title="Share an album" %}

1. Open the Immich web interface.
2. Navigate to the **Albums** page.
3. Hover your cursor over the album you want to share and click the three-dot menu button.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fq3UXBqE32Tl3x9FqX7oL%2Fimmich_web_album_options_dark.png?alt=media&#x26;token=1ec22c90-8595-44c9-9c60-9c33bfd922f4" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FwkevWTmd3CECdgnbwkoN%2Fimmich_web_album_options.png?alt=media&#x26;token=6a710953-7f13-4a37-9b19-cae4cdf3308d" alt="Arrow pointing to the three-dot menu." width="563"></picture><figcaption></figcaption></figure></div>

   &#x20;
4. Choose **Share** and select **Create link**.
5. Optionally, enter a description for the content you are sharing.
6. Click **Create link**.
7. Highlight the generated URL, right-click it, and choose **Copy**.

Since you set the server’s Meshnet address as its external domain earlier, Immich will generate links using this address. This means that the receiving Meshnet peer can simply paste the link to their browser to view the shared content without needing to modify the link.

{% hint style="info" %}
**Note**

When accessing Immich over HTTP, the integrated button for copying generated links is disabled. As a result, sharing links must be copied manually.
{% endhint %}
{% endtab %}
{% endtabs %}

## (Advanced) Import an external library <a href="#advanced-import-an-external-library" id="advanced-import-an-external-library"></a>

The [external libraries feature](https://immich.app/docs/features/libraries) enables you to import a folder pre-filled with content, eliminating the need to upload everything manually. This is especially useful for individuals who already store their footage in a centralized location but want to take advantage of the management features that Immich provides.

### Modify the Compose file <a href="#modify-the-compose-file" id="modify-the-compose-file"></a>

First, you must update the Docker Compose file with the path of the library you want to import.

1. Using a text editor, open the `docker-compose.yml` file of your Immich instance.
2. Under the `volumes` section, append a new line using this format:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">- &#x3C;library/host/path>:/mnt/media/&#x3C;directory>:ro
   </code></pre>

   &#x20;\
   Where:

   * `<path/to/library>` is the path to the media folder you want to import.
   * `<directory>` is a custom name of the folder where the library will be mounted inside the Immich container.\
     &#x20;\
     **Example**

     <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">- /Users/secretmeerkat/Documents/Videos:/mnt/media/external-videos:ro
     </code></pre>

     &#x20;

     <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FEFl2dRnOLKTIb0IY4dlM%2Fimmich_external_compose_dark.png?alt=media&#x26;token=2d4ee3f8-29db-4757-9ff8-719752b0f6c0" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fn7HCKwoh1415NTzr3uXn%2Fimmich_external_compose.png?alt=media&#x26;token=beeacf2d-50dc-4d72-97df-04feb23361ff" alt="New volume line highlighted in the docker-compose.yml file."></picture><figcaption></figcaption></figure>

     &#x20;
3. Save changes and close the `docker-compose.yml` file.
4. Open **PowerShell** (on Windows) or **Terminal** (on macOS and Linux) and navigate to your Immich directory using the `cd` command.
5. Run the command below to recreate the Immich server container with the updated Compose file.

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">docker compose up -d
   </code></pre>

Once the container restarts, the newly mounted volume will be available for importing in Immich.

{% hint style="info" %}
**Note**

The `:ro` parameter at the end of the volume line assigns read-only permissions to the container for the specific folder, ensuring that the data cannot be modified or deleted.
{% endhint %}

### Create a library <a href="#create-a-library" id="create-a-library"></a>

On your Immich web interface, take the following steps to create a new external library:

1. In the upper-right corner, click the user icon and choose **Administration**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fv2f5NBQm90vQRK1tOlTu%2Fimmich_administration_dark.png?alt=media&#x26;token=750ed09f-83ef-4fb1-9257-b5f8e1ac5f98" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FM3pJq3qdDiMkdRJAe2ns%2Fimmich_administration.png?alt=media&#x26;token=4646dc8f-2f12-443d-adcf-3b36a4b5ecd4" alt="Arrow pointing to the user icon and selecting the &#x22;Administration&#x22; button." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;&#x20;
2. From the menu on the left, select **External libraries** and click **Create library**.

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FLLzXi42KR8AYCzihrpfh%2Fimmich_external_create_dark.png?alt=media&#x26;token=aaaf82a7-2abc-4816-a1af-82735652052e" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FL7trsLwcwrQr7KvAWAel%2Fimmich_external_create.png?alt=media&#x26;token=3b393c4e-48b7-4dae-9f53-cea941300783" alt="Arrow pointing to &#x22;External libraries&#x22; and the &#x22;Create library&#x22; button is highlighted."></picture><figcaption></figcaption></figure></div>

   &#x20;
3. Choose the owner of the library and select **Create**.
4. Next to your new external library, click the three-dot menu icon, choose **Edit import paths**, and click **Add path**.
5. In the **Path** field, enter the mounting path of the new volume you added in the Compose file.\
   &#x20;\
   **Example**

   <div align="left"><figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FlnVHxlDixBINmjHIQV8v%2Fimmich_external_add_dark.png?alt=media&#x26;token=7049af02-edb0-41e5-9093-87cb57e02fe4" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FGkLflITqCgSO3RbsOsAV%2Fimmich_external_add.png?alt=media&#x26;token=41d142e4-61c1-4a38-83b9-86b7ed59b0b3" alt="Container path of the external library folder highlighted." width="375"></picture><figcaption></figcaption></figure></div>

   &#x20;
6. Click **Add** and then **Save**.
7. From the three-dot menu next to your library, choose **Scan** to index the items stored in the imported folder.

You should now see all of the media placed in the folder of the external library on the **Photos** page.

#### Rename the library <a href="#rename-the-library" id="rename-the-library"></a>

All new external libraries are assigned the same default name. For more convenient management, it is recommended to assign a unique and identifiable name to each library.

1. Next to the external library, click the three-dot menu button and choose **Rename**.
2. In the **Name** field, enter a unique name for the library.
3. Click **Save**.

### Turn on periodic scanning <a href="#turn-on-periodic-scanning" id="turn-on-periodic-scanning"></a>

Lastly, to ensure that new files from the external library are detected and indexed in Immich, you should turn on the periodic library scanning feature.

1. In the upper-right corner, click the user icon and choose **Administration**.
2. From the menu on the left, select **Settings**, locate **External library**, and expand the dropdown.
3. Under **Periodic scanning**, ensure that the **Enable periodic library scanning** toggle is turned on.

   <figure><picture><source srcset="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FqZAJFXtdYi6XP17hznD1%2Fimmich_external_scanning_dark.png?alt=media&#x26;token=258165b2-e2aa-4f6c-bd10-eab7f46456d1" media="(prefers-color-scheme: dark)"><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FUfoR8k7g7pne77j4CsPN%2Fimmich_external_scanning.png?alt=media&#x26;token=b96b597e-d1a1-47f0-880d-8bdc867efff2" alt="&#x22;Enable periodic library scanning&#x22; toggle set to the on position."></picture><figcaption></figcaption></figure>

   &#x20;
4. Optionally, select a custom scanning time interval by adjusting the values in the **Cron expression** field.
5. Click **Save**.

{% hint style="info" %}
**Note**

With the version `v1.94.0`, Immich introduced a **Library watching** feature that can be used instead of periodic scanning. The feature automatically imports new files when the server’s operating system detects changes in the external library folder. However, as of version `v.1.24.2`, the feature is still experimental and should be used with caution.
{% endhint %}
