Jump to content

Container reloads continuously


Miles28

Recommended Posts

Miles28

Emby server running on OpenWRT as a docker container restarting continuosly.

Syslog:

Wed Mar  6 09:12:18 2024 daemon.err dockerd[5354]: time="2024-03-06T08:12:18.822281849Z" level=error msg="failed to enable controllers ([cpuset cpu io memory pids rdma])" error="failed to write subtree controllers [cpuset cpu io memory pids rdma] to \"/sys/fs/cgroup/docker/cgroup.subtree_control\": write /sys/fs/cgroup/docker/cgroup.subtree_control: no such file or directory"
Wed Mar  6 09:12:18 2024 daemon.err dockerd[5354]: time="2024-03-06T08:12:18.858580327Z" level=warning msg="cleaning up after shim disconnected" id=5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa namespace=moby
Wed Mar  6 09:12:19 2024 daemon.err dockerd[5354]: time="2024-03-06T08:12:19.466943108Z" level=warning msg="Failed to delete conntrack state for 172.17.0.2: invalid argument"
Wed Mar  6 09:12:19 2024 kern.info kernel: [  457.646923] docker0: port 1(veth20865a9) entered disabled state
Wed Mar  6 09:12:19 2024 kern.info kernel: [  457.653092] veth2e42ad8: renamed from eth0
Wed Mar  6 09:12:19 2024 daemon.notice ttyd[8297]: [2024/03/06 09:12:19:5900] N: rops_handle_POLLIN_netlink: DELADDR
Wed Mar  6 09:12:19 2024 kern.info kernel: [  457.766958] docker0: port 1(veth20865a9) entered disabled state
Wed Mar  6 09:12:19 2024 kern.info kernel: [  457.774920] device veth20865a9 left promiscuous mode
Wed Mar  6 09:12:19 2024 kern.info kernel: [  457.779948] docker0: port 1(veth20865a9) entered disabled state
Wed Mar  6 09:12:19 2024 daemon.notice netifd: bridge 'docker0' link is down
Wed Mar  6 09:12:19 2024 daemon.notice netifd: Interface 'docker' has link connectivity loss
Wed Mar  6 09:12:19 2024 daemon.notice netifd: Interface 'docker' is now down

Container log:

stderr: importas: fatal: unable to exec export: Not supported

Container Inspect:

{
  "Path": "\/init",
  "ProcessLabel": "",
  "ResolvConfPath": "\/opt\/docker\/containers\/5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa\/resolv.conf",
  "NetworkSettings": {
    "LinkLocalIPv6Address": "",
    "SandboxID": "49e92ff6ac731cdd39a3769f504b692343dc13d500b2bd41cea0010dcc6536a7",
    "HairpinMode": false,
    "Networks": {
      "bridge": {
        "MacAddress": "",
        "IPAddress": "",
        "IPPrefixLen": 0,
        "NetworkID": "ab66fbf5cc1033dd92f16bffbd1eca0d069d9cde96d817964845f186a34e0f7d",
        "IPv6Gateway": "",
        "Gateway": "",
        "GlobalIPv6PrefixLen": 0,
        "EndpointID": "",
        "GlobalIPv6Address": ""
      }
    },
    "Ports": [
    ],
    "Bridge": "",
    "MacAddress": "",
    "IPv6Gateway": "",
    "IPPrefixLen": 0,
    "IPAddress": "",
    "EndpointID": "",
    "LinkLocalIPv6PrefixLen": 0,
    "Gateway": "",
    "GlobalIPv6PrefixLen": 0,
    "SandboxKey": "\/var\/run\/docker\/netns\/49e92ff6ac73",
    "GlobalIPv6Address": ""
  },
  "MountLabel": "",
  "HostsPath": "\/opt\/docker\/containers\/5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa\/hosts",
  "LogPath": "\/opt\/docker\/containers\/5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa\/5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa-json.log",
  "RestartCount": 16,
  "Config": {
    "AttachStdout": false,
    "Entrypoint": [
      "\/init"
    ],
    "Labels": {
      "maintainer": "Emby LLC <apps@emby.media>"
    },
    "User": "",
    "Tty": false,
    "AttachStdin": false,
    "AttachStderr": false,
    "OpenStdin": false,
    "Volumes": {
      "\/config": [
      ]
    },
    "Image": "emby\/embyserver_arm64v8:latest",
    "WorkingDir": "\/",
    "Hostname": "embyserver",
    "ExposedPorts": {
      "8920\/tcp": [
      ],
      "8096\/tcp": [
      ],
      "1900\/udp": [
      ],
      "7359\/udp": [
      ]
    },
    "Domainname": "",
    "Env": [
      "UID=0",
      "GID=0",
      "GIDLIST=100",
      "PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin",
      "LANG=en_US.UTF-8",
      "HOME=\/tmp",
      "AMDGPU_IDS=\/share\/libdrm\/amdgpu.ids",
      "FONTCONFIG_PATH=\/etc\/fonts",
      "LD_LIBRARY_PATH=\/lib:\/system",
      "LIBVA_DRIVERS_PATH=\/lib\/dri",
      "OCL_ICD_VENDORS=\/etc\/OpenCL\/vendors",
      "PCI_IDS_PATH=\/share\/hwdata\/pci.ids",
      "SSL_CERT_FILE=\/etc\/ssl\/certs\/ca-certificates.crt",
      "NVIDIA_VISIBLE_DEVICES=all",
      "NVIDIA_DRIVER_CAPABILITIES=compute,video,utility",
      "XDG_CACHE_HOME=\/config\/cache"
    ],
    "StdinOnce": false
  },
  "Mounts": [
    {
      "Type": "bind",
      "Source": "\/mnt\/sda2\/Películas",
      "Mode": "",
      "Destination": "\/Movies",
      "RW": true,
      "Propagation": "rprivate"
    },
    {
      "Type": "bind",
      "Source": "\/mnt\/sda2\/Series",
      "Mode": "",
      "Destination": "\/TVShows",
      "RW": true,
      "Propagation": "rprivate"
    },
    {
      "Name": "a7346b98288bb1061340c408617f21a498bd03840d7f9f87bbea3cf7f78cb383",
      "Type": "volume",
      "Source": "\/opt\/docker\/volumes\/a7346b98288bb1061340c408617f21a498bd03840d7f9f87bbea3cf7f78cb383\/_data",
      "RW": true,
      "Mode": "",
      "Destination": "\/config",
      "Driver": "local",
      "Propagation": ""
    }
  ],
  "Id": "5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa",
  "Platform": "linux",
  "HostConfig": {
    "PidMode": "",
    "MemorySwap": 0,
    "ConsoleSize": [
      0,
      0
    ],
    "IOMaximumIOps": 0,
    "DnsOptions": [
    ],
    "CpuPeriod": 0,
    "OomScoreAdj": 0,
    "BlkioWeight": 0,
    "ShmSize": 67108864,
    "Privileged": false,
    "PortBindings": {
      "8096\/tcp": [
        {
          "HostIp": "",
          "HostPort": "8096"
        }
      ],
      "8920\/tcp": [
        {
          "HostIp": "",
          "HostPort": "8920"
        }
      ]
    },
    "CpuShares": 0,
    "NetworkMode": "bridge",
    "CpuQuota": 0,
    "DnsSearch": [
    ],
    "NanoCpus": 0,
    "CpuCount": 0,
    "Isolation": "",
    "Cgroup": "",
    "ContainerIDFile": "",
    "AutoRemove": false,
    "UTSMode": "",
    "VolumeDriver": "",
    "ReadonlyPaths": [
      "\/proc\/bus",
      "\/proc\/fs",
      "\/proc\/irq",
      "\/proc\/sys",
      "\/proc\/sysrq-trigger"
    ],
    "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"
    ],
    "CpuRealtimePeriod": 0,
    "IOMaximumBandwidth": 0,
    "CpuPercent": 0,
    "Binds": [
      "\/mnt\/sda2\/Películas:\/Movies",
      "\/mnt\/sda2\/Series:\/TVShows"
    ],
    "MemoryReservation": 0,
    "Dns": [
    ],
    "RestartPolicy": {
      "Name": "unless-stopped",
      "MaximumRetryCount": 0
    },
    "PublishAllPorts": false,
    "CpusetMems": "",
    "CpusetCpus": "",
    "CpuRealtimeRuntime": 0,
    "ReadonlyRootfs": false,
    "UsernsMode": "",
    "Memory": 0,
    "CgroupParent": "",
    "IpcMode": "private",
    "CgroupnsMode": "private",
    "LogConfig": {
      "Config": [
      ],
      "Type": "json-file"
    },
    "Runtime": "runc"
  },
  "GraphDriver": {
    "Data": {
      "MergedDir": "\/opt\/docker\/fuse-overlayfs\/fa86c66629927bc27b278e5065571ab8ea3bb4b6382236d065e8f54e3bf2ff2a\/merged",
      "WorkDir": "\/opt\/docker\/fuse-overlayfs\/fa86c66629927bc27b278e5065571ab8ea3bb4b6382236d065e8f54e3bf2ff2a\/work",
      "UpperDir": "\/opt\/docker\/fuse-overlayfs\/fa86c66629927bc27b278e5065571ab8ea3bb4b6382236d065e8f54e3bf2ff2a\/diff",
      "LowerDir": "\/opt\/docker\/fuse-overlayfs\/fa86c66629927bc27b278e5065571ab8ea3bb4b6382236d065e8f54e3bf2ff2a-init\/diff:\/opt\/docker\/fuse-overlayfs\/dd918ae641c73b405161c92f0cbae83de1177307719a3ec74890e4f31fd53df5\/diff:\/opt\/docker\/fuse-overlayfs\/df89f53abcbc926c4d7306cc546ef4cc1b72a71ad26b346e5a0e152849f784cc\/diff:\/opt\/docker\/fuse-overlayfs\/481e8ebb0e678e49774767a93eeb563c906bf426a3f0ee9bc5f1220a73f16f83\/diff:\/opt\/docker\/fuse-overlayfs\/20d9388b3cc84a778a7ee2e930d12f3bdc347b71a1cb5f739c0ad152abeeed90\/diff"
    },
    "Name": "fuse-overlayfs"
  },
  "State": {
    "Pid": 0,
    "FinishedAt": "2024-03-06T08:18:42.360006793Z",
    "StartedAt": "2024-03-06T08:18:41.151739327Z",
    "Error": "",
    "Running": true,
    "Paused": false,
    "OOMKilled": false,
    "Status": "restarting",
    "ExitCode": 126,
    "Restarting": true,
    "Dead": false
  },
  "Driver": "fuse-overlayfs",
  "Name": "\/embyserver",
  "Args": [
  ],
  "HostnamePath": "\/opt\/docker\/containers\/5a2febdeb66d3f12500e337359a3cf8c88bbef628554fa5242d23bc8012b3efa\/hostname",
  "Created": "2024-03-06T07:20:36.480898553Z",
  "AppArmorProfile": "",
  "Image": "sha256:6909a32f1120214399c6013462c0ae43edc21ef84344337e2229613615d96418"
}

 

Link to comment
Share on other sites

Miles28
Posted (edited)

I have tried with other images, helllo-world, jellifyn, Ubuntu, and all of them run ok.

This have to be something related with the last update of docker family packages in OpenWRT and Emby Server image.

Everytime I start the Emby Server container, docker network interface links down and restarts again..

Edited by Miles28
Link to comment
Share on other sites

adminExitium

Can you try running the LSIO emby docker image too? Will help to figure out whether it's a software issue or image issue.

Link to comment
Share on other sites

Miles28
2 hours ago, Luke said:

Did you look in the server data folder for log files?

Emby Server Data Folder

No, I couldn't find it. As I mentioned, the only record I could locate was this one:

{"log":"importas: fatal: unable to exec export: Not supported\n","stream":"stderr","time":"2024-03-06T08:52:31.036251332Z"}

But if you need it, I can try to deploy again the official Emby Server image later.

Link to comment
Share on other sites

12 hours ago, Miles28 said:

No, I couldn't find it. As I mentioned, the only record I could locate was this one:

{"log":"importas: fatal: unable to exec export: Not supported\n","stream":"stderr","time":"2024-03-06T08:52:31.036251332Z"}

But if you need it, I can try to deploy again the official Emby Server image later.

Hi, yes that would be great, thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...