cloudreve / Cloudreve

🌩支持多家云存储的云盘系统 (Self-hosted file management and sharing system, supports multiple storage providers)
https://cloudreve.org
GNU General Public License v3.0
22k stars 3.44k forks source link

使用离线下载,转存到OneDrive时报错:Failed to transfer one or more file(s) #2094

Open pppfz opened 4 months ago

pppfz commented 4 months ago

一、部署环境

1、cloudreve部署

networks:
    1panel-network:
        external: true
services:
    cloudreve:
        container_name: ${CONTAINER_NAME}
        deploy:
            resources:
                limits:
                    cpus: ${CPUS}
                    memory: ${MEMORY_LIMIT}
        image: cloudreve/cloudreve:3.8.3
        labels:
            createdBy: Apps
        networks:
            - 1panel-network
        ports:
            - ${HOST_IP}:${PANEL_APP_PORT_HTTP}:5212
        restart: always
        volumes:
            - ./data/uploads:/cloudreve/uploads
            - /tmp/cloudreve:/data   #这里我改过,原来是:./data/data:/data
            - ./data/conf.ini:/cloudreve/conf.ini
            - ./data/cloudreve.db:/cloudreve/cloudreve.db
            - ./data/avatar:/cloudreve/avatar

2、aria2部署

version: "3.8"
services:
  Aria2-Pro:
    container_name: aria2-pro
    image: p3terx/aria2-pro:latest
    environment:
      - PUID=65534
      - PGID=65534
      - UMASK_SET=022
      - RPC_SECRET=zzzzzzzzzzzz
      - RPC_PORT=6800
      - LISTEN_PORT=6888
      - DISK_CACHE=64M
      - IPV6_MODE=false
      - UPDATE_TRACKERS=true
      - CUSTOM_TRACKER_URL=
      - TZ=Asia/Shanghai
    volumes:
      - ./aria2-config:/config   
      - /tmp/cloudreve:/downloads

    network_mode: host
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 1m
  AriaNg:
    container_name: ariang
    image: p3terx/ariang
    command: --port 6880 --ipv6
    network_mode: host
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 1m

3、cloudreve配置

image

二、问题

在使用离线下载后,转存到OneDrive时报错:

Failed to transfer one or more file(s).open/tmp/cloudreve/aria2/e28d56f3-7fca-48c1-b713- 1f0952f0c49d/ZdHxUb2apScBQgvi.mp4:no such file or directory

[下载测试文件](https://video.twimg.com/ext_tw_video/1806686374441213954/pu/vid/avc1/480x270/ZdHxUb2apScBQgvi.mp4?tag=12)

ariang反馈下载成功:

image

三、部分日志

image

image

fengyi786 commented 1 month ago

Failed to transfer one or more file(s).: open /data/cloudreve_temp/aria2/f0bcf1fd-84ca-45a8-9137-b7323475448a/The.Matrix.1999.1080p.BluRay.DDP5.1.x265.10bit-GalaxyRG265[TGx]/NEW upcoming releases by Xclusive.txt: no such file or directory open 路径中又空格会出现这个情况,需要对路径进行特殊处理