Code Monkey home page Code Monkey logo

Comments (27)

ffwjb avatar ffwjb commented on May 24, 2024 1

@roubachof @TechPerplexed same experience with Omnistream….
Reinstalled Gooby and all worked

from gooby.

roubachof avatar roubachof commented on May 24, 2024 1

Sorry I made a typo, sonarr is now working after commenting this line in the conf:

- /bin/netstat:/bin/netstat:ro

from gooby.

ffwjb avatar ffwjb commented on May 24, 2024 1

Thx! It's working for me!

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024 1

You can do that in the line image: linuxserver/sonarr:latest - change "latest" to the version you wish to use. I can't be more specific than that, because I'm not sure how they tag their versions :)

from gooby.

roubachof avatar roubachof commented on May 24, 2024 1

Thanks for all and see you in 2 years x)

from gooby.

roubachof avatar roubachof commented on May 24, 2024

Ok I installed net-tools, this error went away but now I have a 500 error:
image
I tried uninstall/install/reboot so far.
And logs command is returning a weird error:
image

from gooby.

roubachof avatar roubachof commented on May 24, 2024

Ok I rm the docker image and reinstalled it and now it says bad gateway:

image

from gooby.

roubachof avatar roubachof commented on May 24, 2024

or now all my container except for deluge are in a bad place:
image
image

They also all have a certificate error now

THIS IS NOW RESOLVED

from gooby.

roubachof avatar roubachof commented on May 24, 2024

here is radarr logs for example:

2023-12-30 20:51:21.3|Info|ConsoleApp|Exiting main.
2023-12-30 20:51:39.9|Info|Bootstrap|Starting Radarr - /app/radarr/bin/Radarr - Version 5.2.6.8376
2023-12-30 20:51:40.1|Info|AppFolderInfo|Data directory is being overridden to [/config]
2023-12-30 20:51:40.2|Info|AppFolderInfo|Data directory is being overridden to [/config]
2023-12-30 20:51:40.7|Info|AppFolderInfo|Data directory is being overridden to [/config]
2023-12-30 20:51:41.0|Info|MigrationController|*** Migrating data source=/config/radarr.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
2023-12-30 20:51:41.2|Info|MigrationController|*** Migrating data source=/config/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3;busytimeout=100 ***
2023-12-30 20:51:41.9|Info|Microsoft.Hosting.Lifetime|Now listening on: http://[::]:7878
2023-12-30 20:51:42.2|Info|CommandExecutor|Starting 2 threads for tasks.
2023-12-30 20:51:42.3|Info|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-12-30 20:51:42.3|Info|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-12-30 20:51:42.3|Info|Microsoft.Hosting.Lifetime|Content root path: /app/radarr/bin
2023-12-30 20:52:17.4|Warn|DownloadMonitoringService|Unable to retrieve queue and history items from NZBGet

