Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

链接transmisson文件报错 .partial文件 No Such file or directory #171

Open
dongfangshu opened this issue Mar 7, 2024 · 2 comments

Comments

@dongfangshu
Copy link

OS:Unraid 6.12.6
下载器:
version

Transmission设置:
setting
问题描述:链接过程中出现了源地址不存在的.partial文件,导致docker停止
日志截图:
屏幕截图 2024-03-06 210316
屏幕截图 2024-03-07 225916

@dongfangshu
Copy link
Author

补上配置我的配置:
// 重要说明路径地址都请填写 绝对路径!!!!
export default {
/**

  • 源路径与目标路径的映射关系
  • 例子:
  • pathsMapping: {
  • '/path/to/exampleSource': '/path/to/exampleDest',
    
  • '/path/to/exampleSource2': '/path/to/exampleDest2'
    
  • }
    /
    pathsMapping: {
    '/share/transmission/downloads/complete/Documentary':'/share/Media/Documentary',
    '/share/transmission/downloads/complete/Animates':'/share/Media/Animates',
    '/share/transmission/downloads/complete/other':'/share/Media/other',
    '/share/transmission/downloads/complete/Bluray':'/share/Media/Bluray',
    '/share/transmission/downloads/complete/TV':'/share/Media/TV',
    '/share/transmission/downloads/complete/Movie':'/share/Media/Movie',
    '/share/transmission/downloads/complete/AV':'/share/Media/AV',
    '/share/transmission/downloads/complete/Music':'/share/Media/Music'
    },
    /
    *
  • 需要包含的后缀,如果与exclude同时配置,则取两者的交集
  • include 留空表示包含所有文件
  • 后缀不够用? 高阶用法: https://hlink.likun.me/other/v2.html#%E6%96%B0%E5%A2%9E%E5%8A%9F%E8%83%BD
    /
    include: [
    ],
    /
    *
  • 需要排除的后缀,如果与include同时配置,则取两者的交集
  • 后缀不够用? 高阶用法: https://hlink.likun.me/other/v2.html#%E6%96%B0%E5%A2%9E%E5%8A%9F%E8%83%BD
    /
    exclude: [],
    /
    *
  • @scope 该配置项 hlink 专用
  • 是否保持原有目录结构,为false时则只保存一级目录结构
  • 可选值: true/false
  • 例子:
    • 源地址目录为:/a
    • 目标地址目录为: /d
    • 链接的文件地址为 /a/b/c/z/y/mv.mkv;
  • 如果设置为true 生成的硬链地址为: /d/b/c/z/y/mv.mkv
  • 如果设置为false 生成的硬链地址为:/d/y/mv.mkv
    /
    keepDirStruct: true,
    /
    *
  • @scope 该配置项 hlink 专用
  • 是否打开缓存,为true表示打开
  • 可选值: true/false
  • 打开后,每次硬链后会把对应文件存入缓存,就算下次删除硬链,也不会进行硬链
    /
    openCache: true,
    /
    *
  • @scope 该配置项 hlink 专用
  • 是否为独立文件创建同名文件夹,为true表示创建
  • 可选值: true/false
    /
    mkdirIfSingle: true,
    /
    *
  • @scope 该配置项为 hlink prune 命令专用
  • 是否删除文件及所在目录,为false只会删除文件
  • 可选值: true/false
    */
    deleteDir: false,
    }

db.json内容
{
"configs": [
{
"name": "sync",
"description": "同步下载",
"configPath": "/config/configs/976e4815-dd52-4e2d-8aad-a60def554775.mjs"
}
],
"tasks": [
{
"name": "同步下载",
"type": "main",
"config": "sync",
"scheduleType": "loop",
"scheduleValue": "3600"
}
]
}

@up55
Copy link

up55 commented Sep 30, 2024

参考我的解决方法:#189
主要就是排除链接出错的文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants