Skip to content

Commit 78b0c28

Browse files
authored
temp_dir issue
1 parent 549dba0 commit 78b0c28

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

docs/config/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ The scheme configuration, if you want to use https, you can set this field.
132132

133133
The temporary directory, default `data/temp`
134134

135+
::: danger
136+
temp_dir is a temporary folder exclusive to alist. In order to avoid program interruption and generate garbage files, it will be cleared every time it starts, so please do not manually put any content in this folder, and do not use this folder and its subfolders when using docker Folders are mapped to folders in use.
137+
:::
138+
135139
### log
136140

137141
The log configuration, if you want to setup the log level, you can set this field.

docs/guide/advanced/offline-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Then find the offline download button in the lower right corner, and choose to u
3030

3131

3232

33-
If you are **docker**, please map the following two default paths by yourself
33+
If you use **docker**, please map the following two default paths by yourself. (mapped to the same directory on the host machine)
3434

3535
- **/opt/alist/data/temp/aria2**
3636
- **/opt/alist/data/temp/qbittorrent**

docs/zh/config/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ CDN 地址,如果要使用 CDN,可以设置该字段,`$version` 会被替
134134

135135
程序临时目录,默认 `data/temp`
136136

137+
::: danger
138+
temp_dir为alist独占的临时文件夹,为避免程序中断产生垃圾文件会在每次启动时清空,故请不要手动在此文件夹内放置任何内容,也不要在使用docker时将此文件夹及其子文件夹映射至正在使用的文件夹。
139+
:::
140+
137141
### log
138142

139143
日志配置,如果要查看详细日志(或禁用它),可以设置该字段。

docs/zh/guide/advanced/offline-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ star: true
3131

3232

3333

34-
如果你是 **docker**,请自行映射以下两个默认路径
34+
如果你使用 **docker**,请自行映射以下两个默认路径(映射至宿主机相同的目录)
3535

3636
- **/opt/alist/data/temp/aria2**
3737

0 commit comments

Comments
 (0)