[v5.2.6.8376] System.Net.Http.HttpRequestException: Resource temporarily unavailable (nzbget:6789)
 ---> System.Net.Sockets.SocketException (11): Resource temporarily unavailable
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.attemptConnection(AddressFamily addressFamily, SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Radarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 291
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.onConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Radarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 277
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Radarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 105
   at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Radarr.Common/Http/HttpClient.cs:line 157
   at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Radarr.Common/Http/HttpClient.cs:line 70
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in ./Radarr.Common/Http/HttpClient.cs:line 128
   at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.ProcessRequest[T](NzbgetSettings settings, String method, Object[] parameters) in ./Radarr.Core/Download/Clients/Nzbget/NzbgetProxy.cs:line 238
   at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.GetGlobalStatus(NzbgetSettings settings) in ./Radarr.Core/Download/Clients/Nzbget/NzbgetProxy.cs:line 135
   at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.GetQueue() in ./Radarr.Core/Download/Clients/Nzbget/Nzbget.cs:line 58
   at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.GetItems() in ./Radarr.Core/Download/Clients/Nzbget/Nzbget.cs:line 195
   at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads(IDownloadClient downloadClient) in ./Radarr.Core/Download/TrackedDownloads/DownloadMonitoringService.cs:line 90

from gooby.

roubachof avatar roubachof commented on May 24, 2024

And the logs for letsencrypt:

Info: running acme-companion version v2.2.9-12-gf3b1ab4
Warning: '/etc/acme.sh' does not appear to be a mounted volume.
Info: A custom dhparam.pem file was provided. Best practice is to use standardized RFC7919 Diffie-Hellman groups instead.
Reloading nginx proxy (nginx-proxy)...
2023/12/30 20:02:03 Generated '/etc/nginx/conf.d/default.conf' from 6 containers
2023/12/30 20:02:03 [notice] 40#40: signal process started
2023/12/30 20:02:03 Generated '/app/letsencrypt_service_data' from 6 containers
2023/12/30 20:02:03 Running '/app/signal_le_service'
2023/12/30 20:02:03 Watching docker events
2023/12/30 20:02:03 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
[Sat Dec 30 20:02:04 UTC 2023] Create account key ok.
[Sat Dec 30 20:02:04 UTC 2023] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Sat Dec 30 20:02:05 UTC 2023] Register account Error: {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/too-many-registrations-for-this-ip/",
  "status": 429
}
grep: /etc/acme.sh/[email protected]/ca/acme-v02.api.letsencrypt.org/account.json: No such file or directory
[Sat Dec 30 20:02:05 UTC 2023] The account url is empty, please run '--update-account' first to update the account info first,
[Sat Dec 30 20:02:05 UTC 2023] Then try again.
Error: no ACME account was found or registered for [email protected] and https://acme-v02.api.letsencrypt.org/directory, certificate creation aborted.
[Sat Dec 30 20:02:06 UTC 2023] Registering account: https://acme-v02.api.letsencrypt.org/directory
2023/12/30 20:02:07 Received event health_status: healthy for container 8b8ab3ac9331
[Sat Dec 30 20:02:07 UTC 2023] Register account Error: {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/too-many-registrations-for-this-ip/",
  "status": 429
}
grep: /etc/acme.sh/[email protected]/ca/acme-v02.api.letsencrypt.org/account.json: No such file or directory
[Sat Dec 30 20:02:07 UTC 2023] The account url is empty, please run '--update-account' first to update the account info first,
[Sat Dec 30 20:02:07 UTC 2023] Then try again.
Error: no ACME account was found or registered for [email protected] and https://acme-v02.api.letsencrypt.org/directory, certificate creation aborted.
Sleep for 3600s
2023/12/30 20:02:11 Received event health_status: healthy for container 02678298e659
2023/12/30 20:02:12 Received event health_status: healthy for container b0a9a09e045f
2023/12/30 20:02:12 Received event start for container 9482193a358b
2023/12/30 20:02:12 Received event start for container f4215cb04ff1
2023/12/30 20:02:12 Received event start for container 509ed458a8d5
2023/12/30 20:02:13 Received event die for container f4215cb04ff1
2023/12/30 20:02:13 Received event start for container f4215cb04ff1
2023/12/30 20:02:13 Received event die for container f4215cb04ff1
2023/12/30 20:02:14 Received event start for container f4215cb04ff1
2023/12/30 20:02:14 Received event die for container f4215cb04ff1
2023/12/30 20:02:14 Received event start for container f4215cb04ff1
2023/12/30 20:02:15 Received event die for container f4215cb04ff1
2023/12/30 20:02:16 Received event start for container f4215cb04ff1
2023/12/30 20:02:16 Received event die for container f4215cb04ff1
2023/12/30 20:02:17 Received event start for container f4215cb04ff1
2023/12/30 20:02:18 Received event die for container f4215cb04ff1
2023/12/30 20:02:21 Received event start for container f4215cb04ff1
2023/12/30 20:02:21 Received event die for container f4215cb04ff1
2023/12/30 20:02:22 Received event health_status: healthy for container 9482193a358b
2023/12/30 20:02:27 Debounce maxTimer fired
2023/12/30 20:02:27 Generated '/app/letsencrypt_service_data' from 9 containers
2023/12/30 20:02:27 Running '/app/signal_le_service'
[Sat Dec 30 20:02:28 UTC 2023] Registering account: https://acme-v02.api.letsencrypt.org/directory
2023/12/30 20:02:28 Received event start for container f4215cb04ff1
2023/12/30 20:02:28 Received event die for container f4215cb04ff1
[Sat Dec 30 20:02:29 UTC 2023] Register account Error: {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/too-many-registrations-for-this-ip/",
  "status": 429
}
grep: /etc/acme.sh/[email protected]/ca/acme-v02.api.letsencrypt.org/account.json: No such file or directory
[Sat Dec 30 20:02:29 UTC 2023] The account url is empty, please run '--update-account' first to update the account info first,
[Sat Dec 30 20:02:29 UTC 2023] Then try again.
Error: no ACME account was found or registered for [email protected] and https://acme-v02.api.letsencrypt.org/directory, certificate creation aborted.
[Sat Dec 30 20:02:30 UTC 2023] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Sat Dec 30 20:02:31 UTC 2023] Register account Error: {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/too-many-registrations-for-this-ip/",
  "status": 429
}
grep: /etc/acme.sh/[email protected]/ca/acme-v02.api.letsencrypt.org/account.json: No such file or directory
[Sat Dec 30 20:02:31 UTC 2023] The account url is empty, please run '--update-account' first to update the account info first,
[Sat Dec 30 20:02:31 UTC 2023] Then try again.
Error: no ACME account was found or registered for [email protected] and https://acme-v02.api.letsencrypt.org/directory, certificate creation aborted.
2023/12/30 20:02:31 Received event health_status: healthy for container a2a56578ff59
2023/12/30 20:02:32 Received event health_status: unhealthy for container 73b976b37cf2
[Sat Dec 30 20:02:32 UTC 2023] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Sat Dec 30 20:02:33 UTC 2023] Register account Error: {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/too-many-registrations-for-this-ip/",
  "status": 429
}
grep: /etc/acme.sh/[email protected]/ca/acme-v02.api.letsencrypt.org/account.json: No such file or directory
[Sat Dec 30 20:02:33 UTC 2023] The account url is empty, please run '--update-account' first to update the account info first,
[Sat Dec 30 20:02:33 UTC 2023] Then try again.
Error: no ACME account was found or registered for [email protected] and https://acme-v02.api.letsencrypt.org/directory, certificate creation aborted.
[Sat Dec 30 20:02:34 UTC 2023] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Sat Dec 30 20:02:35 UTC 2023] Register account Error: {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/too-many-registrations-for-this-ip/",
  "status": 429
}

