I am using Vero4k+ and I just updated to the latest release (2020.10-1) this morning and I’m now having 2 issues:
My WdElements 12TB external hard drive does not mount automatically anymore, here is what I have in fstab: UUID=96b7efb3-4ab3-45ea-9b2f-eecbd458138b /mnt/elements ext4 nofail,x-systemd.device-timeout=5,noatime 0 0
I checked and the fstab UUID matches the device UUID, here is output of blkid: /dev/sda1: LABEL="elements" UUID="96b7efb3-4ab3-45ea-9b2f-eecbd458138b" TYPE="ext4" PARTLABEL="Elements" PARTUUID="c5934aef-8628-476d-853d-3132dfddf9bc"
It doesn’t mount it even if I reboot the system, I have to manually mount it with sudo mount /dev/sda1 /mnt/elements/ -t ext4
I was running docker with a few containers and it seems like the docker daemon stopped working after this update, when I docker ps I get this error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
After checking sudo service --status-all it seems like docker isn’t running, so I tried to reset it with systemctl but it didn’t work and didn’t give me any useful info, so I checked what sudo dockerd --debug outputs:
Not sure if this will fix the docker problem or not, but it seems to loading iptables-legacy rules; where as buster loads nfttables by default. Please try this:
sudo update-alternatives --config iptables
When prompted (Press to keep the current choice[*], or type selection number) enter 1.
As for fstab mount:
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
enable debug logging at settings->system->logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
I’ve tried your docker solution with update-alternatives and it worked. However, all of my containers changed the status to dead and I had to recreate them. Now I get this error anytime I try to run any containers again:
docker: Error response from daemon: unable to find "net_prio" in controller set: unknown.
I googled about it a bit and it seems like people are recommending to rebuild the kernel:
To fix it on my system I just needed to rebuild my kernel with CONFIG_CGROUP_NET_PRIO enabled
Did something like this change in the new october release?
Regarding the fstab issue, I will post the logs later on, when I get the time to prepare everything… I can manage with manual mount atm, but docker sucks a bit.
It’s difficult to see how that would have fixed the issue, since root is already mounting the disk. I think a more likely source of the problem is your use of x-systemd.device-timeout. I’ve seen this produce the same error in Buster (Debian and RaspiOS) and would recommend that you change it to x-systemd.automount,noauto.
As to the kernel cgroups issue, it looks like Sam omitted it from the 3.14 kernel (and also from the Pi2/3 kernel).
Edit: fixed typo - nauto should be noauto. D’oh! Cheers @ooZee.
OK, I now actually see what @bmillham was trying to say. So I tried both of your solutions:
first I tried to change x-systemd.device-timeout=5 to x-systemd,device-timeout=5 and it stopped mounting again,
then I also tried your solution @dillthedog and I added x-systemd.automount,nauto and it also didn’t work…
I’ve reverted the change as it seems like my solution is the only one that works, tbh I can’t be bothered with this issue anymore…
Regarding cgroups issue, it seems like some people had luck by downgrading systemd to <240 version, it seems like the current version is 241. Would that be possible? Am I basically stuck without docker on the latest october release? Kind of sucks, I will probably be forced to downgrade