Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APK Installation fails inside a Proxmox container #4

Open
ScheintodX opened this issue Feb 21, 2024 · 3 comments
Open

APK Installation fails inside a Proxmox container #4

ScheintodX opened this issue Feb 21, 2024 · 3 comments

Comments

@ScheintodX
Copy link

Host:
NAME="Debian GNU/Linux"
VERSION_ID="11"
Container:
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.6

apk add hassio-supervised failes with:
[...]
[info] Fix kernel dmesg restriction
lib/apk/exec/hassio-supervised-1.5.0-r2.pre-install: line 17: can't create /proc/sys/kernel/dmesg_restrict: Read-only file system
ERROR: hassio-supervised-1.5.0-r2.pre-install: script exited with error 1
[...]

@kuba2k2
Copy link
Owner

kuba2k2 commented Feb 22, 2024

For containers you can just use the "Home Assistant Container" installation type, right?

I haven't used Proxmox, I don't know how similar it is to Docker. Maybe it has some configuration option to allow sysctl.

@ScheintodX
Copy link
Author

no. Naming is a little missleading.

Proxmox distinguishes between container (CT) and virtual machine (VM). Container is based on lxc.

Homeassistant means VM (VirtualBox, KVM) when it says container.

What I want to do is install Homeassistant in an Alpine linux running in an Linux Container (LXC) managed by Proxmox. I have managed to run quite a few containers on that host including stranger stuff like openwrt. Homeassistant is pretty resilient.

@kuba2k2
Copy link
Owner

kuba2k2 commented Feb 22, 2024

I believe there's a way to install HA in Docker for instance, and I'm pretty sure it's called "container". The VM version of HA is called "HAOS" or "Home Assistant OS".

Either way, I'm not sure I can help here. You can probably just remove that line from the pre-install script, then rebuild the APKs as described in the README (last section).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants