Sonarr - Renaming Movie Files with Sonarr = Re-Upload Bug | PlexGuide.com

Sonarr Renaming Movie Files with Sonarr = Re-Upload Bug

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

chrisboote

Active
Original poster
Dec 21, 2018
32
4
Hi All,

I've noticed that when I used Radarr to rename movie files in bulk using Movie Editor -> Organize; pgblitz re-uploads the entire renamed file.

Instead of Radarr just going and changing the file name, it seems to get picked up by pgblitz and re-uploaded. Or is this because I am pointing my Radarr library to the wrong place? My radarr library points at /unionfs/movies. Is that correct? Everything else seems to work ok, it knows when a movie is downloaded etc by searching that location.

You end up with two files in the movie directory, both the same, just one has been renamed.
 

chrisboote

Active
Original poster
Dec 21, 2018
32
4
Unless this is because Radarr doesn't have sufficient permissions to rename the folders so it's copying it and reuploading with new name? I don't know.. seems a bit crazy.
 

pYTTH

Elite
Staff
Nov 1, 2018
242
102
Have a similiar issue. My radarr is doing some strange things. Could not figure out yet whats causing problems but will watch your thread. I have started another thread on that 3 days ago
 

Miguel

Veteran
Staff
Donor
Feb 6, 2018
184
69
It's not a bug, if i remember correctly unionfs is set up so that your gdrive/tdrive mount is read only. You can't rename something thats read only so it has to pull it down first and then reupload it. You might be able to get away with editing the unionfs service to set the mount to read write but that may end up causing too many api hits if the mount isn't set up correctly.
 
S

subse7en

Guest
Correct, renames w/ sonarr/radarr will cause it to download and reupload b/c of unionfs permissions.

A different way to mass rename is to use Windows, install Google File Stream. Download Advanced Renamer and rename files. GFS will sync up the renames almost instantly.
 

pYTTH

Elite
Staff
Nov 1, 2018
242
102
It's not a bug, if i remember correctly unionfs is set up so that your gdrive/tdrive mount is read only. You can't rename something thats read only so it has to pull it down first and then reupload it. You might be able to get away with editing the unionfs service to set the mount to read write but that may end up causing too many api hits if the mount isn't set up correctly.
well, destination dir is /mnt/nzbget/downloads/completed
so basicly the download sits there. radarr goes over it (i've set nzbdrone, don't know if needed or not) to the same path. as for my understanding radarr will take the DL from /mnt/nzbget/downloads/completed - rename it, move it to the destination that is set in the radarr profile -> for example /mnt/unionfs/movies/german/
or am i missing something????
 

Admin9705

Administrator
Project Manager
Donor
Jan 17, 2018
5,156
2,114
so in pgblitz v2, the files will not upload unless they are 2 minutes old. it gives it enough time to rename.
 

pYTTH

Elite
Staff
Nov 1, 2018
242
102
just deploying - hold my beer & cigarette plese
 

Miguel

Veteran
Staff
Donor
Feb 6, 2018
184
69
well, destination dir is /mnt/nzbget/downloads/completed
so basicly the download sits there. radarr goes over it (i've set nzbdrone, don't know if needed or not) to the same path. as for my understanding radarr will take the DL from /mnt/nzbget/downloads/completed - rename it, move it to the destination that is set in the radarr profile -> for example /mnt/unionfs/movies/german/
or am i missing something????
Your problem sounds like something completely different.
I don't actually understand what your problem is? Are you saying radarr isn't importing the files to /mnt/unionfs/.......?
If so, what are your root paths set to for those files?
 
  • Like
Reactions: 1 user

pYTTH

Elite
Staff
Nov 1, 2018
242
102
Your problem sounds like something completely different.
I don't actually understand what your problem is? Are you saying radarr isn't importing the files to /mnt/unionfs/.......?
If so, what are your root paths set to for those files?
sorry for the late reply

yes, the download was sitting there and not been queried, however, i found now a solution that works for me (partially without sonarr) because i don't know if i will use it in future....

https://plexguide.com/threads/post-your-radarr-settings.3165/post-18914
 

chrisboote

Active
Original poster
Dec 21, 2018
32
4
I'm still having this issue, I think.

It's taking around 10 mins to rename files. I wonder if I was to point Radarr path to the Tdrive mount, would i be able to write that way without a re-upload?
 

chrisboote

Active
Original poster
Dec 21, 2018
32
4
Also - I have radarr set-up to grab 720p as a minimum for movies and then to keep searching for better copies until it gets a full 1080p copy. Radarr at that point is supposed to go and delete the 720p version.

This works fine in a local environment so I am wondering if the readonly permissions of unionfs are causing an issue. Maybe using the path to TDrive in Radarr would alleviate these issues?
 

chrisboote

Active
Original poster
Dec 21, 2018
32
4
Update: Changed the paths in Radarr to use /mnt/tdrive/movies rather than the unionfs directories and all 500+ movies renamed within 5 mins. Working nicely, this seems like the way to go definitely for Radarr, hoping now it will also handle the duplicates and delete the lesser quality versions too! (y):cool:
 

Stryk3r

Experienced
Staff
Oct 26, 2018
58
15
Update: Changed the paths in Radarr to use /mnt/tdrive/movies rather than the unionfs directories and all 500+ movies renamed within 5 mins. Working nicely, this seems like the way to go definitely for Radarr, hoping now it will also handle the duplicates and delete the lesser quality versions too! (y):cool:
be aware that by doing this you are bypassing the whole upload script and your files won't copy to /mnt/move and may not upload correctly and/or not use the GDSA keys and risk upload ban.

Admin is literally just fixing the unionfs system as we speak. I would change your paths back and just patiently wait or you risk your files not getting uploaded.
 

plex_noob

Elite
Staff
Donor
Oct 1, 2018
224
113
I confirm this is a risky path I wouldn't go either. There is no point having a PlexGuide installation if you skip the whole core engine behind it.
 

chrisboote

Active
Original poster
Dec 21, 2018
32
4
Why would my files not upload? Radarr doesn’t stipulate where files are downloaded to, NZBget does.
 

Stryk3r

Experienced
Staff
Oct 26, 2018
58
15
because in order for files to upload they need to go into /mnt/move which are then processed by an upload script, |The /mnt/move directory is part of the unionsfs system you are bypassing by saving directly to /mnt/tdrive. This union filesystem is how Plexguide is designed. But if you want to bypass what people are telling, that's your call. You'll see when you're files don't upload properly.
 

plex_noob

Elite
Staff
Donor
Oct 1, 2018
224
113
This is not completely correct. Your files will upload and maybe faster than with Pg but it won't be throttled meaning that if you exceed you daily quota you will be banned for 24h hours. In fact, nzbget does not know how to handle the files he downloads. It simply put it in a directory defined thanks to a tag provided by radarr and sonarr. Then radarr and sonarr processe the files and pgmove or pgblitz take care of the uploading.
 

chrisboote

Active
Original poster
Dec 21, 2018
32
4
because in order for files to upload they need to go into /mnt/move which are then processed by an upload script, |The /mnt/move directory is part of the unionsfs system you are bypassing by saving directly to /mnt/tdrive. This union filesystem is how Plexguide is designed. But if you want to bypass what people are telling, that's your call. You'll see when you're files don't upload properly.
Stryker, I'm not trying to be smart here. I am genuinely trying to find out exactly why it wouldnt work. Radarr points to /mnt/unionfs/movies but in no shape or form does it decide where content is downloaded to. Does it? I thought that was done by Nzbget.
 

plex_noob

Elite
Staff
Donor
Oct 1, 2018
224
113
Radarr points to unionfs which is a combination of remote gdrive (ro) and local /mnt/move ()RW)
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending