You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The folders considered for these checks include: `upload/`, `library/`, `thumbs/`, `encoded-video/`, `profile/`
7
+
:::
8
+
9
+
When Immich starts, it performs a series of checks in order to validate that it can read and write files to the volume mounts used by the storage system. If it cannot perform all the required operations, it will fail to start. The checks include:
10
+
11
+
- Creating an initial hidden file (`.immich`) in each folder
12
+
- Reading a hidden file (`.immich`) in each folder
13
+
- Overwriting a hidden file (`.immich`) in each folder
14
+
15
+
The checks are designed to catch the following situations:
16
+
17
+
- Incorrect permissions (cannot read/write files)
18
+
- Missing volume mount (`.immich` files should exist, but are missing)
19
+
20
+
### Common issues
21
+
22
+
:::note
23
+
`.immich` files serve as markers and help keep track of volume mounts being used by Immich. Except for the situations listed below, they should never be manually created or deleted.
24
+
:::
25
+
26
+
#### Missing `.immich` files
27
+
28
+
```
29
+
Verifying system mount folder checks (enabled=true)
30
+
...
31
+
ENOENT: no such file or directory, open 'upload/encoded-video/.immich'
32
+
```
33
+
34
+
The above error messages show that the server has previously (successfully) written `.immich` files to each folder, but now does not detect them. This could be because any of the following:
35
+
36
+
- Permission error - unable to read the file, but it exists
37
+
- File does not exist - volume mount has changed and should be corrected
38
+
- File does not exist - user manually deleted it and should be manually re-created (`touch .immich`)
39
+
- File does not exist - user restored from a backup, but did not restore each folder (user should restore all folders or manually create `.immich` in any missing folders)
40
+
41
+
### Ignoring the checks
42
+
43
+
The checks are designed to catch common problems that we have seen users have in the past, but if you want to disable them you can set the following environment variable:
0 commit comments