Media Management Renaming Issues

Sonarr Version 4.0.8.1874
Ubuntu 22.04.4 LTS

For a few Sonarr releases, maybe the past 6 months, all of a sudden Sonarr isn’t renaming episodes the way I want it to. I’d like my episodes renamed like this: {Series Title}.S{season:00}E{episode:00}.{Episode Title} {Quality Full}. Most of the time, Sonarr renames the episode like this: {Series Title} - S{season:00}E{episode:00} -. Sonarr also seems to have given up on creating Season folders.
Here are the relevant lines from the debug log.

2024-08-08 21:35:00.1|Debug|Api|[GET] /api/v3/queue/details?seriesId=143: 200.OK (1 ms)
2024-08-08 21:35:00.1|Debug|Api|[GET] /api/v3/command: 200.OK (0 ms)
2024-08-08 21:35:30.0|Debug|ImportListSyncService|No import lists with automatic add enabled
2024-08-08 21:35:30.0|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-08 21:36:30.0|Debug|SabnzbdProxy|Url: http://10.10.2.10:8080/api?mode=queue&start=0&limit=0&category=tv&apikey=(removed)&output=json
2024-08-08 21:36:30.0|Debug|SabnzbdProxy|Url: http://10.10.2.10:8080/api?mode=history&start=0&limit=60&category=tv&apikey=(removed)&output=json
2024-08-08 21:36:30.0|Debug|DownloadedEpisodesImportService|Processing path: /mnt/downloads/sabnzbd/complete/tv/The Ultimate Fighter
2024-08-08 21:36:30.0|Warn|DownloadedEpisodesImportService|Unable to process folder that is mapped to an existing series
2024-08-08 21:36:30.0|Debug|CompletedDownloadService|Not all episodes have been imported for the release ‘The.Ultimate.Fighter.S32E09.1080p.WEB-DL.ACC.2.0.H264-SHREDDiE’
2024-08-08 21:36:30.1|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-08 21:36:30.1|Debug|Api|[GET] /api/v3/queue/details?seriesId=143: 200.OK (1 ms)
2024-08-08 21:37:00.0|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-08 21:38:00.0|Debug|SabnzbdProxy|Url: http://10.10.2.10:8080/api?mode=queue&start=0&limit=0&category=tv&apikey=(removed)&output=json
2024-08-08 21:38:00.0|Debug|SabnzbdProxy|Url: http://10.10.2.10:8080/api?mode=history&start=0&limit=60&category=tv&apikey=(removed)&output=json
2024-08-08 21:38:00.0|Debug|DownloadedEpisodesImportService|Processing path: /mnt/downloads/sabnzbd/complete/tv/The Ultimate Fighter
2024-08-08 21:38:00.0|Warn|DownloadedEpisodesImportService|Unable to process folder that is mapped to an existing series
2024-08-08 21:38:00.0|Debug|CompletedDownloadService|Not all episodes have been imported for the release ‘The.Ultimate.Fighter.S32E09.1080p.WEB-DL.ACC.2.0.H264-SHREDDiE’
2024-08-08 21:38:00.1|Debug|Api|[GET] /api/v3/command: 200.OK (0 ms)
2024-08-08 21:38:00.1|Debug|Api|[GET] /api/v3/queue/details?seriesId=143: 200.OK (1 ms)
2024-08-08 21:38:23.4|Debug|Api|[GET] /api/v3/health: 200.OK (0 ms)
2024-08-08 21:38:23.4|Debug|Api|[GET] /api/v3/diskspace: 200.OK (18 ms)
2024-08-08 21:38:23.4|Debug|Api|[GET] /api/v3/system/status: 200.OK (5 ms)
2024-08-08 21:38:26.6|Debug|Api|[GET] /api/v3/log/file: 200.OK (2 ms)

I think this error is usually because your download folder and root folder are the same?
What is your Root Folder set to?
Are you showing any Health errors?

