Cant rename file #2844

Open
opened 2026-02-20 02:12:25 -05:00 by deekerman · 6 comments
Owner

Originally created by @BioSs54 on GitHub (Apr 22, 2023).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

I change my settings for Lidarr create auto new folder from the Artist Genre :

In settings -> Media managment -> Artist Folder Format
---> {Artist Genre}/{Artist Name}

Expected Behavior

Create artist folder and move files in its folder

Steps To Reproduce

When i try to rename my files, or organize one artist folder, the rename process failed.
---> Root folder '/music/Hip Hop/' was not found.
--> I cant create root folder '/music/Hip Hop/' cause my main root folder is '/music'/

No response

Environment

- OS: Synology
- Lidarr: 1.1.4.3027-ls118 by linuxserver.io
- Docker Install: Yes
- Using Reverse Proxy: Yes
- Browser: Edge
- Database: Standard

What branch are you running?

Master

Trace Logs?

2023-04-22 18:44:05.3|Error|RenameTrackFileService|Failed to rename file /music/Hip-Hop & Rap/1995/La Source (2011)/07. 1995 - Tip.mp3

[v1.1.4.3027] NzbDrone.Core.MediaFiles.TrackImport.RootFolderNotFoundException: Root folder '/music/Hip Hop/' was not found.
at NzbDrone.Core.MediaFiles.TrackFileMovingService.EnsureTrackFolder(TrackFile trackFile, Artist artist, Album album, String filePath) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\TrackFileMovingService.cs:line 159
at NzbDrone.Core.MediaFiles.TrackFileMovingService.MoveTrackFile(TrackFile trackFile, Artist artist) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\TrackFileMovingService.cs:line 71
at NzbDrone.Core.MediaFiles.RenameTrackFileService.RenameFiles(List`1 trackFiles, Artist artist) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\RenameTrackFileService.cs:line 124

Originally created by @BioSs54 on GitHub (Apr 22, 2023). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior I change my settings for Lidarr create auto new folder from the Artist Genre : In settings -> Media managment -> Artist Folder Format ---> {Artist Genre}/{Artist Name} ### Expected Behavior Create artist folder and move files in its folder ### Steps To Reproduce When i try to rename my files, or organize one artist folder, the rename process failed. ---> Root folder '/music/Hip Hop/' was not found. --> I cant create root folder '/music/Hip Hop/' cause my main root folder is '/music'/ _No response_ ### Environment ```markdown - OS: Synology - Lidarr: 1.1.4.3027-ls118 by linuxserver.io - Docker Install: Yes - Using Reverse Proxy: Yes - Browser: Edge - Database: Standard ``` ### What branch are you running? Master ### Trace Logs? 2023-04-22 18:44:05.3|Error|RenameTrackFileService|Failed to rename file /music/Hip-Hop & Rap/1995/La Source (2011)/07. 1995 - Tip.mp3 [v1.1.4.3027] NzbDrone.Core.MediaFiles.TrackImport.RootFolderNotFoundException: Root folder '/music/Hip Hop/' was not found. at NzbDrone.Core.MediaFiles.TrackFileMovingService.EnsureTrackFolder(TrackFile trackFile, Artist artist, Album album, String filePath) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\TrackFileMovingService.cs:line 159 at NzbDrone.Core.MediaFiles.TrackFileMovingService.MoveTrackFile(TrackFile trackFile, Artist artist) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\TrackFileMovingService.cs:line 71 at NzbDrone.Core.MediaFiles.RenameTrackFileService.RenameFiles(List`1 trackFiles, Artist artist) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\RenameTrackFileService.cs:line 124
Author
Owner

@BioSs54 commented on GitHub (May 4, 2023):

Hi,

image
image
image

If you wanna more logs, you can founds its here :

-EDITED-

Here my logs with trace enabled : Lidarr rename problem cause by folder cant be create (Artist folder format : {Artist Genre}/{Artist Name})
https://gist.github.com/BioSs54/502eeb46c8ec959034c7a0a58004a649

@BioSs54 commented on GitHub (May 4, 2023): Hi, ![image](https://user-images.githubusercontent.com/4711085/236242255-adaa90a2-edce-4f9d-a9f5-b90fabf27dce.png) ![image](https://user-images.githubusercontent.com/4711085/236170249-7f48bf95-11b2-4fce-8057-0fa811972103.png) ![image](https://user-images.githubusercontent.com/4711085/236170097-fbb19467-c654-4ba9-a426-11ff03c9e2a4.png) If you wanna more logs, you can founds its here : -EDITED- Here my logs with trace enabled : Lidarr rename problem cause by folder cant be create (Artist folder format : {Artist Genre}/{Artist Name}) https://gist.github.com/BioSs54/502eeb46c8ec959034c7a0a58004a649
Author
Owner

@bakerboy448 commented on GitHub (May 15, 2023):

Info logs are not valid for bug reports. Please provide the trace logs the bug report template asks for and requires

@bakerboy448 commented on GitHub (May 15, 2023): Info logs are not valid for bug reports. Please provide the trace logs the bug report template asks for and requires
Author
Owner

@github-actions[bot] commented on GitHub (May 15, 2023):

👋 @BioSs54, In order to help you further we'll need to see logs. You'll need to enable trace logging and replicate the problem that you encountered. Guidance on how to enable trace logging can be found in our troubleshooting guide.

@github-actions[bot] commented on GitHub (May 15, 2023): :wave: @BioSs54, In order to help you further we'll need to see logs. You'll need to enable trace logging and replicate the problem that you encountered. Guidance on how to enable trace logging can be found in our [troubleshooting guide](https://wiki.servarr.com/lidarr/troubleshooting#logging-and-log-files).
Author
Owner

@BioSs54 commented on GitHub (May 30, 2023):

Thanks for your reply.
Here my logs with trace enabled : Lidarr rename problem cause by folder cant be create (Artist folder format : {Artist Genre}/{Artist Name})
https://gist.github.com/BioSs54/502eeb46c8ec959034c7a0a58004a649

@BioSs54 commented on GitHub (May 30, 2023): Thanks for your reply. Here my logs with trace enabled : Lidarr rename problem cause by folder cant be create (Artist folder format : {Artist Genre}/{Artist Name}) https://gist.github.com/BioSs54/502eeb46c8ec959034c7a0a58004a649
Author
Owner

@BioSs54 commented on GitHub (Aug 20, 2023):

I see that the status has not changed: "Status: Logs Needed". Should I provide more logs than my gist ?

@BioSs54 commented on GitHub (Aug 20, 2023): I see that the status has not changed: "Status: Logs Needed". Should I provide more logs than my gist ?
Author
Owner

@NyvenZA commented on GitHub (Feb 12, 2024):

I have a similar problem. I have attached trace log.

I want to sort my folders:
/{genre}/{artist}/{album}/
but it always makes it {Artist} first like this:
/{artist}/{genre}/{artist}/{album}/

The preview looks like it would rename it properly, but it doesn't match the preview:

image

image

lidarr.trace.txt

@NyvenZA commented on GitHub (Feb 12, 2024): I have a similar problem. I have attached trace log. I want to sort my folders: /{genre}/{artist}/{album}/ but it always makes it {Artist} first like this: /{artist}/{genre}/{artist}/{album}/ The preview looks like it would rename it properly, but it doesn't match the preview: ![image](https://github.com/Lidarr/Lidarr/assets/64709994/313f003f-ba1a-4afa-a687-a0fd27914d9e) ![image](https://github.com/Lidarr/Lidarr/assets/64709994/8e15f3a2-b1a7-43dd-8a95-721393435b81) [lidarr.trace.txt](https://github.com/Lidarr/Lidarr/files/14251630/lidarr.trace.txt)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Lidarr#2844
No description provided.