Jump to content
binhex

[Support] binhex - Sonarr

550 posts in this topic Last Reply

Recommended Posts

So I'm having an issue where my episodes are downloading, but Sonarr is not renaming and organizing them properly. SABnzbd seems to be downloading them fine, but then they just sit in my completed folder instead of being moved to the TV Shows directory so Plex can see them.

 

I have the Media Management settings turned on here:

image.thumb.png.c095eaa58a831014f3ee23b707e809b9.png

 

But when I look in my completed folder, see this:

image.png.26b1d05dddea990d909b696f10f37e1f.png

 

And Sonarr should be able to move them to the correct directory (rather than copy) so I don't end up with duplicate files, correct?

Share this post


Link to post
So I'm having an issue where my episodes are downloading, but Sonarr is not renaming and organizing them properly. SABnzbd seems to be downloading them fine, but then they just sit in my completed folder instead of being moved to the TV Shows directory so Plex can see them.
 
I have the Media Management settings turned on here:
image.thumb.png.c095eaa58a831014f3ee23b707e809b9.png
 
But when I look in my completed folder, see this:
image.png.26b1d05dddea990d909b696f10f37e1f.png
 
And Sonarr should be able to move them to the correct directory (rather than copy) so I don't end up with duplicate files, correct?
Check your mapping correctly and everything is in the same case. I had similar issue few post back. You want your Data folder to all point to same location for all your containers.

Sent from my SM-G930F using Tapatalk

Share this post


Link to post
12 hours ago, bally12345 said:

Check your mapping correctly and everything is in the same case. I had similar issue few post back. You want your Data folder to all point to same location for all your containers. 

Sent from my SM-G930F using Tapatalk
 

So I checked that and it seems to be ok because I see files coming through:

image.png.6b8fb44c32888da3cebf605e0894979c.png

 

The problem is, there are only some files that it is renaming and moving. If I look at my usenet_complete folder, I see this:

image.png.09b75af776c2bcdf8c03da3c8366b08b.png

 

What would cause only some files to be renamed and moved? And is there a way for Sonarr to scan for completed files to rename and move?

Share this post


Link to post

After looking in the folders, it almost seems like it's erroring out before it can complete everything as there are little files left over:

image.png.f48787f0d19e379a419446f348575409.png

Share this post


Link to post

@trurl Bumping this to see if you may know why it's doing this. I just downloaded Season 1 of a show, and that downloaded, renamed, and moved the files no problem. Clicked to download the second season, which it downloaded but the files are just sitting in the completed folder.

Share this post


Link to post
3 minutes ago, Arcaeus said:

@trurl Bumping this to see if you may know why it's doing this. I just downloaded Season 1 of a show, and that downloaded, renamed, and moved the files no problem. Clicked to download the second season, which it downloaded but the files are just sitting in the completed folder.

What does the “Activity” window in Sonarr show? This should give some sort of indication why the app was unable to move/copy the files along with an option to manually import.

Share this post


Link to post

It’s a problem with the naming of the file you downloaded (season 0). Select the icon of the person (next to the red X) to open the manual import dialog. Select move or copy, whichever you prefer, then select the file and then the manual import button if you’re sure this is the correct file.

Share this post


Link to post

Hello all I am having an issue with both binhex-Sonarr and binhex-Radarr in which the sqlite has corruption.  Now I do not care about a backup and restore of the data however everytime I remove the dockers, flush out the binhex-sonarr and binhex-radarr folders and reinstall the issue persists.  I have even gone as far as to delete the docker.img file and let it rebuild.  Below is the error:

 

2019-04-30 19:11:34,404 DEBG 'sonarr' stdout output:
[Fatal] ConsoleApp: EPIC FAIL!

[v2.0.0.5322] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /config/nzbdrone.db is corrupt, restore from backup if available. See: https://github.com/Sonarr/Sonarr/wiki/FAQ#i-am-getting-an-error-database-disk-image-is-malformed ---> System.Data.SQLite.SQLiteException: disk I/O error

disk I/O error

at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, System.UInt32 timeoutMS, System.String& strRemain) [0x0033c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x000f6] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.GetStatement (System.Int32 index) [0x00008] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteCommand.GetStatement(int)
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0011e] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteConnection.Open () [0x00959] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at FluentMigrator.Runner.Processors.GenericProcessorBase.EnsureConnectionIsOpen () [0x0000e] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\GenericProcessorBase.cs:54
at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.Exists (System.String template, System.Object[] args) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\SQLite\SQLiteProcessor.cs:78
at FluentMigrator.Runner.Processors.SQLite.SQLiteProcessor.TableExists (System.String schemaName, System.String tableName) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\SQLite\SQLiteProcessor.cs:47
at FluentMigrator.Runner.VersionLoader.get_AlreadyCreatedVersionTable () [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:124
at FluentMigrator.Runner.VersionLoader.LoadVersionInfo () [0x00028] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:160
at FluentMigrator.Runner.VersionLoader..ctor (FluentMigrator.Runner.IMigrationRunner runner, FluentMigrator.Infrastructure.IAssemblyCollection assemblies, FluentMigrator.IMigrationConventions conventions) [0x00077] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\VersionLoader.cs:50
at FluentMigrator.Runner.MigrationRunner..ctor (FluentMigrator.Infrastructure.IAssemblyCollection assemblies, FluentMigrator.Runner.Initialization.IRunnerContext runnerContext, FluentMigrator.IMigrationProcessor processor) [0x00167] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\MigrationRunner.cs:102
at FluentMigrator.Runner.MigrationRunner..ctor (System.Reflection.Assembly assembly, FluentMigrator.Runner.Initialization.IRunnerContext runnerContext, FluentMigrator.IMigrationProcessor processor) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\MigrationRunner.cs:72
at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x000b5] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:58
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00048] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:94
--- End of inner exception stack trace ---
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00121] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:126
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:66
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:46
at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\ApplicationServer.cs:60
at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007b] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Router.cs:47
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:78
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:41
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00029] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Console\ConsoleApp.cs:37


2019-04-30 19:11:34,422 DEBG 'sonarr' stdout output:
Press enter to exit...

Can anyone explain how I can just remove sqlite and rebuild it with a reinstall of both applications?  I don't understand how the corruption persists or where it would be.

Share this post


Link to post
1 hour ago, NLSPhantom said:

I don't understand how the corruption persists or where it would be.

Maybe at a higher level than the docker. Go to Tools - Diagnostics and attach the complete diagnostics zip file to your next post.

Share this post


Link to post

Also an FYI to figure out what is going on here.  I have noticed that when I experience a slight power outage and unraid comes back online prior to my domain controller, unraid removes its self from the domain.

 

Also I have a local account on there for remote smb connections.  Every time unraid reboots I have to set that password on that account again.  It almost seems like some things just don't save properly and they are just in memory if that makes any sense.

Share this post


Link to post
7 hours ago, NLSPhantom said:

Attached

Why do you have 50G for your docker.img? If you have things configured correctly it is extremely unlikely you would ever need even 20G. Have you had an issue with filling it up?

Share this post


Link to post

No, I have never come close but I do not recall changing it at any time.  Could that cause issues?

Share this post


Link to post
17 minutes ago, NLSPhantom said:

No, I have never come close but I do not recall changing it at any time.  Could that cause issues?

That is larger than the default so you must have set it. And some lines in your log suggest it may be corrupt, though I'm not familiar with those specific messages.

 

In any case, it is easy enough to delete and recreate it to see if that helps.

 

Go to Settings - Docker then delete and recreate your docker image at the more reasonable size of 20G. Then you can reinstall all your dockers exactly as they were before using the Previous Apps feature on the Apps page.

Share this post


Link to post

Still getting the exact same error.  Steps I took to reconfigure Docker.

1. Removed all apps and deleted images.

2. Opened shell and manually deleted the application folder for the dockers I had installed at /mnt/user/appdata/*

3. Stopped docker

4. Deleted the docker.img file using the delete within the gui.

5. Changed size to 20gb and save settings.

6. Restarted docker from the web gui.

7. Installed Sonarr from Community Applications.

 

Attached is a new diagnostic report, still getting the exact same errors when Sonarr starts.

unraid-diagnostics-20190501-0837.zip

Share this post


Link to post
Posted (edited)

binhex thank you.  That absolutely fixed the issue.  Both Sonarr and Radarr are installed and operating.  Now I just need to work on permissions so that my external plex does not loose access to new downloads.

 

Also turl thank you for the assistance as well, you guys are great.

 

Thanks for working with me!

Edited by NLSPhantom

Share this post


Link to post
Posted (edited)

Hi,

 

I have both Sonarr and Radarr. I use a site where I need to use Jackett to pull back results.

Radarr works great through Jackett. However Sonarr will not find anything no matter what series I add.

I've gone into Jackett and manually searched for a series... it brings back results no problem.

Into Sonarr and go to an episode and manual search... nothing is found.

 

In Sonarr if I go to Jackett and these are the settings I have... I've used * in some cases to maintain privacy.

 

RSS and search ENABLED:

URL: http://192.*.1.1**:9117/api/v2.0/indexers/ipto******/results/torznab/

API PATH: /api

API KEY: I've entered the same key Jackett gives me.

Categories: All relevant TV categories number.

 

If I press TEST. It will give me a success message.

 

Is there an issue with using Jackett within Sonarr ?

 

Can anyone please suggest what might be causing this?

 

Thank you.

Edited by Lien1454

Share this post


Link to post
Posted (edited)

Morning. I'm having some problem with sonarr copying file, qbit downloads the files ok, and sonarr renames and copies them to the correct location, however sometimes (a few episodes a week) the files seem to not copy completely so will not play, e.g. one episode this week was 1.9gb, but when sonarr copied it to it's new destination it was only 1.7 and wouldn't play, If I take the originally downloaded file and copy it manually it plays fine. - sonarr is copying the files to a separate physical machine with the mappings completed with unassigned drives (radarr uses the same system and hasn't yet had any problems) File naming and format is completing as expected, just not copying all files 100% of the time.

image.png.b02be38fbc81473aa0e2c1c85a9200dc.png

Edited by karldonteljames

Share this post


Link to post

Anyone else getting this?

SameFileSpecification: Object reference not set to an instance of an object
UpgradeSpecification: Object reference not set to an instance of an object

 

Share this post


Link to post

Thanks for your efforts binhex. I had a thread in the General forum regarding a reboot problem that turned out to be a faulty PSU. I have replaced it and performed a correcting parity check. My current problem (which only started after the unclean shutdowns) is that Radarr and Sonarr will not connect. I followed trurl's instructions to rebuild the docker image and reinstall my previous dockers, and Radarr, Sonarr and SABNZBD will all start, but Radarr and Sonarr won't connect. (SABNZB test connects successfully) Any help appreciated - logs attached

Log for binhex-radarr.txt Log for binhex-sabnzbd.txt Log for binhex-sonarr.txt tower-diagnostics-20190509-1614.zip

Share this post


Link to post
Posted (edited)

PlexTranscodeIssue.thumb.png.e68ae8356f4d49d10cbe24ca6645b4bc.png

 

Hi Everyone, 

 

I'm REALLY new to unraid and need your help. I've migrated my plex install from a Synology NAS but, I can't get plex to use the transcode folder on the unassigned SSD shared as "Transcode".

In the plex app I've added TRANSCODE to the Transcoder temporary directory. Is someone able to point out where I've gone wrong, please?

Thanks in advance.

Edited by Thebadmf
grammar

Share this post


Link to post
1 minute ago, Thebadmf said:

PlexTranscodeIssue.thumb.png.e68ae8356f4d49d10cbe24ca6645b4bc.png

 

Hi Everyone, 

 

I'm REALLY new to unraid and need your help. I've migrated my plex install from a Synology NAS but, I can't get plex to use the transcode folder on the unassigned SSD shared as "Transcode".

In the plex app I've added TRANSCODE to the Transcoder temporary directory. Is some able to point out where I've gone wrong?

Thanks in advance.

If I understand you correctly, you have told Plex to use TRANSCODE for the transcode directory.

 

You have the host path /mnt/disks/Transcode mapped to the container path /config/Transcode, so in Plex, you would tell it to use /config/Transcode.

Share this post


Link to post
On 5/9/2019 at 5:13 PM, Steviewunda said:

Thanks for your efforts binhex. I had a thread in the General forum regarding a reboot problem that turned out to be a faulty PSU. I have replaced it and performed a correcting parity check. My current problem (which only started after the unclean shutdowns) is that Radarr and Sonarr will not connect. I followed trurl's instructions to rebuild the docker image and reinstall my previous dockers, and Radarr, Sonarr and SABNZBD will all start, but Radarr and Sonarr won't connect. (SABNZB test connects successfully) Any help appreciated - logs attached

Log for binhex-radarr.txt 58.96 kB · 0 downloads Log for binhex-sabnzbd.txt 6.85 kB · 0 downloads Log for binhex-sonarr.txt 56.1 kB · 0 downloads tower-diagnostics-20190509-1614.zip 95.2 kB · 0 downloads

Is anyone able to help with this? Even advice about whether to try to fix this, or to try a fresh install would be appreciated - cheers

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.