Nextcloud container won't start

Hi all!
I installed the Nextcloud addon from linuxserver.io repository, but it won’t start:

docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed: invalid argument: unknown.

A quick search in shows that the error is related to the cgroup.freeze feature, which is available only since kernel 4.15 onward (and we are using 4.9). Yet, I have seen some people mention Nextcloud in this forum, so I guess there must be some way to workaround this issue?

Actually, this problem is not specific to Nextcloud; I tried some of the docker images mentioned in this thread, and they also don’t work.

I’m using the 20.0-Nexus_alpha3 prerelease image.

Thanks to @vpeter who suggested how to fix this:

mount -o remount,rw /flash  # This is needed if you have CE
                            # installed on the EMMC
vi /flash/config.ini

Then add the line

coreelec='quiet systemd.unified_cgroup_hierarchy=0'

at the end of the file, save it, and reboot.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.