The portainer add-on is broken, the 2.6.2 version cannot add containers anymore. The error message is: Failure starting container with non-empty request body was deprecated since API v1.22 and removed in v1.24.
It seems to be there is an update, version 2.6.3 but not sure wether that fixes the issue.
Can the author of the portainer add-on @frenck please look into this?
Thanks Douglas, I already read that thread but I read no solution, just a workaround. I have HA running in an image on my Qnap and am not going to mess around with that. As a workaround I installed the reactor container on a separate container on the Qnap but that is of course not ideal. I would prefer to be able to access reactor from within hass.
Hopefully portainer will be fixed or someone will build an add-on for Reactor
If you are looking to install other containers and programs on the same machine as Home Assistant you may want to look at a Home Assistant container install. You then run Home Assistant on whatever OS or version of Linux you want that supports Docker, and can install Portainer to manage all the containers, including Home Assistant at that point, which is how I’m running it. Here’s the install instructions for Home Asssistant container - Linux - Home Assistant
You lose the add-ons, but most of the add-ons for Home Assistant, (zwavejs2mqtt, zigbee2mqtt, node red, nginx, wireguard, mariadb, etc) are available on their own that you can install through docker and/or portainer on your own, and manage yourself.
Did anyone managed to get the edge agent working? I have been trying but couldn’t do it yet. Using Docker API as endpoint working fine.
Before you ask, yes I enabled the port 8000 for the addon.
There is some detailed information here:
and decoding the key with
anyway I think the Portainer server URL setting is the problem since by default, it is 8123. Normally this should be 9000 but since portainer is only available with ingress, it is not working. I couldn’t find a way to solve this.
Any advice?
Hi,
I am also attempting the same, it appears that docker agent wants to connect with 8000 + HTTP(s). there is conflicting info on this but this page seems to say its possible just using 8000 a --Tunnel-port flag but im not sure where this flag needs to be used maybe in the deployment of the agent HOWEVER… The Portainer Edge Agent - Portainer Documentation states ““Portainer now requires that only the 9000 and 8000 TCP ports are exposed. We used to serve the UI and the Portainer API from port 9000,””
I don’t think this is possible with the addon yet unless we can expose the UI on the home assistants host port but I think that may be disabled from what I could understand
I removed Community Portainer addon;
added GitHub - alexbelgium/hassio-addons: My homeassistant addons repo to HA;
Installed Alex’s Modified Portainer Addon;
Hop over to newly installed portainer addon’s configuration page and ensure Port 9000 / 8000 are populated to allow WebUI/Edge ports to reach outside host;
NOTE: Password for this addon is in Configuration tab under SSL options (Default pw: default)
NOTE: If you connect from HomeAssistant on port 8123 ensure that you change this port to 9000 to allow the api to resolve correctly. If accessing from HA;IP:9000 this will automatically populate correctly
Guys, I get this when I push to isntall. Any suggestions how to get Portainer from Alex working pls?
The command '/bin/bash -o pipefail -c apk add --no-cache nginx && if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi && if [ "${BUILD_ARCH}" = "armhf" ]; then ARCH="arm"; fi && if [ "${BUILD_ARCH}" = "armv7" ]; then ARCH="arm"; fi && if [ "${BUILD_ARCH}" = "amd64" ]; then ARCH="amd64"; fi && curl -L -s "https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" | tar zxvf - -C /opt/' returned a non-zero code: 1
The developers added this note in the Readme documentation:
This add-on is no longer available.
It has been used quite a lot for unsupported porposes, causing many issues, support questions and other problems.
If you run Home Assistant, please be aware that running additional containers is not a supported use-case and will trigger your system to be flagged as unsupported as well.
If you need to install other software with Home Assistant, your best bet is to run home assistant container, or install Home assistant in a VM so you can run other software outside the vm
is there an easy way then now to use a macvlan network? i want to run a specific local addon, but it needs to get an IP address of my router instead of the host network
What is the addon you want to run on a macvlan? Is it one you install through the supervisor (Ie an “official” or community Home Assistant addon), or something you are installing outside Home Assistant through Portainer?
Also, what is your current install method and hardware you are running Home Assistant on?
This portainer addon probably made it fairly simple to add a MACVLAN network, but without it, it’s going to be more difficult to create one unfortunately. I’m assuming you will have to install the full Home Assistant (Hassio) in a VM, and then docker (with or without portainer) outside of the VM to create a docker MACVLAN network. The other option is install docker with or without portainer, and use Home Assistant container, but you will lose the addon store and need to install the equivalent docker addons yourself. I actually run Home Assistant container and I can continue using the docker version of Portainer just fine - see my post here -