Okay, I see this was raised as an issue by others but immediately shot down. At least the ticket raiser got a chance to ask why before the issue was closed (not uncommon for issues to be shot down with no explanation!).
I was looking to move everything into HA but this is a great warning example of reasons not to, with add-ons in particular you’re really beholden to a single persons architectural view. And the their promise that HA “should” always start!
So I’ve got portainer running successfully in my Home Assistant VM but I’ve also got portainer running in a different docker setup in a different VM. How do I connect the secondary pertainer setup so I can see and restart containers that are running in the secondary VM from within portainer in Home Assistant? Trying to add an endpoint with the docker api using the same IP and port I’m able to access the second portainer from in a web browser but I get no success.
I don’t run the Portainer addon as I was already running Portainer when it became available and I have the direct Portainer running in a side panel as an iFrame which works perfectly.
It seems like that addon uses the noauth flag to avoid needing an authentification through ingress. However this flag was removed from version 1.24. Updating the addon would require to add an authentification layer - although I’m sure it is possible if only slightly more cumbersome.
I tried install Portainer 2.1.1-dev2 from alexbelgium repo, but no luck at this time. I have running with no issues the Portainer 1.x from the official repo, but not the newer version. I tried to run both version at the same time as well as only the newer one, etc. I always can get only the same message at each attempt (not sure is this any significant error though) rm: can’t remove ‘/data/portainer.db’: No such file or directory, and soon after container is restarting, again and again. If you want see full container logs, repeating in the deploying cycle, then https://pastebin.com/Pjyw26WG here you go. In the following location /usr/share/hassio/addons/data/db21ed7f_portainer there are only two files options.json portainer_password, so this conatainer don’t even install all the files. Any idea? I will test the other containers from tha repo, hopefully they will work, but Portainer 2.x is something what I was waiting for… so, I am bit disappointed with this problem.
Hi @Robbb , I pushed a version 2.1.1-dev3 that should solve your issue. I suppose the password that you selected was interfering with the automatic password reset (that causes the removal of this dB)
Edit : a dev4 was pushed that solves a start issue if ssl is not enabled
Good question that I don’t have a response for. The docker endpoint is at “/var/run/docker.sock”, however I’m not sure how to access that from network!
HassOS I am currently running is read only system by default. I can install any official or unofficial app from HA repos added, but I can not install exactly the same app from the Portainer’s App Templates option.
I guess it is just matter of proper configuration in the Portainer for /config in the deployed container mapped to /portainer/Files/AppData/Config in the Host. Once it fails I am getting info like this error while creating mount source path ‘/portainer/Files/AppData/Config’: mkdir /portainer: read-only file system
Add-on version: 1.5.1
You are running the latest version of this add-on.
System: Home Assistant OS 6.2 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2021.8.3
Home Assistant Supervisor: 2021.06.8
When I try to click on “primary” I get the following error:
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?