Are you sure? I’ve had my download folder and root folder the same for at least 5 years. This problem just started a few months ago. I have no problem separating the folders, if you’re sure it will fix the problem. I just don’t want to f* around with my file systems if I don’t have to.

Thank you for the reply and the help!

I went ahead and broke out the root folder from the download folder and am having the same issue. Here’s some more log entries:

2024-08-08 23:01:30.5|Debug|Parser|Release Group parsed: Fight-BB
2024-08-08 23:01:30.5|Debug|Parser|Parsing string ‘The.Ultimate.Fighter.S32E09.1080p.WEB-DL.H264.Fight-BB’
2024-08-08 23:01:30.5|Debug|SceneMappingService|Found scene mapping for: The Ultimate Fighter. TVDB ID for mapping: 75382
2024-08-08 23:01:30.5|Debug|DownloadedEpisodesImportService|Processing path: /mnt/downloads/sabnzbd/complete/tv/The Ultimate Fighter
2024-08-08 23:01:30.5|Warn|DownloadedEpisodesImportService|Unable to process folder that is mapped to an existing series
2024-08-08 23:01:30.5|Debug|CompletedDownloadService|Not all episodes have been imported for the release ‘The.Ultimate.Fighter.S32E09.1080p.WEB-DL.H264.Fight-BB’
2024-08-08 23:01:30.5|Debug|Api|[GET] /api/v3/queue/details?seriesId=143: 200.OK (1 ms)
2024-08-08 23:01:30.5|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)
2024-08-08 23:02:00.5|Debug|Api|[GET] /api/v3/command: 200.OK (1 ms)

Also, I should mention that the job hangs in the Activity Queue and has to be manually deleted, which also deletes the entire Series folder.

I’m sure.

https://wiki.servarr.com/en/sonarr/troubleshooting#download-folder-and-library-folder-not-different-folders

Error indicates that the show is still mapped to the same location. What you mentioned re deletion indicates that they have not been separated.
What is the folder path for that show?
What is your Root Folder set to?
Did the health check go away?

My health check went away. Here are my paths:
Download Path: /mnt/downloads/sabnzbd/complete/tv
Root Folder: /mnt/downloads/sonarr

What do you mean by ‘folder path for that show’? Sonarr has been creating the show folder under the download path. So for Ultimate Fighter, the show path is /mnt/downloads/sabnzbd/complete/tv/The Ultimate Fighter.

No folders have been created under /mnt/downloads/sonarr. In fact, it doesn’t look like the root path is being used at all.

OK. Making progress.

Changing your root folder doesn’t move your existing shows. So you will want to do that next. Before proceeding you will want to check your Media Management settings and make sure your naming formats are set as you want. I believe the following will at least affect your folder names and season folders.

https://wiki.servarr.com/sonarr/faq-v4#where-has-the-mass-editor-gone

  1. Select Series
  2. Select All *(Probably recommended to test on a single series first before processing your whole library.)
  3. Edit
  4. Season Folder > Yes
  5. Choose your Root folder
  6. Apply

This will move your show(s) to the new root folder location and rename your series folder per your naming scheme, and create season folders. I don’t believe it does episode file renaming though, that is a separate process.

Once that is done and your show is in the correct location under your root folder, try your download/import again.

Thanks so much. I forgot the Servarr’s want to control my media library. Like I said, this wasn’t a problem until a few months ago.

This is working now in that Season and Episode names are correct within the media library. Couple quick questions.

Do I have to manually create the Series folder within the root folder every time? It didn’t work this time until I manually created the Series folder. within the root folder.

Do I have to manually delete the episodes from the download folder every time? I had to manually delete the episodes this time.

Thank you for all the help. Very much appreciated!

No to both. Sonarr should be able to automatically do everything with the correct setup and permissions.

Check through your Sonarr setup and settings to make sure everything is set correctly.

Eg. https://wiki.servarr.com/en/sonarr/settings#completed-download-handling

Check user/group permissions and fix as appropriate

Eg. https://trash-guides.info/Hardlinks/How-to-setup-for/Native/