Compare commits

...

23 Commits

Author SHA1 Message Date
github-actions
560e1a105f GitHub bot: changelog 2026-01-11 09:06:34 +00:00
Alexandre
ee44f1b872 nobuild 2026-01-11 10:05:38 +01:00
Alexandre
ad33686402 Update config.yaml 2026-01-11 10:04:22 +01:00
Alexandre
6b262c085c Update config.yaml 2026-01-11 09:51:33 +01:00
Alexandre
f51529f322 Update initialization scripts to use with-contenv
Replace '/usr/bin/env' with '/usr/bin/with-contenv' in initialization scripts.
2026-01-11 09:51:24 +01:00
github-actions
40a5c0dd21 GitHub bot: changelog 2026-01-11 08:49:12 +00:00
Alexandre
1275197caa Fix https://github.com/alexbelgium/hassio-addons/issues/2357
https://github.com/alexbelgium/hassio-addons/issues/2357
2026-01-11 09:47:45 +01:00
Alexandre
1cf03dd6cf nobuild 2026-01-11 09:46:56 +01:00
Alexandre
8e3b3787af Update config.yaml 2026-01-11 09:45:37 +01:00
Alexandre
fd8d040165 Update 00-folders.sh 2026-01-11 09:45:12 +01:00
Alexandre
59ca5254c2 Add branch configuration to config.yaml nobuild 2026-01-11 09:37:05 +01:00
Alexandre
d331f552da Update CONFIGLOCATION and PACKAGES in Dockerfile 2026-01-11 09:36:53 +01:00
github-actions
2cb46de892 GitHub bot: changelog 2026-01-11 07:53:01 +00:00
Alexandre
75775524da Update version in config.yaml from v2-2 to v2-3 2026-01-11 08:50:49 +01:00
Alexandre
307330683d Merge pull request #2356 from alexbelgium/codex/define-home-in-global-and-config-templates
Ensure HOME exists before writing user shell files and guard HOME usage
2026-01-11 08:50:17 +01:00
Alexandre
3d604d4809 Ensure HOME directory exists before export 2026-01-11 08:49:57 +01:00
Alexandre
96c1ceb41b Set ENTRYPOINT and CMD in Dockerfile 2026-01-11 08:44:32 +01:00
Alexandre
4e16f8da5c Merge pull request #2355 from alexbelgium/codex/review-organizr-addon-code-and-logic
Organizr: honor configured PUID/PGID for /data and set version to v2-2
2026-01-11 08:30:06 +01:00
Alexandre
bf6be70610 Adjust organizr version to v2-2 2026-01-11 08:29:47 +01:00
github-actions
6014220e82 GitHub bot: changelog 2026-01-11 06:41:56 +00:00
Alexandre
81143a561e Update PGID, PUID, and version in config.yaml 2026-01-11 07:39:42 +01:00
Alexandre
9ac5e99225 Simplify folder creation logic in 00-folders.sh 2026-01-11 07:38:18 +01:00
github-actions[bot]
3a9e612217 Update stargazer map & cache 2026-01-11 01:12:37 +00:00
10 changed files with 64 additions and 15 deletions

View File

@@ -2,6 +2,7 @@ username,country
0ln,
0xf3f,
1333481,United Kingdom
13r1ckz,Netherlands
13shaneo,
1aranzant,Belgium
245123,
@@ -240,6 +241,7 @@ GrumpyMeow,
Guddie01,
GuiltyFox,Japan
Gulz21,
Guruleenyc,
GyHUN95,Hungary
HACS-bank,United Kingdom
HASSPROJ,
@@ -698,6 +700,7 @@ Ziron,Sweden
Zocker1012,
Zuz666,
aLTeReGo-SWI,
aabdelhakim2,
aadfPT,
aaronntw,
abc14514,
@@ -932,6 +935,7 @@ cecilchurms,
celynw,United Kingdom
ch4d1,Germany
charithmadhuranga,Sri Lanka
charl3y15,United States
charlestephen,United States
chbmuc,
chen-ye,United States
@@ -1003,6 +1007,7 @@ cyberjohn60,
cyda,Denmark
cyiooi,
cyrinux,United States
d1erro,
d4rwin,
dadge,
dadler,United States
@@ -1111,6 +1116,7 @@ dutzi88,
duydo,Viet Nam
dwainegallimore,United Kingdom
dwinkler1,Australia
dxa-zz,
dykandDK,
dylankrish,United States
dzidza,
@@ -1356,6 +1362,7 @@ itsRealMarshall,
ivaschru,
ivonulens,
ivuorinen,Finland
j0hnhurl3y,Canada
j0nl1,United States
jTd7bPLFb,
jabastien,United States
@@ -1437,6 +1444,7 @@ jordanwalk193,
jorgoncalves,Portugal
jorkdekok,
josh-green,United Kingdom
joshcliffejones,United Kingdom
joshmeads,Canada
josiah-eichelman,
jpaulomt,
@@ -1562,6 +1570,7 @@ lt-laser,
luca-mancini,Czechia
luccajan,
lucidiousgibs,
luckylinux,
lujia-gospel,
lukasMega,Slovakia
lukescarr,Australia
@@ -1846,6 +1855,7 @@ pjolivon,
pjosalgado,Brazil
pkawalec91,
pkejval,Czechia
placidlyUnsalted,
pldmgg,United States
pleaseproject,Canada
pmazz,Italy
@@ -2118,10 +2128,12 @@ thalesgmartins,Brazil
tharple,
thatsthat,Spain
the-MetalBox,
the5evansfamily,
theg1nger,
theoneandonly-zh,
therinz,
thesnake210,
thetestgame,United States
thetitox,
thewolfman56,
thibaultmol,Belgium
1 username country
2 0ln
3 0xf3f
4 1333481 United Kingdom
5 13r1ckz Netherlands
6 13shaneo
7 1aranzant Belgium
8 245123
241 Guddie01
242 GuiltyFox Japan
243 Gulz21
244 Guruleenyc
245 GyHUN95 Hungary
246 HACS-bank United Kingdom
247 HASSPROJ
700 Zocker1012
701 Zuz666
702 aLTeReGo-SWI
703 aabdelhakim2
704 aadfPT
705 aaronntw
706 abc14514
935 celynw United Kingdom
936 ch4d1 Germany
937 charithmadhuranga Sri Lanka
938 charl3y15 United States
939 charlestephen United States
940 chbmuc
941 chen-ye United States
1007 cyda Denmark
1008 cyiooi
1009 cyrinux United States
1010 d1erro
1011 d4rwin
1012 dadge
1013 dadler United States
1116 duydo Viet Nam
1117 dwainegallimore United Kingdom
1118 dwinkler1 Australia
1119 dxa-zz
1120 dykandDK
1121 dylankrish United States
1122 dzidza
1362 ivaschru
1363 ivonulens
1364 ivuorinen Finland
1365 j0hnhurl3y Canada
1366 j0nl1 United States
1367 jTd7bPLFb
1368 jabastien United States
1444 jorgoncalves Portugal
1445 jorkdekok
1446 josh-green United Kingdom
1447 joshcliffejones United Kingdom
1448 joshmeads Canada
1449 josiah-eichelman
1450 jpaulomt
1570 luca-mancini Czechia
1571 luccajan
1572 lucidiousgibs
1573 luckylinux
1574 lujia-gospel
1575 lukasMega Slovakia
1576 lukescarr Australia
1855 pjosalgado Brazil
1856 pkawalec91
1857 pkejval Czechia
1858 placidlyUnsalted
1859 pldmgg United States
1860 pleaseproject Canada
1861 pmazz Italy
2128 tharple
2129 thatsthat Spain
2130 the-MetalBox
2131 the5evansfamily
2132 theg1nger
2133 theoneandonly-zh
2134 therinz
2135 thesnake210
2136 thetestgame United States
2137 thetitox
2138 thewolfman56
2139 thibaultmol Belgium

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 331 KiB

View File

