The 'nc-update' process seem to be broken. Updater can't read shadow file, can't create user, and fails to install rpcbind. This is happening in a freshly deployed container with a new volume. Tested with containers 1.46.9 and 1.47.1. Today I see there's an update to 1.47.2, but cannot update.
Main difference for me is that I'm using podman and not docker. I can't imagine that should be the cause of this problem though, the shadow file is a symlink from /etc/shadow to /data/etc/shadow, which is getting permission denied during the install.
FYI - this is my first issue submission ever, don't beat me up too bad if I didn't provide the right info! :)
$ podman container inspect nextcloudpi
[
{
"Id": "f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402",
"Created": "2022-05-12T15:04:53.197300469-06:00",
"Path": "/run-parts.sh",
"Args": [
"nextpod.***removed***.tld"
],
"State": {
"OciVersion": "1.0.2-dev",
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 148605,
"ConmonPid": 148593,
"ExitCode": 0,
"Error": "",
"StartedAt": "2022-05-12T15:04:53.871815995-06:00",
"FinishedAt": "0001-01-01T00:00:00Z",
"Healthcheck": {
"Status": "",
"FailingStreak": 0,
"Log": null
}
},
"Image": "aa1f120b1e92e66b38a51bd3eb541e5c93c93f413b796c72cbd8ebc9d224341c",
"ImageName": "docker.io/ownyourbits/nextcloudpi:v1.47.1",
"Rootfs": "",
"Pod": "",
"ResolvConfPath": "/run/user/1000/containers/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/resolv.conf",
"HostnamePath": "/run/user/1000/containers/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/hostname",
"HostsPath": "/run/user/1000/containers/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/hosts",
"StaticDir": "/home/nextpod/.local/share/containers/storage/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata",
"OCIConfigPath": "/home/nextpod/.local/share/containers/storage/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/config.json",
"OCIRuntime": "runc",
"ConmonPidFile": "/run/user/1000/containers/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/conmon.pid",
"PidFile": "/run/user/1000/containers/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/pidfile",
"Name": "nextcloudpi",
"RestartCount": 0,
"Driver": "overlay",
"MountLabel": "system_u:object_r:container_file_t:s0:c433,c857",
"ProcessLabel": "system_u:system_r:container_t:s0:c433,c857",
"AppArmorProfile": "",
"EffectiveCaps": [
"CAP_CHOWN",
"CAP_DAC_OVERRIDE",
"CAP_FOWNER",
"CAP_FSETID",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_NET_RAW",
"CAP_SETFCAP",
"CAP_SETGID",
"CAP_SETPCAP",
"CAP_SETUID",
"CAP_SYS_CHROOT"
],
"BoundingCaps": [
"CAP_CHOWN",
"CAP_DAC_OVERRIDE",
"CAP_FOWNER",
"CAP_FSETID",
"CAP_KILL",
"CAP_NET_BIND_SERVICE",
"CAP_NET_RAW",
"CAP_SETFCAP",
"CAP_SETGID",
"CAP_SETPCAP",
"CAP_SETUID",
"CAP_SYS_CHROOT"
],
"ExecIDs": [],
"GraphDriver": {
"Name": "overlay",
"Data": {
"LowerDir": "/home/nextpod/.local/share/containers/storage/overlay/cf69fc7ea9ea5ce836b0f5eefc45b860b54f9c7fd15ea0c44d195b11398056a5/diff:/home/nextpod/.local/share/containers/storage/overlay/81b93b048f653a7a337be5e7a6ec7f69a99faeb1a40740cecb9a8950d749a749/diff:/home/nextpod/.local/share/containers/storage/overlay/06d1ad71b9d999683ebc1321d264be9edcbbbde5a2c8b8de49d72a82cd6606f6/diff:/home/nextpod/.local/share/containers/storage/overlay/1d5052923ca0de16484b00628456e1d782cf756e4f0c0905b3f73bac63d060b9/diff:/home/nextpod/.local/share/containers/storage/overlay/a66143c0fa225434a9153ff720d4ab1e581b5ae6ad972207e3eb721fa04e9588/diff:/home/nextpod/.local/share/containers/storage/overlay/105c044779f8002f3571df0e9337dbad0a0d501a29e4760a352da4732950ac1f/diff:/home/nextpod/.local/share/containers/storage/overlay/738b35dfaed17e0d80039ef1c2700155ea6aca17ea232cbc28c3a471970e0963/diff:/home/nextpod/.local/share/containers/storage/overlay/0b88fac4d31326066d03fc8b46f5a946a0e9f470b2f147251dc0d9ba26cae298/diff:/home/nextpod/.local/share/containers/storage/overlay/2ce67683ff16ef615ccd950b212b5d498dbac8e0e23dd2135bd1e46b5cb16412/diff:/home/nextpod/.local/share/containers/storage/overlay/60901d5c84cc8508914232b41663b37dd8660e66f3cf6096f20870440b500e7c/diff:/home/nextpod/.local/share/containers/storage/overlay/4263899cbc7077e706a1ba870b8f7150def717d66a38f328cef6a1250688c89c/diff:/home/nextpod/.local/share/containers/storage/overlay/6a44c85631aabcdcbb87d89bce11f4387839905b8f660d91b0a69dae0af1942b/diff:/home/nextpod/.local/share/containers/storage/overlay/3e46779fae8d02be2071a946579c562d02c4111b239f2fa0ba84d4dd38700031/diff:/home/nextpod/.local/share/containers/storage/overlay/400e4618694be1d8e42e22b1f16729c47f131d1247c395ea74b06b1d37a7f477/diff:/home/nextpod/.local/share/containers/storage/overlay/ab111b3819c36df77379cd1ba309c189d41095dc7c7335b637e0a8794b14e640/diff:/home/nextpod/.local/share/containers/storage/overlay/be61b46f901d076f130659a0e3b3131423482ac06e49e8b1a3c2a5f124efb5b1/diff:/home/nextpod/.local/share/containers/storage/overlay/54a2e41924b060a9a8e5fa441b09d95a49422286725343a837ee87243b2ee2e2/diff:/home/nextpod/.local/share/containers/storage/overlay/24e500e62b7ab837eeca9e8366c103790e2c6b64270724ca4cfedb4360d43273/diff:/home/nextpod/.local/share/containers/storage/overlay/9b077bf173926d8b609f84dc8b16c9277c05b72357402c4979fd74da6ab3f5da/diff:/home/nextpod/.local/share/containers/storage/overlay/c6e112e83a3353d039e5a81d1050b1b6bceb989fe57881dc44e7df4439ef8942/diff:/home/nextpod/.local/share/containers/storage/overlay/b6b72b1278e7631052a87db35b6f1b8d731fffc418872aa39d5702cd00eafed9/diff:/home/nextpod/.local/share/containers/storage/overlay/ee227c4a4f3960fd028ea65dfb6c36da6a1b36edfa189708acdb46b24ca325a1/diff:/home/nextpod/.local/share/containers/storage/overlay/a2d0490d9da0f555be09ba2ba6c2a7bd3ad9844090f64cc5a1cdcc5f57954430/diff:/home/nextpod/.local/share/containers/storage/overlay/9daca82995d97de0844cd4c4628f04c3ce14d06fa8335d88d0b649d574a43f4a/diff:/home/nextpod/.local/share/containers/storage/overlay/1401df2b50d5de5a743b7bac3238ef3b7ce905ae39f54707b0ebb8eda3ab10bc/diff",
"MergedDir": "/home/nextpod/.local/share/containers/storage/overlay/eff67f733a237d2f686448c8f798e49bc82f49f0461e637bfef3340c50e39bcb/merged",
"UpperDir": "/home/nextpod/.local/share/containers/storage/overlay/eff67f733a237d2f686448c8f798e49bc82f49f0461e637bfef3340c50e39bcb/diff",
"WorkDir": "/home/nextpod/.local/share/containers/storage/overlay/eff67f733a237d2f686448c8f798e49bc82f49f0461e637bfef3340c50e39bcb/work"
}
},
"Mounts": [
{
"Type": "volume",
"Name": "nextpod_ncp_data",
"Source": "/home/nextpod/.local/share/containers/storage/volumes/nextpod_ncp_data/_data",
"Destination": "/data",
"Driver": "local",
"Mode": "Z",
"Options": [
"nosuid",
"nodev",
"rbind"
],
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/usr/share/zoneinfo/***removed***",
"Destination": "/etc/localtime",
"Driver": "",
"Mode": "",
"Options": [
"rbind"
],
"RW": false,
"Propagation": "rprivate"
}
],
"Dependencies": [],
"NetworkSettings": {
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"443/tcp": [
{
"HostIp": "",
"HostPort": "10443"
}
],
"4443/tcp": [
{
"HostIp": "",
"HostPort": "4443"
}
],
"80/tcp": [
{
"HostIp": "",
"HostPort": "10080"
}
]
},
"SandboxKey": "/run/user/1000/netns/cni-7af42730-4337-9636-2f8d-6984988193be",
"Networks": {
"nextpod_default": {
"EndpointID": "",
"Gateway": "10.89.0.1",
"IPAddress": "10.89.0.2",
"IPPrefixLen": 24,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "6e:ae:eb:dc:54:d3",
"NetworkID": "nextpod_default",
"DriverOpts": null,
"IPAMConfig": null,
"Links": null,
"Aliases": [
"nextcloudpi"
]
}
}
},
"ExitCommand": [
"/usr/bin/podman",
"--root",
"/home/nextpod/.local/share/containers/storage",
"--runroot",
"/run/user/1000/containers",
"--log-level",
"warning",
"--cgroup-manager",
"cgroupfs",
"--tmpdir",
"/run/user/1000/libpod/tmp",
"--runtime",
"runc",
"--storage-driver",
"overlay",
"--events-backend",
"file",
"container",
"cleanup",
"f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402"
],
"Namespace": "",
"IsInfra": false,
"Config": {
"Hostname": "nextpod",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm",
"container=podman",
"DOCKERBUILD=1",
"HOSTNAME=nextpod",
"HOME=/root"
],
"Cmd": [
"nextpod.***removed***.tld"
],
"Image": "docker.io/ownyourbits/nextcloudpi:v1.47.1",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": "/run-parts.sh",
"OnBuild": null,
"Labels": {
"com.docker.compose.container-number": "1",
"com.docker.compose.project": "nextpod",
"com.docker.compose.project.config_files": "docker-compose.yml",
"com.docker.compose.project.working_dir": "/home/nextpod/nextpod",
"com.docker.compose.service": "nextcloudpi",
"io.podman.compose.config-hash": "123",
"io.podman.compose.project": "nextpod",
"io.podman.compose.version": "0.0.1",
"maintainer": "Ignacio Núñez Hernanz \u003cnacho@ownyourbits.com\u003e"
},
"Annotations": {
"io.container.manager": "libpod",
"io.kubernetes.cri-o.Created": "2022-05-12T15:04:53.197300469-06:00",
"io.kubernetes.cri-o.TTY": "false",
"io.podman.annotations.autoremove": "FALSE",
"io.podman.annotations.init": "FALSE",
"io.podman.annotations.privileged": "FALSE",
"io.podman.annotations.publish-all": "FALSE",
"org.opencontainers.image.stopSignal": "15"
},
"StopSignal": 15,
"CreateCommand": [
"podman",
"run",
"--name=nextcloudpi",
"-d",
"--label",
"io.podman.compose.config-hash=123",
"--label",
"io.podman.compose.project=nextpod",
"--label",
"io.podman.compose.version=0.0.1",
"--label",
"com.docker.compose.project=nextpod",
"--label",
"com.docker.compose.project.working_dir=/home/nextpod/nextpod",
"--label",
"com.docker.compose.project.config_files=docker-compose.yml",
"--label",
"com.docker.compose.container-number=1",
"--label",
"com.docker.compose.service=nextcloudpi",
"-v",
"/usr/share/zoneinfo/***removed***:/etc/localtime:ro",
"-v",
"nextpod_ncp_data:/data:Z",
"--net",
"nextpod_default",
"--network-alias",
"nextcloudpi",
"-p",
"4443:4443/tcp",
"-p",
"10080:80/tcp",
"-p",
"10443:443/tcp",
"--hostname",
"nextpod",
"--restart",
"unless-stopped",
"docker.io/ownyourbits/nextcloudpi:v1.47.1",
"nextpod.***removed***.tld"
],
"Umask": "0022",
"Timeout": 0,
"StopTimeout": 10
},
"HostConfig": {
"Binds": [
"nextpod_ncp_data:/data:Z,rw,rprivate,nosuid,nodev,rbind",
"/usr/share/zoneinfo/***removed***:/etc/localtime:ro,rprivate,rbind"
],
"CgroupManager": "cgroupfs",
"CgroupMode": "host",
"ContainerIDFile": "",
"LogConfig": {
"Type": "k8s-file",
"Config": null,
"Path": "/home/nextpod/.local/share/containers/storage/overlay-containers/f2048cffee02d25b61d83e7062d91c8d30d6570a33c23f92ee941ffdae055402/userdata/ctr.log",
"Tag": "",
"Size": "0B"
},
"NetworkMode": "bridge",
"PortBindings": {
"443/tcp": [
{
"HostIp": "",
"HostPort": "10443"
}
],
"4443/tcp": [
{
"HostIp": "",
"HostPort": "4443"
}
],
"80/tcp": [
{
"HostIp": "",
"HostPort": "10080"
}
]
},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": [],
"CapDrop": [
"CAP_AUDIT_WRITE",
"CAP_MKNOD"
],
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": [],
"GroupAdd": [],
"IpcMode": "private",
"Cgroup": "",
"Cgroups": "default",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "private",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [],
"Tmpfs": {},
"UTSMode": "private",
"UsernsMode": "",
"ShmSize": 65536000,
"Runtime": "oci",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": 0,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": [],
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"CgroupConf": null
}
}
]
The 'nc-update' process seem to be broken. Updater can't read shadow file, can't create user, and fails to install rpcbind. This is happening in a freshly deployed container with a new volume. Tested with containers 1.46.9 and 1.47.1. Today I see there's an update to 1.47.2, but cannot update.
Main difference for me is that I'm using podman and not docker. I can't imagine that should be the cause of this problem though, the shadow file is a symlink from /etc/shadow to /data/etc/shadow, which is getting permission denied during the install.
FYI - this is my first issue submission ever, don't beat me up too bad if I didn't provide the right info! :)
System information:
Error snippet:
Nextcloud Instance Info:
Container inspect
Full log: