Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Sonarr

Featured Replies

So now I have decided to remove the docker, but its stuck on removal.....not sure what else I can do but wait. Are there any commands I can run in the CLI to either remove the docker or do something?

removing docker stuck.jpeg

  • Replies 1.4k
  • Views 409.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • When deluge is finished, it's telling Sonarr that the file is stored in /data/completed/..., but you don't have /data/completed mapped to /downloads/completed on sonarr or radar  Add that mapping, and

  • JonathanM
    JonathanM

    You misunderstand parity protection as it applies to single disks. The mdX devices are protected by parity, so there is no difference in protection whether you use /mnt/user/appdata or /mnt/diskX/appd

  • thatsthefrickenlightning
    thatsthefrickenlightning

    I left /data and /config alone, deleted /media and created /mnt ( = /mnt) for Sonarr, Radarr and qBitTorrentvpn.

Posted Images

what I would do (in conjunction with the question on the other thread)

 

SSH:

 

powerdown

 

After a couple of minutes if it still hasn't shutdown, then

 

ls /mnt

 

Either all the disks are still there, or only the cache drive is still there

 

Probably the docker.img is stopping a powerdown / shutdown.

umount /mnt/user/{WHATEVER}/docker.img

Hopefully the shutdown will now continue.

Now I am trying to take the array offline and that is timing out, ugghhhhh. Is there a command to unmount the array or do you have to do it one disk at a time?

What do I put in place pf {WHATEVER} if I try to unmount the docker image?

The path to the docker image....  ie: /mnt/user/docker.img or /mnt/user/appdata/docker.img, etc

 

To stop the array (at least pre 6.3.2:)

 

 

wget -qO /dev/null http://localhost:$(lsof -nPc emhttp | grep -Po 'TCP[^\d]*\K\d+')/update.htm?cmdStop=Stop

 

Not sure if they work with 6.3.3 and the csrf security though

Edited by Squid

Tried that command and got this:

 

grep: \k us not followed by a braced, angle-bracketed, or quoted name.

 

And now I am getting no response from the command prompt...lol just a blinky cursor.

I am however able to SSH into the server successfully so that is something. What other commands can I try at this point?

 

And the array is still online. The docker image has unmounted though.

 

 

Edited by ashman70

Wondering if someone can advise me on next steps.

Are you just trying to power down now?

I am trying to take the array offline gracefully so i can reboot. Last night I did a hard reset and I want to avoid doing that if at all possible.

1 minute ago, ashman70 said:

I am trying to take the array offline gracefully so i can reboot

I find that if all my drives have been unmounted first, powerdown usually does give me a graceful shutdown.

Right but when I execute the command ls /mnt all the drives come up green indicating to me that the array is still mounted. I want to unmount it so I can do a graceful reboot.

do a powerdown -r from the command prompt if it doesn't do anything, then umount the docker img via the command I gave above and try it again...

The docker img is already unmounted. If I do a powerdown -r will that attempt to unmount the array?

 

I executed a powerdown command without the -r. What does the -r switch do?

Well its been a few minutes already and the server hasn't shut off. I have a feeling I am going to have to do a hard reset again......:-( and I really don't want to have to run a parity check as that takes a day and a half.

Well I had to do a hard shut down. Server is backup now, I am going to let the parity check run just in case it finds any inconsistencies. I have deleted and re added the Sonarr docker, hopefully that will fix whatever was wrong with it. Thanks for everyones help.

Not suggesting this would have fixed the issue, or that it is the right way to go, but sometimes when my server refuses to shut down, I try and unmount each disk individually, and then try a powerdown again...

umount /dev/disk1
umount /dev/disk2
...

Sometimes it works and I get a clean shutdown, sometimes it doesn't :)

I am getting these errors in Sonarr, what exactly do they mean?

 

[Warn] ImportApprovedEpisodes: Couldn't import episode /data/completed/xxx.xxx.S02E08.720p.HDTV.x264-AVS/xxx.xxx.S02E08.720p.HDTV.x264-AVS.mkv

[v2.0.0.4689] System.IO.IOException: Win32 IO returned ERROR_GEN_FAILURE. Path:
at System.IO.File.Move (System.String sourceFileName, System.String destFileName) <0x2aeaa4bca5c0 + 0x002f0> in <filename unknown>:0
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, Boolean overwrite) [0x000e3] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskProviderBase.cs:222
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileTransactional (System.String sourcePath, System.String targetPath, Int64 originalSize, DiskTransferVerificationMode verificationMode) [0x0008f] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskTransferService.cs:489
at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, TransferMode mode, Boolean overwrite, DiskTransferVerificationMode verificationMode) [0x003c2] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskTransferService.cs:311
at NzbDrone.Common.Disk.DiskTransferService.TransferFile (System.String sourcePath, System.String targetPath, TransferMode mode, Boolean overwrite, Boolean verified) [0x0000e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Disk\DiskTransferService.cs:195
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.TransferFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Collections.Generic.List`1 episodes, System.String destinationFilePath, TransferMode mode) [0x0012c] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:118
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x0005e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:80
at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, Boolean copyOnly) [0x00144] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:66
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List`1 decisions, Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem, ImportMode importMode) [0x00277] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:107

 

And I am seeing some errors in my log I've never seen before:

 

Apr 12 18:34:32 Tower kernel: docker0: port 1(veth2a2229d) entered disabled state
Apr 12 18:34:32 Tower kernel: vethbe9fc90: renamed from eth0
Apr 12 18:34:34 Tower kernel: docker0: port 1(veth2a2229d) entered disabled state
Apr 12 18:34:34 Tower kernel: device veth2a2229d left promiscuous mode
Apr 12 18:34:34 Tower kernel: docker0: port 1(veth2a2229d) entered disabled state
Apr 12 18:34:36 Tower kernel: docker0: port 1(veth3a54573) entered blocking state
Apr 12 18:34:36 Tower kernel: docker0: port 1(veth3a54573) entered disabled state
Apr 12 18:34:36 Tower kernel: device veth3a54573 entered promiscuous mode
Apr 12 18:34:36 Tower kernel: docker0: port 1(veth3a54573) entered blocking state
Apr 12 18:34:36 Tower kernel: docker0: port 1(veth3a54573) entered forwarding state
Apr 12 18:34:36 Tower kernel: docker0: port 1(veth3a54573) entered disabled state
Apr 12 18:34:41 Tower kernel: eth0: renamed from veth66ec916
Apr 12 18:34:41 Tower kernel: docker0: port 1(veth3a54573) entered blocking state
Apr 12 18:34:41 Tower kernel: docker0: port 1(veth3a54573) entered forwarding state
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -104 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -104 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -104 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:37:01 Tower kernel: CIFS VFS: Error -104 sending data on socket to server
Apr 12 18:37:23 Tower kernel: veth96f98b7: renamed from eth0
Apr 12 18:37:23 Tower kernel: docker0: port 2(veth35c7b3c) entered disabled state
Apr 12 18:37:25 Tower kernel: docker0: port 2(veth35c7b3c) entered disabled state
Apr 12 18:37:25 Tower kernel: device veth35c7b3c left promiscuous mode
Apr 12 18:37:25 Tower kernel: docker0: port 2(veth35c7b3c) entered disabled state
Apr 12 18:37:31 Tower kernel: docker0: port 2(vethbe3d879) entered blocking state
Apr 12 18:37:31 Tower kernel: docker0: port 2(vethbe3d879) entered disabled state
Apr 12 18:37:31 Tower kernel: device vethbe3d879 entered promiscuous mode
Apr 12 18:37:31 Tower kernel: docker0: port 2(vethbe3d879) entered blocking state
Apr 12 18:37:31 Tower kernel: docker0: port 2(vethbe3d879) entered forwarding state
Apr 12 18:37:31 Tower kernel: docker0: port 2(vethbe3d879) entered disabled state
Apr 12 18:37:36 Tower kernel: eth0: renamed from veth4a83df2
Apr 12 18:37:36 Tower kernel: docker0: port 2(vethbe3d879) entered blocking state
Apr 12 18:37:36 Tower kernel: docker0: port 2(vethbe3d879) entered forwarding state
Apr 12 18:49:34 Tower kernel: cifs_vfs_err: 8548 callbacks suppressed
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -104 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server
Apr 12 18:49:34 Tower kernel: CIFS VFS: Error -32 sending data on socket to server

 

 

Edited by ashman70

Hard to say. It's just saying it cannot import the episode. It should give a reason somewhere in the log. Check the activity page.

 

The CIFS error has to do with a samba share. The two might be related. Maybe it cannot access your mounted share where your files are stored. From the looks of things, I think you've got problems that go way beyond Sonarr.

13 hours ago, bobbintb said:

Hard to say. It's just saying it cannot import the episode. It should give a reason somewhere in the log. Check the activity page.

 

The CIFS error has to do with a samba share. The two might be related. Maybe it cannot access your mounted share where your files are stored. From the looks of things, I think you've got problems that go way beyond Sonarr.

 

Indeed, he's trying to work with "M:\ ..... " no way Sonarr on uNRAID is going to know wtf that is.

53 minutes ago, mr-hexen said:

 

Indeed, he's trying to work with "M:\ ..... " no way Sonarr on uNRAID is going to know wtf that is.

I'm pretty sure that's just a remnant from Sonarr's development. I see it in all the logs.

Any chance of getting this docker's version of mono updates to 4.8?

I am having tremendous problems with Sonnar. Its messing up when it copies episodes, it either doesn't copy the whole file, just some of it, or it gets stuck copying and I end up with a partial file copied. I no longer seem to be able to restart sonarr and this has led to two hard restarts of my server. Can someone give me a hand?

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.