Compare commits

...

10 Commits

Author SHA1 Message Date
github-actions
dcc1b87bbb GitHub bot: changelog 2026-02-26 10:29:08 +00:00
Alexandre
cec6536040 Update config.yaml 2026-02-26 11:22:43 +01:00
Alexandre
a825d12838 Merge pull request #2537 from alexbelgium/copilot/fix-44178713-320811167-8f67515d-5c24-4b6b-ae55-ae696c06ce42
Add --skip-ssl to mysql commands in MonicaCRM addon
2026-02-26 11:22:05 +01:00
copilot-swe-agent[bot]
822fcaa43f Add --skip-ssl flag to mysql commands in MonicaCRM to fix MariaDB connection error
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-26 10:16:47 +00:00
copilot-swe-agent[bot]
08c8ed87c0 Initial plan 2026-02-26 10:14:39 +00:00
github-actions
13cb2b3a12 GitHub bot: changelog 2026-02-26 09:46:31 +00:00
Alexandre
ee21e500a9 Update version to 2.22.1-2 in config.yaml 2026-02-26 10:39:17 +01:00
Alexandre
e9f2626c9a Merge pull request #2536 from alexbelgium/copilot/fix-hang-on-boot
Fix SignalK hang on boot: replace usermod/groupmod with sed
2026-02-26 10:38:49 +01:00
copilot-swe-agent[bot]
d328a0ea41 Fix SignalK hang on boot: replace usermod/groupmod with sed
Replace `usermod -o -u 0 node` and `groupmod -o -g 0 node` with direct
sed modifications to /etc/passwd and /etc/group. The usermod/groupmod
commands can hang indefinitely in container environments due to lock
file contention, NSS cache daemon (nscd) interactions, or PAM module
issues. The sed approach achieves the same result without these risks.

Fixes #XXXX

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-26 07:35:50 +00:00
copilot-swe-agent[bot]
9b41653fa0 Initial plan 2026-02-26 07:28:38 +00:00
6 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
## 5.0.0b5-2 (26-02-2026)
- Minor bugs fixed
## 5.0.0b5 (2025-12-27)
- Update to latest version from monicahq/monica (changelog : https://github.com/monicahq/monica/releases)

View File

@@ -108,5 +108,5 @@ services:
- mysql:want
slug: monica
url: https://github.com/alexbelgium/hassio-addons/tree/master/monica
version: "5.0.0b5"
version: "5.0.0b5-2"
webui: "[PROTO:ssl]://[HOST]:[PORT:80]"

View File

@@ -62,7 +62,7 @@ case "$database" in
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"
# Create database
mysql --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
mysql --skip-ssl --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
;;
@@ -86,7 +86,7 @@ case "$database" in
fi
# Create database
mysql --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
mysql --skip-ssl --host="$DB_HOST" --port="$DB_PORT" --user="$DB_USERNAME" --password="$DB_PASSWORD" -e"CREATE DATABASE IF NOT EXISTS $DB_DATABASE;"
;;

View File

@@ -1,3 +1,5 @@
## 2.22.1-2 (26-02-2026)
- Minor bugs fixed
## 2.22.1 (2026-02-21)
- Update to latest version from SignalK/signalk-server (changelog : https://github.com/SignalK/signalk-server/releases)

View File

@@ -57,5 +57,5 @@ uart: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
usb: true
version: "2.22.1"
version: "2.22.1-2"
webui: http://[HOST]:[PORT:3000]

View File

@@ -15,9 +15,11 @@ ln -sf /config "/home/node/.signalk"
chown -R "$USER:$USER" /config
# Set permissions
# Use sed instead of usermod/groupmod to avoid hangs in container environments
# (usermod can block indefinitely due to lock contention, NSS, or PAM issues)
echo "... setting permissions for node user"
usermod -o -u 0 node
groupmod -o -g 0 node
sed -i 's/^\(node:[^:]*:\)[0-9]*:[0-9]*/\10:0/' /etc/passwd
sed -i 's/^\(node:[^:]*:\)[0-9]*/\10/' /etc/group
# Ensure 600 for SSL files
echo "... specifying security files permissions"