copilot-swe-agent[bot]
2f9721e0d7
Fix standalone Docker Compose mode: fallback to bashio-standalone when no Supervisor
...
- ha_entrypoint.sh: probe_script_content now tries regular bashio first,
falls back to bashio-standalone.sh if Supervisor API unreachable
- 00-banner.sh: source bashio-standalone before calling bashio functions
in standalone branch (prevents undefined function errors with set -e)
- 01-custom_script.sh: same probe fix + add bashio-standalone.sh to
fallback source chain
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-25 16:43:19 +00:00
copilot-swe-agent[bot]
31221c5d9e
Add robust shebang detection to 01-custom_script.sh; revert 01-config_yaml.sh
...
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-23 13:16:18 +00:00
copilot-swe-agent[bot]
3f0660f117
Add robust shebang detection to .templates/01-config_yaml.sh
...
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-23 13:10:18 +00:00
Alexandre
7134bd92d7
Reduce max restarts from 10 to 5
2026-02-23 13:59:40 +01:00
copilot-swe-agent[bot]
20c1b75d43
Fix infinite restart loop: break on clean exit, cap crashes at 10
...
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-23 12:55:42 +00:00
copilot-swe-agent[bot]
16d7fbcdf9
Fix service supervision and local variable scoping in ha_entrypoint.sh
...
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-22 19:57:19 +00:00
copilot-swe-agent[bot]
89b4cdebef
Revert CIFS path validation to IP-only per maintainer request
...
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-22 16:58:07 +00:00
copilot-swe-agent[bot]
367410d2b7
Address code review: use mountpoint -q for collision check, tighten NFS regex
...
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-22 16:53:18 +00:00
copilot-swe-agent[bot]
c591203a70
Fix 4 critical issues in SMB/NFS mount script
...
1. Mountpoint name collisions: check if /mnt/$diskname already exists
before mounting and skip with warning if it does
2. test_mount() readonly false positive: verify mountpoint is actually
mounted before reporting readonly status
3. Independent retries: save original MOUNTOPTIONS and use as base for
each noserverino/noperm retry independently
4. Hostname support: accept hostnames (not just IPv4) in CIFS/NFS path
validation, FSTYPE detection, and server extraction
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-22 16:52:23 +00:00
copilot-swe-agent[bot]
367a42230b
Fix SMB 1.0 connection failure in CIFS mount script
...
- Add SMB 1.0 to version ladder in retry_cifs_with_vers_ladder_on_dialect_failure
- Add sec=ntlm to security variants for SMB1 compatibility
- Fix SMBVERS_FORCE override to actually force when SMBv1 detected
- Fix smbclient SMBv1 detection to use credentials instead of anonymous
- Add SMBv1 pattern detection to nmap smb-protocols parsing
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com >
2026-02-22 16:24:38 +00:00
Alexandre
005bd9e17c
Update 00-smb_mounts.sh
2026-02-14 13:34:40 +01:00
Alexandre
a143650e22
Refactor CIFS retry logic with option variants
...
https://github.com/alexbelgium/hassio-addons/discussions/2475#discussioncomment-15802821
2026-02-14 10:25:23 +01:00
Alexandre
879017935f
Update 00-smb_mounts.sh
...
https://github.com/alexbelgium/hassio-addons/discussions/2475
2026-02-13 23:27:57 +01:00
Alexandre
201f357334
Update 00-banner.sh
2026-02-11 14:33:01 +01:00
Alexandre
d1b83356f2
Fix bashio command
2026-02-08 12:56:30 +01:00
Alexandre
4ad9488db8
Apply dns servers only if no vpn option is true
...
https://github.com/alexbelgium/hassio-addons/issues/2449
2026-02-06 10:16:05 +01:00
Alexandre
a5f005e1c6
Suppress smb permissions messages
...
https://github.com/alexbelgium/hassio-addons/issues/2449
2026-02-06 10:06:41 +01:00
Alexandre
10eb50d5b5
Update 00-smb_mounts.sh
2026-02-05 21:16:19 +01:00
Alexandre
46d1df2b59
Update mount error handling to warning for read-only
...
Change error handling for read-only mounts to a warning.
2026-02-04 22:34:39 +01:00
Alexandre
bbbeecd174
Fix shebang validation and error handling
2026-02-04 21:37:56 +01:00
Alexandre
06ec2f7710
Suppress intermediate messages
2026-02-04 20:23:37 +01:00
Alexandre
3f10b4323b
Refactor SMB mount script for improved robustness
2026-02-02 22:04:45 +01:00
Alexandre
59bcf140bc
Refactor CIFS mounting logic and improve disk parsing
...
Removed redundant retry function for CIFS mounting and improved error handling by simplifying options. Enhanced disk list parsing to handle commas and trailing characters more robustly.
2026-02-02 21:58:52 +01:00
Alexandre
4d907d27ce
Improve MOREDISKS data cleaning logic
...
Refactor MOREDISKS cleaning process using sed for better handling of spaces and commas.
2026-02-02 17:18:10 +01:00
Alexandre
bc578080df
Update 00-smb_mounts.sh
2026-02-02 13:41:21 +01:00
Alexandre
3fd716bce3
Refactor mount testing logic for improved clarity
2026-02-02 11:58:08 +01:00
Alexandre
ecab5c2525
Update 00-smb_mounts.sh
2026-02-01 18:26:01 +01:00
Alexandre
63e3473f59
Update ha_entrypoint.sh
2026-02-01 07:45:24 +01:00
Alexandre
4574b39652
Update ha_entrypoint.sh
2026-01-31 13:22:44 +01:00
Alexandre
47fc48a3a6
Run docker mods before starting services
2026-01-31 13:20:15 +01:00
Alexandre
a0c2feea8f
Update ha_automatic_packages.sh
2026-01-31 07:29:07 +01:00
Alexandre
bda09111d5
Integrate bashio-standalone.sh into startup script
...
Add sourcing of bashio-standalone.sh and update scripts.
2026-01-30 13:17:16 +01:00
Alexandre
a0c574524c
Remove standalone mode handling in ha_entrypoint.sh
...
Removed standalone mode check for bashio commands.
2026-01-30 13:06:49 +01:00
Alexandre
d88283dc83
Update bashio-standalone.sh
2026-01-30 10:25:01 +01:00
Alexandre
c8e8d3c16e
Clean
2026-01-30 09:11:12 +01:00
Alexandre
3a9bfb4884
Update ha_entrypoint.sh
2026-01-30 09:09:05 +01:00
Alexandre
b80282a229
Update ha_automatic_packages.sh
2026-01-29 13:24:55 +01:00
Alexandre
aa987e1ede
update standalone
2026-01-29 11:32:18 +01:00
Alexandre
25fa68f7a9
Update ha_automatic_packages.sh
2026-01-29 11:27:45 +01:00
Alexandre
7da8699791
Fix bashio installation script and symlink creation
2026-01-29 11:19:04 +01:00
Alexandre
221ca71a31
Fix bashio router template name
2026-01-29 11:11:30 +01:00
Alexandre
f43020d85b
Accept standalone bashio
2026-01-29 11:06:24 +01:00
Alexandre
cef295859c
Update ha_automatic_packages.sh
2026-01-21 14:27:36 +01:00
Alexandre
8aefca0c7b
Update ha_automatic_packages.sh
2026-01-18 07:55:46 +01:00
Alexandre
4983ec3475
Refactor SMB/NFS mounting script for clarity and logging
...
Refactor error handling and improve logging for SMB/NFS mounting script. Adjust shellcheck directives and streamline code structure.
2026-01-18 07:51:21 +01:00
Alexandre
8ddf0df0ce
Update ha_entrypoint.sh
2026-01-16 10:29:37 +01:00
Alexandre
0dd56244ac
Refactor secret resolution and environment variable handling
2026-01-15 08:48:55 +01:00
Alexandre
8965dcbea8
Refactor global variable script for clarity
...
Refactor script for better readability and maintainability. Update logging messages and streamline environment variable handling.
2026-01-15 08:34:54 +01:00
Alexandre
92277d5b1c
Remove log notice for environment variable export
...
Removed notice log about exporting custom environment variables.
2026-01-14 13:52:09 +01:00
Alexandre
a92674cb4d
Enhance global_var.sh with improved logging and injection
...
Updated logging messages and improved script structure for clarity. Added support for injecting environment variables into bash configuration files.
2026-01-14 13:51:27 +01:00