Compare commits

...

16 Commits

Author SHA1 Message Date
GitHub Actions
e73136fe54 Revert 'Update version to 25.10.1-3 in config.yaml' [nobuild] 2025-11-29 19:16:39 +00:00
Alexandre
7c40cb54c6 Update version to 25.10.1-3 in config.yaml 2025-11-29 20:14:48 +01:00
Alexandre
dc78cfcd2d Update Dockerfile 2025-11-29 20:14:34 +01:00
github-actions
41560938fd GitHub bot: changelog 2025-11-29 19:13:21 +00:00
GitHub Actions
4a57d8cf7b Revert 'Update version to 25.10.1-3 in config.yaml' [nobuild] 2025-11-29 19:13:08 +00:00
Alexandre
53d22602b2 Update version to 25.10.1-3 in config.yaml 2025-11-29 20:11:43 +01:00
Alexandre
999bc045dc Update version to 25.10.1-3 in config.yaml 2025-11-29 20:11:13 +01:00
Alexandre
94472052e9 Merge pull request #2244 from alexbelgium/codex/modify-netalertx-add-on-for-tmpfs
Clarify migration preserves existing config data
2025-11-29 20:04:17 +01:00
Alexandre
b14b7d15bb Update version and add tmpfs option in config.yaml 2025-11-29 20:04:04 +01:00
Alexandre
a05bf40be2 Update configuration file path in README 2025-11-29 20:03:28 +01:00
Alexandre
24fccf5183 Update CHANGELOG.md 2025-11-29 20:02:44 +01:00
Alexandre
1d47e86277 Update 99-run.sh 2025-11-29 20:00:52 +01:00
Alexandre
007ab63fb6 Change symlink target directory from /config to /data 2025-11-29 19:56:51 +01:00
Alexandre
a3bd29b316 Update 99-run.sh 2025-11-29 19:56:22 +01:00
Alexandre
277ad61267 Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-29 19:53:05 +01:00
Alexandre
14fa5e08c3 Clarify migration preserves existing config data 2025-11-29 19:48:58 +01:00
8 changed files with 28 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
- Breaking change: data directories now use /data symlinks to /config; back up your installation before updating. Migration is supported only from version v25.5.24.
- Added tmpfs support for temporary storage.
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
## 25.10.1 (04-10-2025)

View File

@@ -39,6 +39,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
# Add rootfs
COPY rootfs/ /
USER root
# Uses /bin for compatibility purposes
# hadolint ignore=DL4005
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \

View File

@@ -49,7 +49,7 @@ comparison to installing any other Hass.io add-on.
## Configuration
1. If unavailable, the app generates a default `app.conf` and `app.db` file on the first run.
1. The preferred way is to manage the configuration via the Settings section in the UI, if UI is inaccessible you can modify `app.conf` in the `/app/config/` folder directly.
1. The preferred way is to manage the configuration via the Settings section in the UI, if UI is inaccessible you can modify `app.conf` in the `/config/config/` folder directly.
1. You have to specify which network(s) should be scanned. This is done by entering subnets that are accessible from the host. If you use the default `ARPSCAN` plugin, you have to specify at least one valid subnet and interface in the `SCAN_SUBNETS` setting. See the [documentation on How to set up multiple SUBNETS, VLANs and what are limitations](https://github.com/jokob-sk/NetAlertX/blob/main/docs/SUBNETS.md) and for troubleshooting and more advanced scenarios.
1. Read how to get devices into your [Home Assistant instance via the MQTT plugin](https://github.com/jokob-sk/NetAlertX/blob/main/docs/HOME_ASSISTANT.md)
1. Back everything up by following the [Backups documentation](https://github.com/jokob-sk/NetAlertX/blob/main/docs/BACKUPS.md).

View File

@@ -43,6 +43,7 @@ schema:
services:
- mqtt:want
slug: netalertx
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 25.10.1
version: 25.10.1-2

View File

@@ -12,13 +12,22 @@ bashio::log.info "Update structure"
echo "Creating symlinks"
for folder in config db; do
echo "Creating for $folder"
# Create symlinks
mkdir -p /config/"$folder"
if [ -d /app/"$folder" ] && [ "$(ls -A /app/"$folder")" ]; then
cp -rn /app/"$folder"/* /config/"$folder"/
fi
rm -r /app/"$folder"
ln -sf /config/"$folder" /app/"$folder"
target="/config/${folder}"
mkdir -p "$target"
# Migrate existing data from previous locations while avoiding self-copies
for legacy_path in "/app/${folder}" "/data/${folder}"; do
if [ -d "$legacy_path" ]; then
legacy_target="$(readlink -f "$legacy_path" || true)"
if [ "$legacy_target" != "$target" ] && [ "$(ls -A "$legacy_path")" ]; then
# -n prevents clobbering anything already present in /config
cp -rn "$legacy_path"/. "$target"/
fi
fi
done
rm -rf /data/"$folder"
ln -sf "$target" /data/"$folder"
done
sudo chown -R nginx:www-data /config/db/

View File

@@ -1,8 +1,8 @@
{
"last_update": "04-10-2025",
"last_update": "29-11-2025",
"repository": "alexbelgium/hassio-addons",
"slug": "netalertx",
"source": "github",
"upstream_repo": "jokob-sk/NetAlertX",
"upstream_version": "25.10.1"
"upstream_version": "25.10.1-2"
}

View File

@@ -1,3 +1,4 @@
## 25.10.1-3 (29-11-2025)
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.

View File

@@ -44,6 +44,7 @@ schema:
services:
- mqtt:want
slug: netalertx_fa
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 25.10.1
version: 25.10.1-3