Seems I have reached some registrations limit... Should I wait, but then what command should I use to regenerate the certificates:

  • System Cleanup ?
  • Or should I uninstall/reinstall all the apps?

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024

Yeah, first thing to try would be rclean - sometimes that sorts things. If that doesn't help, I would indeed try a vanilla installation.

By now the Gooby project is no longer maintained so I am not even sure how it would behave on newer versions of Linux - I think the last I used it on was on Debian 11 :)

from gooby.

roubachof avatar roubachof commented on May 24, 2024

So in fact all the others errors were pure certificate issues, so I am back to the sonarr issue: I have a bad gateway 502 when I try to access the website.
I did a docker inspect sonarr, and the container seems to be blocked in 'restarting':

:~$ docker inspect sonarr
[
    {
        "Id": "93823506a5f2ccd3dd936b5f56c863191314fb29c574d1e3bad6d2102f49e611",
        "Created": "2024-01-01T11:57:49.516975513Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "restarting",
            "Running": true,
            "Paused": false,
            "Restarting": true,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 1,
            "Error": "",
            "StartedAt": "2024-01-02T12:39:35.615319363Z",
            "FinishedAt": "2024-01-02T12:39:35.765264366Z",
            "Health": {
                "Status": "unhealthy",
                "FailingStreak": 0,
                "Log": []
            }
        },
        "Image": "sha256:60e7e6786a794e61b113ea400d3546a3070b91203c88a35b2b1592f40e8e5679",
        "ResolvConfPath": "/var/lib/docker/containers/93823506a5f2ccd3dd936b5f56c863191314fb29c574d1e3bad6d2102f49e611/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/93823506a5f2ccd3dd936b5f56c863191314fb29c574d1e3bad6d2102f49e611/hostname",
        "HostsPath": "/var/lib/docker/containers/93823506a5f2ccd3dd936b5f56c863191314fb29c574d1e3bad6d2102f49e611/hosts",
        "LogPath": "/var/lib/docker/containers/93823506a5f2ccd3dd936b5f56c863191314fb29c574d1e3bad6d2102f49e611/93823506a5f2ccd3dd936b5f56c863191314fb29c574d1e3bad6d2102f49e611-json.log",
        "Name": "/sonarr",
        "RestartCount": 1483,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/etc/localtime:/etc/localtime:ro",
                "/var/local/Gooby/Sonarr:/config:rw",
                "/home/roubachof/logs:/config/logs:rw",
                "/mnt/google:/Media:rw",
                "/home/roubachof/Downloads:/Downloads:rw",
                "/bin/netstat:/bin/netstat:ro"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "docker_default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "unless-stopped",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "ConsoleSize": [
                0,
                0
            ],
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": [],
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Isolation": "",
            "CpuShares": 2048,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 150,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware",
                "/sys/devices/virtual/powercap"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/5206a5bc01fda291b1b594a746f63f21e7c9adb5286b8474aabd377edbafccb7-init/diff:/var/lib/docker/overlay2/b5e351d1d067e7083d116917e0d718ba1bfb339a4ec51bde6ba0caa072d93c84/diff:/var/lib/docker/overlay2/a566562258b0801095d2353f9b97c2a15d1fd0377cd255e6a20e83cd2a0b9706/diff:/var/lib/docker/overlay2/56bc74d21ca861b9e0ce17076522fa7ada3ca499d97c200bbe757f89d27f27f8/diff:/var/lib/docker/overlay2/0c184683b9dc9d8823641f93428ccac1e9cd4b73f9da528b6b9fa9bd36ed5890/diff:/var/lib/docker/overlay2/23c7afa38960f5d883da638676fbdbd35bbc15873a53eb7a43a30524b13402c0/diff:/var/lib/docker/overlay2/0fe186abc50093c0f9330f91c2309a42cf3d86f81f981663a33f5dfe83dbc691/diff:/var/lib/docker/overlay2/2227eca2c38592c685e3ff1d19d20a5540ee6e3ba25c475fd752063b8c285ffd/diff",
                "MergedDir": "/var/lib/docker/overlay2/5206a5bc01fda291b1b594a746f63f21e7c9adb5286b8474aabd377edbafccb7/merged",
                "UpperDir": "/var/lib/docker/overlay2/5206a5bc01fda291b1b594a746f63f21e7c9adb5286b8474aabd377edbafccb7/diff",
                "WorkDir": "/var/lib/docker/overlay2/5206a5bc01fda291b1b594a746f63f21e7c9adb5286b8474aabd377edbafccb7/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/mnt/google",
                "Destination": "/Media",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/home/roubachof/Downloads",
                "Destination": "/Downloads",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/bin/netstat",
                "Destination": "/bin/netstat",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/etc/localtime",
                "Destination": "/etc/localtime",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/var/local/Gooby/Sonarr",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/home/roubachof/logs",
                "Destination": "/config/logs",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "sonarr",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "8989/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PUID=1001",
                "TZ=Europe/Paris",
                "VIRTUAL_HOST=sonarr.eriador.site",
                "VIRTUAL_PORT=8989",
                "VIRTUAL_NETWORK=nginx-proxy",
                "LETSENCRYPT_HOST=sonarr.eriador.site",
                "[email protected]",
                "PGID=1001",
                "PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "PS1=$(whoami)@$(hostname):$(pwd)\\$ ",
                "HOME=/root",
                "TERM=xterm",
                "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
                "S6_VERBOSITY=1",
                "S6_STAGE2_HOOK=/docker-mods",
                "VIRTUAL_ENV=/lsiopy",
                "LSIO_FIRST_PARTY=true",
                "XDG_CONFIG_HOME=/config/xdg",
                "SONARR_CHANNEL=v4-stable",
                "SONARR_BRANCH=main"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "netstat -ntlp | grep :8989 && mountpoint /Media"
                ],
                "Interval": 10000000000,
                "Timeout": 2000000000,
                "Retries": 3
            },
            "Image": "linuxserver/sonarr:latest",
            "Volumes": {
                "/config": {}
            },
            "WorkingDir": "/",
            "Entrypoint": [
                "/init"
            ],
            "OnBuild": null,
            "Labels": {
                "build_version": "Linuxserver.io version:- 4.0.0.748-ls220 Build-date:- 2024-01-01T01:43:49+00:00",
                "com.docker.compose.config-hash": "7ed4f33eafbbde503d796e653b0432ed704d7d215f305875e41ed3e60afa0917",
                "com.docker.compose.container-number": "1",
                "com.docker.compose.depends_on": "nginx-proxy:service_healthy:false,letsencrypt-nginx-proxy-companion:service_started:false",
                "com.docker.compose.image": "sha256:60e7e6786a794e61b113ea400d3546a3070b91203c88a35b2b1592f40e8e5679",
                "com.docker.compose.oneoff": "False",
                "com.docker.compose.project": "docker",
                "com.docker.compose.project.config_files": "/var/local/Gooby/Docker/docker-compose.yaml",
                "com.docker.compose.project.working_dir": "/var/local/Gooby/Docker",
                "com.docker.compose.service": "sonarr",
                "com.docker.compose.version": "2.17.3",
                "maintainer": "thespad",
                "org.opencontainers.image.authors": "linuxserver.io",
                "org.opencontainers.image.created": "2024-01-01T01:43:49+00:00",
                "org.opencontainers.image.description": "[Sonarr](https://sonarr.tv/) (formerly NZBdrone) is a PVR for usenet and bittorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.  ",
                "org.opencontainers.image.documentation": "https://docs.linuxserver.io/images/docker-sonarr",
                "org.opencontainers.image.licenses": "GPL-3.0-only",
                "org.opencontainers.image.ref.name": "7d9224748afa24a5db9312737fc2e7363731a248",
                "org.opencontainers.image.revision": "7d9224748afa24a5db9312737fc2e7363731a248",
                "org.opencontainers.image.source": "https://github.com/linuxserver/docker-sonarr",
                "org.opencontainers.image.title": "Sonarr",
                "org.opencontainers.image.url": "https://github.com/linuxserver/docker-sonarr/packages",
                "org.opencontainers.image.vendor": "linuxserver.io",
                "org.opencontainers.image.version": "4.0.0.748-ls220"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "ebb48e508c85886f30df309ea8f3ed7f973721c13c5defa7bca8526bfa656533",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/ebb48e508c85",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "docker_default": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "sonarr",
                        "sonarr",
                        "93823506a5f2"
                    ],
                    "NetworkID": "3b00fe83e1df9777e2360d8248d5fa9da56c7133d09629dcdacac0eff4a3bc1a",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]

