5 Commits

Author SHA1 Message Date
Alexandre
d5ebee0b54 Merge pull request #2329 from alexbelgium/codex/fix-issue-with-hassio-addons-#2328
Abort Portainer startup when no Docker socket is present and bump version to 2.37.2
2026-01-02 22:00:16 +01:00
Alexandre
6918ca0130 Downgrade Portainer version to 2.37.0-2 2026-01-02 22:00:02 +01:00
Alexandre
67d5aeedd4 Update version from 2.37.2 to 2.37.0-2 2026-01-02 21:59:41 +01:00
Alexandre
ea8658aa22 Abort Portainer start without Docker socket 2026-01-02 21:58:59 +01:00
github-actions
52eab72dd4 GitHub bot : README updated 2026-01-02 17:03:41 +00:00
4 changed files with 28 additions and 11 deletions

View File

@@ -57,18 +57,18 @@ If you want to do add the repository manually, please follow the procedure highl
### Number of addons
- In the repository : 118
- Installed : 76650
- Installed : 80968
### Top 3
1. Filebrowser (10195x)
2. Portainer (7365x)
3. Myelectricaldata (4201x)
1. Filebrowser (11483x)
2. Portainer (9930x)
3. Myelectricaldata (4238x)
### Architectures used
- amd64: 63%
- aarch64: 37%
- amd64: 61%
- aarch64: 39%
- %%STATS_ARMV7%%
### Stars evolution
@@ -261,7 +261,7 @@ If you want to do add the repository manually, please follow the procedure highl
![amd64][amd64-badge]
![ingress][ingress-badge]
✓ ![image](https://api.iconify.design/mdi/file-search.svg) [Filebrowser (10195x)](filebrowser/) : filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files
✓ ![image](https://api.iconify.design/mdi/file-search.svg) [Filebrowser (11483x)](filebrowser/) : filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files
  ![Version](https://img.shields.io/badge/dynamic/yaml?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Ffilebrowser%2Fconfig.yaml)
![Update](https://img.shields.io/badge/dynamic/json?label=Updated&query=%24.last_update&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Ffilebrowser%2Fupdater.json)
@@ -624,7 +624,7 @@ If you want to do add the repository manually, please follow the procedure highl
![aarch64][aarch64-badge]
![amd64][amd64-badge]
✓ ![image](https://api.iconify.design/mdi/docker.svg) [Portainer (7365x)](portainer/) : Manage your Docker environment with ease
✓ ![image](https://api.iconify.design/mdi/docker.svg) [Portainer (9930x)](portainer/) : Manage your Docker environment with ease
  ![Version](https://img.shields.io/badge/dynamic/yaml?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fportainer%2Fconfig.yaml)
![Update](https://img.shields.io/badge/dynamic/json?label=Updated&query=%24.last_update&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fportainer%2Fupdater.json)
@@ -632,7 +632,7 @@ If you want to do add the repository manually, please follow the procedure highl
![amd64][amd64-badge]
![ingress][ingress-badge]
✓ [Portainer (7365x) Agent](portainer_agent/) : An agent used to manage all the resources in a Swarm cluster
✓ [Portainer (9930x) Agent](portainer_agent/) : An agent used to manage all the resources in a Swarm cluster
  ![Version](https://img.shields.io/badge/dynamic/yaml?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fportainer_agent%2Fconfig.yaml)
![Update](https://img.shields.io/badge/dynamic/json?label=Updated&query=%24.last_update&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fportainer_agent%2Fupdater.json)

View File

@@ -1,4 +1,8 @@
## 2.37.0-2 (02-01-2026)
- Improve Docker socket detection with fallback path logging
- Stop startup when no Docker socket is available
## 2.37.0 (13-12-2025)
- Update to latest version from portainer/portainer (changelog : https://github.com/portainer/portainer/releases)

View File

@@ -42,4 +42,4 @@ schema:
slug: portainer
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2.37.0"
version: 2.37.0-2

View File

@@ -11,7 +11,20 @@ declare -a options
options+=(--data /data)
options+=(--bind 0.0.0.0:9000)
#options+=(--templates /opt/portainer/templates.json)
options+=(--host unix:///var/run/docker.sock)
docker_socket="/var/run/docker.sock"
if [[ ! -S "$docker_socket" ]]; then
fallback_socket="/run/docker.sock"
if [[ -S "$fallback_socket" ]]; then
docker_socket="$fallback_socket"
bashio::log.info "Docker socket not found at /var/run/docker.sock, using /run/docker.sock."
else
bashio::log.error "Docker socket not found at /var/run/docker.sock or /run/docker.sock."
exit 1
fi
fi
options+=(--host "unix://${docker_socket}")
##############
# SSL CONFIG #