dr34m-cn / taosync

TaoSync是一个适用于AList V3的自动化同步工具/sync for alist
GNU Affero General Public License v3.0
219 stars 17 forks source link

无法正确同步删除文件目录 #42

Open Lumysia opened 4 days ago

Lumysia commented 4 days ago

问题描述

本地只读(对Alist)目录/WebDisk正常向多网盘同步成功后,本地删除/WebDisk/Test目录,再次手动扫描同步目标结束后显示无需同步,检查并确认多个目标网盘没有任何网盘删除/WebDisk/Test目录,检查Alist日志后确认没有任何执行日志。

Edit:

TaoSync配置

系统环境

Compose

version: "3"
services:
  alist:
    image: xhofe/alist-aria2:latest
    networks:
      alist_network:
    ports:
      - 127.0.0.1:5244:5244
    restart: unless-stopped
    volumes:
      - ${DATA_PATH}/alist:/opt/alist/data
      - ${WEBDISK_LOCAL_PATH}:/opt/alist/local-dsm/WebDisk:ro
    environment:
      PUID: 0
      PGID: 0
      UMASK: 022

  taosync:
    image: dr34m/tao-sync:latest
    networks:
      alist_network:
    ports:
      - 127.0.0.1:8023:8023
    restart: unless-stopped
    volumes:
      - ${DATA_PATH}/taosync:/app/data

networks:
  alist_network:
Lumysia commented 4 days ago

补充一点日志,但是看起来没有有帮助的内容

TaoSync日志

2024-11-22 13:52:43,077 onStart.py[line:26] INFO 初始化数据库完成_/_Initializing the database completed
2024-11-22 13:52:43,078 logJobService.py[line:53] INFO 日志定时更名任务启动成功
2024-11-22 13:52:43,087 base.py[line:454] INFO Adding job tentatively -- it will be properly scheduled when the scheduler starts
2024-11-22 13:52:43,087 base.py[line:895] INFO Added job "logChangeJob" to job store "default"
2024-11-22 13:52:43,087 base.py[line:181] INFO Scheduler started
2024-11-22 13:52:43,094 logJobService.py[line:58] INFO 任务保留时间为0,将保留所有任务
2024-11-22 13:52:43,094 logJobService.py[line:60] INFO 定时清理任务启动成功
2024-11-22 13:52:43,096 base.py[line:454] INFO Adding job tentatively -- it will be properly scheduled when the scheduler starts
2024-11-22 13:52:43,096 base.py[line:895] INFO Added job "logClearJob" to job store "default"
2024-11-22 13:52:43,096 base.py[line:181] INFO Scheduler started
2024-11-22 13:52:43,104 base.py[line:454] INFO Adding job tentatively -- it will be properly scheduled when the scheduler starts
2024-11-22 13:52:43,104 base.py[line:895] INFO Added job "JobClient.doJob" to job store "default"
2024-11-22 13:52:43,104 base.py[line:181] INFO Scheduler started
2024-11-22 13:52:43,125 base.py[line:454] INFO Adding job tentatively -- it will be properly scheduled when the scheduler starts
2024-11-22 13:52:43,125 base.py[line:895] INFO Added job "JobClient.doJob" to job store "default"
2024-11-22 13:52:43,126 base.py[line:181] INFO Scheduler started
2024-11-22 13:52:43,150 main.py[line:37] CRITICAL 启动成功_/_Running at http://127.0.0.1:8023/
2024-11-22 13:54:46,354 web.py[line:2348] INFO 200 PUT /svr/job (172.29.0.1) 22.23ms
2024-11-22 13:54:46,397 web.py[line:2348] INFO 200 GET /svr/job?pageSize=10&pageNum=1 (172.29.0.1) 2.07ms
2024-11-22 13:54:49,622 web.py[line:2348] INFO 200 PUT /svr/job (172.29.0.1) 0.77ms
2024-11-22 13:54:49,654 web.py[line:2348] INFO 304 GET /svr/job?pageSize=10&pageNum=1 (172.29.0.1) 2.73ms
2024-11-22 13:54:50,828 web.py[line:2348] INFO 200 GET /svr/job?id=3&pageSize=10&pageNum=1 (172.29.0.1) 3.71ms
2024-11-22 13:55:33,885 web.py[line:2348] INFO 304 GET /svr/job?id=3&pageSize=10&pageNum=1 (172.29.0.1) 4.34ms
2024-11-22 13:57:05,558 web.py[line:2348] INFO 200 GET /svr/job?id=3&pageSize=10&pageNum=1 (172.29.0.1) 4.16ms