from gooby.

roubachof avatar roubachof commented on May 24, 2024

In fact from what I see with docker ps, it stays in restarting for 1 minute:

93823506a5f2   linuxserver/sonarr:latest                "/init"                  28 hours ago   Restarting (1) 3 seconds ago
93823506a5f2   linuxserver/sonarr:latest                "/init"                  28 hours ago   Restarting (1) 58 seconds ago

And after that is seems to kill and restart.

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024

Hmm... for now, can you try to remove the health check? It seems that Sonarr has changed something. Just comment out these lines:

#    healthcheck:
#      test: ["CMD-SHELL", "netstat -ntlp | grep :8989 && mountpoint /Media"]
#      interval: 10s
#      timeout: 2s
#      retries: 3

from gooby.

roubachof avatar roubachof commented on May 24, 2024

Ok!
Where should I comment those files ?

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024

Oof, I'm a bit rusty there, lol. Let me think... I believe you'd need to go into var/local/Gooby/Docker/components and comment it out in there. Then run rclean again.

from gooby.

roubachof avatar roubachof commented on May 24, 2024

I modified -rw-r--r-- 1 roubachof roubachof 1204 Jan 1 12:57 52-sonarr.yaml like you asked.
Then I ran rclean.
But it's still restarting in loop:

2935773579f1   linuxserver/sonarr:latest                "/init"                  34 minutes ago   Restarting (1) 23 seconds ago

from gooby.

roubachof avatar roubachof commented on May 24, 2024

and the logs:

 docker logs --tail 50 --follow --timestamps sonarr
2024-01-02T18:35:04.253375163Z exec /init: no such file or directory
2024-01-02T18:35:06.251468162Z exec /init: no such file or directory
2024-01-02T18:35:09.786528939Z exec /init: no such file or directory
2024-01-02T18:35:16.525830500Z exec /init: no such file or directory
2024-01-02T18:35:29.676794423Z exec /init: no such file or directory
2024-01-02T18:35:55.570918689Z exec /init: no such file or directory
2024-01-02T18:36:47.061785423Z exec /init: no such file or directory
2024-01-02T18:37:47.359272522Z exec /init: no such file or directory
2024-01-02T18:38:47.681641984Z exec /init: no such file or directory
2024-01-02T18:39:47.996564628Z exec /init: no such file or directory
2024-01-02T18:40:48.297586845Z exec /init: no such file or directory
2024-01-02T18:41:48.633899233Z exec /init: no such file or directory
2024-01-02T18:42:48.947484803Z exec /init: no such file or directory
2024-01-02T18:43:49.251494993Z exec /init: no such file or directory
2024-01-02T18:44:49.598403768Z exec /init: no such file or directory
2024-01-02T18:45:49.906292643Z exec /init: no such file or directory
2024-01-02T18:46:50.232277553Z exec /init: no such file or directory
2024-01-02T18:47:50.545463592Z exec /init: no such file or directory
2024-01-02T18:48:50.858019488Z exec /init: no such file or directory
2024-01-02T18:49:51.182169370Z exec /init: no such file or directory
2024-01-02T18:50:51.488703170Z exec /init: no such file or directory
2024-01-02T18:51:51.809670099Z exec /init: no such file or directory
2024-01-02T18:52:52.137200599Z exec /init: no such file or directory
2024-01-02T18:53:52.450046281Z exec /init: no such file or directory
2024-01-02T18:54:52.761488532Z exec /init: no such file or directory
2024-01-02T18:55:53.102375137Z exec /init: no such file or directory
2024-01-02T18:56:53.417946987Z exec /init: no such file or directory
2024-01-02T18:57:53.731929235Z exec /init: no such file or directory
2024-01-02T18:58:54.045995469Z exec /init: no such file or directory
2024-01-02T18:59:54.364086638Z exec /init: no such file or directory
2024-01-02T19:00:54.664075046Z exec /init: no such file or directory
2024-01-02T19:01:54.963875445Z exec /init: no such file or directory
2024-01-02T19:02:55.295775715Z exec /init: no such file or directory
2024-01-02T19:03:55.600830593Z exec /init: no such file or directory
2024-01-02T19:04:55.912685582Z exec /init: no such file or directory
2024-01-02T19:05:56.227552023Z exec /init: no such file or directory
2024-01-02T19:06:56.521184351Z exec /init: no such file or directory
2024-01-02T19:07:56.812652685Z exec /init: no such file or directory
2024-01-02T19:08:57.123789282Z exec /init: no such file or directory
2024-01-02T19:09:57.442626763Z exec /init: no such file or directory
2024-01-02T19:10:43.417248776Z exec /init: no such file or directory
2024-01-02T19:10:43.905280824Z exec /init: no such file or directory
2024-01-02T19:10:44.445837465Z exec /init: no such file or directory
2024-01-02T19:10:45.187709944Z exec /init: no such file or directory
2024-01-02T19:10:46.323357495Z exec /init: no such file or directory
2024-01-02T19:10:48.264758560Z exec /init: no such file or directory
2024-01-02T19:10:51.761342019Z exec /init: no such file or directory
2024-01-02T19:10:58.504231679Z exec /init: no such file or directory
2024-01-02T19:11:11.628434403Z exec /init: no such file or directory
2024-01-02T19:11:37.535877041Z exec /init: no such file or directory

from gooby.

roubachof avatar roubachof commented on May 24, 2024

is there a way when running rclean to not recreate the certificates ?
cause it keeps screwing my others services:

[Tue Jan  2 18:35:29 UTC 2024] Create new order error. Le_OrderFinalize not found. {
  "type": "urn:ietf:params:acme:error:rateLimited",
  "detail": "Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: radarr.eriador.site, retry after 2024-01-03T20:35:08Z: see https://letsencrypt.org/docs/duplicate-certificate-limit/",
  "status": 429
}

from gooby.

roubachof avatar roubachof commented on May 24, 2024

I remeber that I had an error mentioning netstat that seems to started the whole thing (see first comment); so I commented the following line: - /bin/netstat:/bin/netstat:ro.

And now the container is restarting:

778db77b63ee   linuxserver/sonarr:latest                "/init"                  3 minutes ago   Up 3 minutes
    8989/tcp

So the config is now:

#
# Sonarr - TV Show catalog and management preview
#
  sonarr:
    restart: unless-stopped
    image: linuxserver/sonarr:latest
    container_name: sonarr
    hostname: sonarr
    cpu_shares: 2048
    depends_on:
      nginx-proxy:
        condition: service_healthy
      letsencrypt-nginx-proxy-companion:
        condition: service_started
        #deluge:
        #condition: service_healthy
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${CONFIGS}/Sonarr:/config
      - ${HOME}/logs:/config/logs
      - ${MEDIA}:/Media
      - ${DOWNLOADS}:/Downloads
#      - /bin/netstat:/bin/netstat:ro
    environment:
      - PGID=${GROUPID}
      - PUID=${USERID}
      - TZ=${TIMEZONE}
      - VIRTUAL_HOST=sonarr.${MYDOMAIN}
      - VIRTUAL_PORT=8989
      - VIRTUAL_NETWORK=nginx-proxy
      - LETSENCRYPT_HOST=sonarr.${MYDOMAIN}
      - LETSENCRYPT_EMAIL=${MYEMAIL}
#    healthcheck:
#      test: ["CMD-SHELL", "netstat -ntlp | grep :8989 && mountpoint /Media"]
#      interval: 10s
#      timeout: 2s
#      retries: 3
    blkio_config:
      weight: 150
      #device_read_bps:
      #- path: /dev/md1
      #rate: '50mb'
      #device_write_bps:
      #- path: /dev/md1
      #rate: '50mb'

Well for now all my services are in internal server error because of the letsencrypt certificate issue but I will get back to you after 2024-01-03T20:35:08Z to see if it is now fixed :)

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024

That certificate error is strange - they shouldn't be recreated each time you run rclean. Because as you said, you'd quickly be banned in that case :)

Would you by any chance be willing to upgrade to OmniStream? That would probably solve all your issues because that project is still actively maintained :)

from gooby.

ffwjb avatar ffwjb commented on May 24, 2024

Same problem here, Sonarr updated (migration from mono to donnet) and you need to change the Nginx conf file.
You need to replace:
1 | proxy_set_header Host $proxy_host;
to
1 | proxy_set_header Host $host;

But I can't find the file to update it, any help?

from gooby.

roubachof avatar roubachof commented on May 24, 2024

@TechPerplexed I tried OmniStream 1 year ago I think, I lost 5 days of my life.
Tried 10+ times to reinstall from fresh VPS with different ubuntu versions.
Tried with the recommended dns configuration.
Tried without the recommended dns configuration.
Ask questions on github but no help was given.
After that I just reinstalled Gooby and all worked flawlessly :)

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024

I see :) Of course the issue is that I use neither now that I went with a local NAS and no longer use Google Drive... so I'm a little in the dark now as to external changes in Docker, the *arrs (oof doesn't that sound rude) etc unfortunately.

What if you revert (even if temporarily) to an older version of Sonarr? Would that help you out at least until a more permanent solution can be found?

from gooby.

roubachof avatar roubachof commented on May 24, 2024

Last question, how can we revert a container to a specific version if we need ?

from gooby.

roubachof avatar roubachof commented on May 24, 2024

All is working fine now that all certificates have been recreated!
So for the last last question: if I want to recreate a certificate for a specific service/container, which command should I run?

from gooby.

TechPerplexed avatar TechPerplexed commented on May 24, 2024

I don't think there is any particular command for a single container. The way it's SUPPOSED to work is every time you reboot your system or run rclean, the validity of your container is checked and renewed if needed. Based on what you were describing before it doesn't always work like that ^_^

But since it seems the issue is resolved, let me close this now. Feel free to reopen if there is still something that needs sorting :)

from gooby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.