Skip to content

Commit d812bad

Browse files
authored
Update troubleshooting section (#192)
* Update troubleshooting section * Remove extra space
1 parent 9c9a54e commit d812bad

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/Troubleshooting.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The way some editors behave on save means the inumber of the file does not chang
88

99
## Cgroup Issues
1010

11-
If your ce-dev is failing to even start the controller then you'll see a response that looks like this.
11+
If your ce-dev is failing to even start, or starts but then immediately exits the controller (or any container) then you might see a response that looks like this.
1212

1313
```bash
1414
Creating ce_dev_controller ... done
@@ -17,6 +17,8 @@ Ensure user UID match those on the host... !
1717
Error: Command failed: sudo docker exec ce_dev_controller /bin/sh /opt/ce-dev-ownership.sh 1000 1000
1818
```
1919

20+
Alternatively, you might not see anything at all, and you'll discover your controller (or container) isn't running.
21+
2022
There will be very little in the way of logs or errors from this. Just an indication of a problem.
2123

2224
### Ubuntu 21.x
@@ -58,6 +60,11 @@ sudo update-initramfs -c -k all
5860
```bash
5961
docker rm $(docker ps -aq)
6062

63+
### Arch Linux
64+
1 - Edit `/boot/loader/entries/XXXX-XX-XX_XX-XX-XX_linux.conf` and append `SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 systemd.unified_cgroup_hierarchy=0` to `options`
65+
66+
2 - Reboot
67+
6168
### Cgroup On Older Projects
6269

6370
ce-dev does allow for the use of Cgroup 2, but some older projects will need upgrading to allow this to work. This means that the ce-dev controller will work fine, but some projects may fail to start some containers. This error will become apparent if you see the "unreachable" error when running the `ce-dev provision` step.

0 commit comments

Comments
 (0)