Skip to content

【Bug问题】: 文件整理遇到重复时不会覆盖/删除旧文件,而是重命名新文件加上时间后缀移动 #616

Description

@refined-fish

docker镜像版本

latest(2.7.2)

MusicTagWeb 版本

V1

bug 描述

我发现勾选文件,选择整理文件时,无论是否勾选洗版,选择删除或是移动,只要遇到即将移动的新文件名字和目的地的旧文件冲突,那么就会给新文件添加一个时间后缀,然后移动,导致曲库出现重复

查询了已有issue,可能与之相关的有:
#412
#332

系统日志(可填)

user musictag not exists, creating it

usermod: no changes

Using supervisor.conf for musictag user

2026-05-15 15:25:49,738 INFO Set uid to user 1000 succeeded

2026-05-15 15:25:49,754 INFO RPC interface 'supervisor' initialized

2026-05-15 15:25:49,755 INFO RPC interface 'supervisor' initialized

2026-05-15 15:25:49,755 CRIT Server 'unix_http_server' running without any HTTP authentication checking

2026-05-15 15:25:49,755 INFO supervisord started with pid 1

2026-05-15 15:25:50,757 INFO spawned: 'gunicorn' with pid 29

2026-05-15 15:25:50,759 INFO spawned: 'nginx' with pid 30

2026-05-15 15:25:50,760 INFO spawned: 'redis' with pid 31

2026-05-15 15:25:50,762 INFO spawned: 'worker' with pid 32

2026-05-15 15:25:50,763 INFO spawned: 'beat' with pid 35

2026-05-15 15:25:51,871 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2026-05-15 15:25:56,078 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)

2026-05-15 15:26:01,083 INFO success: redis entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 15:26:01,083 INFO success: worker entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 15:26:01,083 INFO success: beat entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

user musictag already exists

Using supervisor.conf for musictag user

2026-05-15 17:59:03,406 INFO Set uid to user 1000 succeeded

2026-05-15 17:59:03,440 INFO RPC interface 'supervisor' initialized

Unlinking stale socket /var/run/supervisor.sock

2026-05-15 17:59:03,748 INFO RPC interface 'supervisor' initialized

2026-05-15 17:59:03,749 CRIT Server 'unix_http_server' running without any HTTP authentication checking

2026-05-15 17:59:03,750 INFO supervisord started with pid 1

2026-05-15 17:59:04,761 INFO spawned: 'gunicorn' with pid 13

2026-05-15 17:59:04,764 INFO spawned: 'nginx' with pid 14

2026-05-15 17:59:04,773 INFO spawned: 'redis' with pid 15

2026-05-15 17:59:04,785 INFO spawned: 'worker' with pid 19

2026-05-15 17:59:04,787 INFO spawned: 'beat' with pid 20

2026-05-15 17:59:05,800 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2026-05-15 17:59:10,455 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)

2026-05-15 17:59:15,608 INFO success: redis entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 17:59:15,608 INFO success: worker entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 17:59:15,608 INFO success: beat entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 18:00:49,212 INFO exited: nginx (terminated by signal 63; not expected)

2026-05-15 18:00:49,212 INFO reaped unknown pid 21 (terminated by signal 63)

2026-05-15 18:00:50,214 INFO spawned: 'nginx' with pid 33

2026-05-15 18:00:51,221 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

user musictag already exists

Using supervisor.conf for musictag user

2026-05-15 18:03:18,506 INFO Set uid to user 1000 succeeded

2026-05-15 18:03:18,533 INFO RPC interface 'supervisor' initialized

Unlinking stale socket /var/run/supervisor.sock

2026-05-15 18:03:18,834 INFO RPC interface 'supervisor' initialized

2026-05-15 18:03:18,834 CRIT Server 'unix_http_server' running without any HTTP authentication checking

2026-05-15 18:03:18,834 INFO supervisord started with pid 1

2026-05-15 18:03:19,836 INFO spawned: 'gunicorn' with pid 13

2026-05-15 18:03:19,838 INFO spawned: 'nginx' with pid 14

2026-05-15 18:03:19,840 INFO spawned: 'redis' with pid 15

2026-05-15 18:03:19,842 INFO spawned: 'worker' with pid 16

2026-05-15 18:03:19,844 INFO spawned: 'beat' with pid 19

2026-05-15 18:03:20,889 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2026-05-15 18:03:25,656 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)

2026-05-15 18:03:30,803 INFO success: redis entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 18:03:30,803 INFO success: worker entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

2026-05-15 18:03:30,803 INFO success: beat entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions