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

3 minutes ago, smellybulldog said:

I have a qnap NAS capable of running container station.

On 10/23/2015 at 6:45 AM, linuxserver.io said:

If you are not using Unraid (and you should be!) then please do not post here, rather use the linuxserver.io forum for support.

  • Replies 1.4k
  • Views 409.5k
  • 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

7 hours ago, Squid said:

 

strange... the support link from linuxserver.io is what sent me here. 

  • 2 weeks later...

I can't even get Sonarr or Radarr to even start. I've tried deleting the database file and letting it recreate it, but that didn't work. Permissions are sane. Other containers stored in the same location work without issue. I opened the database with an SQlite3 browser and it's not corrupt, it just doesn't contain any data.

 


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.4855
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] MigrationLogger: *** Migrating data source=/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***


[Fatal] ConsoleApp: EPIC FAIL!

[v2.0.0.4855] 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 M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:58
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00048] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:84
--- End of inner exception stack trace ---
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00121] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:116
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:56
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:36
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Host\Bootstrap.cs:73
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Host\Bootstrap.cs:40
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x0000e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Console\ConsoleApp.cs:20

Press enter to exit...

Edited by brando56894

11 minutes ago, brando56894 said:

I can't even get Sonarr or Radarr to even start. I've tried deleting the database file and letting it recreate it, but that didn't work. Permissions are sane. Other containers stored in the same location work without issue. I opened the database with an SQlite3 browser and it's not corrupt, it just doesn't contain any data.

 


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ _ _
| |___| (_) ___
| / __| | |/ _ \
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donations/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.4855
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] MigrationLogger: *** Migrating data source=/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***


[Fatal] ConsoleApp: EPIC FAIL!

[v2.0.0.4855] 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 M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:58
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00048] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:84
--- End of inner exception stack trace ---
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00121] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:116
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:56
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\DbFactory.cs:36
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Host\Bootstrap.cs:73
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Host\Bootstrap.cs:40
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x0000e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Console\ConsoleApp.cs:20

Press enter to exit...

Some information on docker run command / template setup would help :)

IDK if there's a better way to grab this, but I'm relatively new to Docker :)

 

Edit: moving this to the Docker section since it seems to be Docker/unRAID related and not to this specific container.

root@Tower:~# docker inspect sonarr
[
    {
        "Id": "35cf20aeef98c50c8729a15d7e709a55cb05e6fa1939f838242f245f29208f4d",
        "Created": "2017-07-27T19:26:14.136406151Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2017-07-27T19:26:19.92425502Z",
            "FinishedAt": "2017-07-27T19:26:46.133190614Z"
        },
        "Image": "sha256:e2ccdf374d784a53d4ed4398e297f12254c2c9a10007b6b2ac28e5e194ec6636",
        "ResolvConfPath": "/var/lib/docker/containers/35cf20aeef98c50c8729a15d7e709a55cb05e6fa1939f838242f245f29208f4d/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/35cf20aeef98c50c8729a15d7e709a55cb05e6fa1939f838242f245f29208f4d/hostname",
        "HostsPath": "/var/lib/docker/containers/35cf20aeef98c50c8729a15d7e709a55cb05e6fa1939f838242f245f29208f4d/hosts",
        "LogPath": "/var/lib/docker/containers/35cf20aeef98c50c8729a15d7e709a55cb05e6fa1939f838242f245f29208f4d/35cf20aeef98c50c8729a15d7e709a55cb05e6fa1939f838242f245f29208f4d-json.log",
        "Name": "/sonarr",
        "RestartCount": 0,
        "Driver": "btrfs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/mnt/user/appdata/sonarr:/config:rw",
                "/dev/rtc:/dev/rtc:ro",
                "/mnt/user/shows/:/tv:rw",
                "/mnt/user/downloads/usenet/complete/shows/:/downloads:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {
                "8989/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "8989"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0
        },
        "GraphDriver": {
            "Name": "btrfs",
            "Data": null
        },
        "Mounts": [
            {
                "Source": "/mnt/user/appdata/sonarr",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/dev/rtc",
                "Destination": "/dev/rtc",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Source": "/mnt/user/shows",
                "Destination": "/tv",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/mnt/user/downloads/usenet/complete/shows",
                "Destination": "/downloads",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "35cf20aeef98",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "8989/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "TZ=America/New_York",
                "HOST_OS=unRAID",
                "PUID=99",
                "PGID=100",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "HOME=/root",
                "LANGUAGE=en_US.UTF-8",
                "LANG=en_US.UTF-8",
                "TERM=xterm",
                "XDG_CONFIG_HOME=/config/xdg"
            ],
            "Cmd": null,
            "Image": "linuxserver/sonarr",
            "Volumes": {
                "/config": {},
                "/downloads": {},
                "/tv": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "/init"
            ],
            "OnBuild": null,
            "Labels": {
                "build_version": "Linuxserver.io version:- 75 Build-date:- July-21-2017-22:15:55-UTC"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "7e44cdb72a4b3408b4ea876ecedb101a99a745729ba060e423fbf77c834d27d4",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": null,
            "SandboxKey": "/var/run/docker/netns/7e44cdb72a4b",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "6595773b65878963dceeb8efdb6357e63e8678d913268eddbba5edd7afbe9dc9",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": ""
                }
            }
        }
    }
]

Edited by brando56894

There was an update that released today on sonarr. Can I update this through Sonarr or will I need to wait until the Docker container updates Sonarr

Hi there!

 

I'm having a bit of an odd issue, i've just moved all of my docker containers over to another unraid server, and i've got my original (that used to run Sonarr) sitting just as data storage now. I've hooked up the Media drive using Unassigned devices "NFS" share option, that's all worked fine. Now, when I go into Sonarr and try to "Import Existing Series On Disk", i'm getting the error: "Folder is not writable by user abc" I've checked all the PUID / GUID's (Standard 99 / 100) of the directories of the files, the permissions, etc, but no luck! It should be using exactly the same setup as before, as i'm using the same docker container?

 

I'm at a bit of a loss as to what exactly is stopping it, all it says in the log file is "[Warn] NzbDroneErrorPipeline: Invalid request Validation failed:
-- Folder is not writable by user abc" nothing else. What's even odder is the fact that other containers don't seem to have this problem? Any suggestions to fix this would be greatly appreciated. 

 

Thanks,

-Keanu

It will be a problem with the destination folder mounted via NFS with Unassigned devices and permissions I think, but I'm not exactly clear on your setup.

 

If I'm correct you've moved the docker containers all to your new server but the destination sonarr is trying to move things to is still on your old server?

 

14 minutes ago, CHBMB said:

It will be a problem with the destination folder mounted via NFS with Unassigned devices and permissions I think, but I'm not exactly clear on your setup.

 

If I'm correct you've moved the docker containers all to your new server but the destination sonarr is trying to move things to is still on your old server?

 

 

Hi CHBMB,

 

I know, bit of an odd setup, i'm building an army of HP Microservers because it's based in a small cupboard! So yeah, essentially, my setup is going to be, or is like this.

 

App Server <-> Storage Server
Sonarr         <-> Deluge
Sonarr         <-> Files

(I've kept Deluge on the old storage server because else it'll just be pinning the network to it constantly transferring files, etc!)

 

Hopefully that helps clear things up! As said above, i've checked the PID / GID, theres a top level folder called TV, then sub folders called Series, etc, then inside of the series folder, is the shows. Permissions are as below;

 

Top level - TV - 777
Series - 777

TV Show - 775 (That might be it.. Going to check that!) - just checked, not the issue!
show.mkv - 775

Not entirely sure what else to check!

 

Thanks,

-Keanu

Edited by Keanu

Ok, I assume the NFS mounted folder is mapped to /tv in the sonarr docker container so try this.

 

docker exec -it sonarr bash
ls -la /tv

Should be abc:users

 

Also try

touch /tv/testfile

To try and create a file in /tv, that will narrow down a problem with sonarr or whether it's a permissions issue

Edited by CHBMB

3 minutes ago, CHBMB said:

Ok, I assume the NFS mounted folder is mapped to /tv in the sonarr docker container so try this.

 


docker exec -it sonarr bash
ls -la /tv

Should be abc:users

 

Hi CHBMB,

 

Thanks for the quick replies! Output below;

 

Quote

root@038d4e4250a0:/# ls -la /tv
total 8
drwxrwxrwx 1 abc  users   49 May 25  2016 .
drwxr-xr-x 1 root root   230 Aug  5 19:31 ..
drwxrwxrwx 1 abc  users 4096 May 31 18:26 New Folder

drwxrwxrwx 1 abc  users 4096 Jun  9 17:57 Cartoons
drwxrwxrwx 1 abc  users  250 Jun  3 20:39 Series

 

 

Thanks,

-Keanu

Edited by Keanu

1 minute ago, CHBMB said:

Check out the edit I made to my post too.

 

touch: cannot touch '/tv/testfile': Read-only file system
 

Just as a quick side note, I have got the "Access Mode" on the Host Path set to "RW/Slave" (Read somewhere to do that!)

Ok, bingo there you go.

 

I don't use NFS but that's the issue.  Try changing it from slave and see if that works?!  Once you can touch a file in /tv I reckon sonarr might work ok.  

1 minute ago, CHBMB said:

Ok, bingo there you go.

 

I don't use NFS but that's the issue.  Try changing it from slave and see if that works?!  Once you can touch a file in /tv I reckon sonarr might work ok.  

 

just changed it back to Read/Write, but still the same output "touch: cannot touch '/tv/testfile': Read-only file system" I'm not entirely sure why though! Bit of an update though, i've just tried that on another container, same issue, so it isn't localised to Sonarr, however other containers aren't showing any errors.. So, that's odd!

 

I've got a few more ideas now though, thank you for your help! I'll update here once I know what the issue is, incase anyone out there is potentially having the same issue as me. 

 

Thanks,

-Keanu

 

 

4 minutes ago, Keanu said:

I've got a few more ideas now though, thank you for your help! I'll update here once I know what the issue is, incase anyone out there is potentially having the same issue as me. 

 

Annnnnnnnnnnnnd i'm an idiot. Thanks for your help. Issue was that the shares on the other server were set on NFS to "Secure". Problem was, apparantly it didn't ask me for a username and password for them, but it did the other day? So could potentially be an issue with Unassigned Devices or something. Not sure. But yeah, thank you for your quick replies and helping me find a solution, greatly appreciate it!

Edited by Keanu

Guys,

 

I transitioned from Phaze plugin to this docker and was able to keep all my settings. See below the process I followed. I am still testing but seems to be working ok.

 

 

Just a heads up.

 

I've updated both Sonarr and Radarr to the latest version and both now report the same error

 



Import failed, path does not exist or is not accessible by Radarr: /downloads/complete/movies

 

Import failed, path does not exist or is not accessible by Sonarr: /downloads/complete/tv

 

Worked fine before the update. But not any more :(

 

Ideas? What have I missed?

34 minutes ago, hilljd00 said:

Just a heads up.

 

I've updated both Sonarr and Radarr to the latest version and both now report the same error

 

 

 

 

Worked fine before the update. But not any more :(

 

Ideas? What have I missed?

You need to post your mappings for your download client along with the mappings for both radars and sonarr

21 minutes ago, hilljd00 said:

 

Thank you

screenshot1.png

Your mappings for the downloads do not match on all three containers   they must all match exactly.   Set the mapping for Radarr and sonarr to be the same as sabs

On 08/08/2017 at 2:44 AM, Squid said:

Your mappings for the downloads do not match on all three containers   they must all match exactly.   Set the mapping for Radarr and sonarr to be the same as sabs

They have always been like this and worked. Sonarr works absolutely fine.

 

How would it work if they where both pointed at /Complete?

13 minutes ago, hilljd00 said:

They have always been like this and worked. Sonarr works absolutely fine.

 

How would it work if they where both pointed at /Complete?

 

 

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.