@@ -301,11 +301,14 @@ done
update_scripts_with_block
# --- MINIMAL CHANGE: also inject into /etc/bash.bashrc (for interactive bash shells)
mkdir -p /etc "$HOME"
mkdir -p /etc
touch "/etc/bash.bashrc"
touch "$HOME/bash.bashrc"
inject_block_into_file "/etc/bash.bashrc"
inject_block_into_file "$HOME/bash.bashrc"
if [[ -n "${HOME:-}" ]]; then
mkdir -p "$HOME"
touch "$HOME/bash.bashrc"
inject_block_into_file "$HOME/bash.bashrc"
fi
################
# Set timezone #

View File

@@ -205,7 +205,10 @@ while IFS= read -r line; do
if [ -d /var/run/s6/container_environment ]; then printf "%s" "${VALUE}" > /var/run/s6/container_environment/"${KEYS}"; fi
# Persist for interactive shells
append_unique_line "$HOME/.bashrc" "export $line"
if [[ -n "${HOME:-}" ]]; then
mkdir -p "$HOME"
append_unique_line "$HOME/.bashrc" "export $line"
fi
append_unique_line "/etc/bash.bashrc" "export $line"
# Show in log

View File

@@ -1,3 +1,5 @@
## 25.11.29-7 (11-01-2026)
- Minor bugs fixed
## 25.10.1-2 (2026-01-06)
- Minor bugs fixed
## 25.5.24 (2025-12-01)

View File

@@ -51,4 +51,4 @@ slug: netalertx_fa
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 25.10.1-7
version: 25.11.29-7

View File

@@ -1,3 +1,12 @@
## v2-4 (11-01-2026)
- Minor bugs fixed
## v2-3 (11-01-2026)
- Minor bugs fixed
## v2-2 (18-03-2026)
- Ensure folder permissions use configured PUID/PGID values
## v2 (11-01-2026)
- Minor bugs fixed
## 1.601 (2025-12-27)
- Update to latest version from causefx/organizr (changelog : https://github.com/causefx/organizr/releases)

View File

@@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# Global LSIO modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
ARG CONFIGLOCATION="/data/organizr"
ARG CONFIGLOCATION="/config"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
##################
@@ -51,8 +51,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh
# Manual apps
ENV PACKAGES="curl \
jq"
ENV PACKAGES="curl jq"
# Automatic apps & bashio
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh"
@@ -74,6 +73,11 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
RUN chmod 777 /.bashio-standalone.sh
RUN sed -i "s|/usr/bin/env|/usr/bin/with-contenv|g" /etc/cont-init.d/*
#ENTRYPOINT [ "/usr/bin/env" ]
#CMD [ "/ha_entrypoint.sh" ]
############
# 5 Labels #
############

View File

@@ -66,13 +66,14 @@ devices:
- /dev/nvme2
image: ghcr.io/alexbelgium/organizr-{arch}
map:
- config:rw
- addon_config:rw:rw
- ssl
name: Organizr
options:
env_vars: []
PGID: "0"
PUID: "0"
branch: "v2-master"
PGID: "1000"
PUID: "1000"
ports:
80/tcp: 88
ports_description:
@@ -81,10 +82,11 @@ schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
branch: list(v2-master|v2-develop)
PGID: int
PUID: int
slug: organizr
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "1.90-bugfix2"
version: "v2-4"
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"

View File

@@ -2,8 +2,22 @@
# shellcheck shell=bash
set -e
if [ ! -d /data/organizr ]; then
echo "Creating /data/organizr"
mkdir -p /data/organizr
PUID="$(bashio::config 'PUID' || echo 1000)"
PGID="$(bashio::config 'PGID' || echo 1000)"
echo "Creating /data/organizr"
mkdir -p /data/organizr
chown "$PUID:$PGID" /data/organizr
# Only act if the symlink target does not exist
if [[ ! -f /data/organizr/www/organizr/api/data/organizr/default.php ]]; then
echo "Fix issues in upstream"
mkdir -p /data/organizr/www/organizr/api/data/organizr
if [[ -f /data/organizr/www/organizr/api/config/default.php ]]; then
ln -sf /data/organizr/www/organizr/api/config/default.php /data/organizr/www/organizr/api/data/organizr/default.php
else
echo "WARNING: /data/organizr/www/organizr/api/config/default.php does not exist, cannot create symlink"
fi
chown -R "$PUID:$PGID" /data/organizr
fi