Home Information - Your home, your data, organized.
Python
Improve network access troubleshooting docs and sync unRAID config
Anthony Cassandraf8ffdafaff85
diff --git a/docs/Installation.md b/docs/Installation.mdindex b5dd026a..87ceb6e0 100644--- a/docs/Installation.md+++ b/docs/Installation.md@@ -218,9 +218,17 @@ With your installation running, see the [Getting Started Guide](GettingStarted.m### Common Issues-**Can't access from other devices?**-- Add your network URLs to `HI_EXTRA_HOST_URLS` in `$HOME/.hi/env/local.env`-- Restart with `make docker-stop && make docker-run`+**Can't access from other devices on your network?**++By default, the app only accepts requests to `localhost`. To access it from other devices (including by IP address), you need to tell the app which URLs are allowed:++- Set `HI_EXTRA_HOST_URLS` to the URL(s) you'll use to access the app, including the scheme and port+- Example: `HI_EXTRA_HOST_URLS="http://192.168.1.100:9411"` (use your server's actual IP)+- Multiple URLs can be space-separated: `HI_EXTRA_HOST_URLS="http://192.168.1.100:9411 http://myserver.local:9411"`+- For standalone Docker: edit `$HOME/.hi/env/local.env` and restart with `make docker-stop && make docker-run`+- For unRAID: set the "Extra Host URLs" field under "Show more settings"++If you see `Invalid HTTP_HOST header` errors in the logs, this is the setting you need.**Email alerts not working?**Configure email settings in `$HOME/.hi/env/local.env`:diff --git a/unraid/home-information.xml b/unraid/home-information.xmlindex 03ecf99a..a12477ab 100644--- a/unraid/home-information.xml+++ b/unraid/home-information.xml@@ -37,7 +37,7 @@ Perfect for homeowners who want to stay organized and maintain their property ef<Config Name="Redis Host" Target="HI_REDIS_HOST" Default="127.0.0.1" Mode="" Description="Redis hostname (use 127.0.0.1 for internal Redis)" Type="Variable" Display="advanced" Required="false" Mask="false"></Config><Config Name="Redis Port" Target="HI_REDIS_PORT" Default="6379" Mode="" Description="Redis port" Type="Variable" Display="advanced" Required="false" Mask="false"></Config><Config Name="Redis Key Prefix" Target="HI_REDIS_KEY_PREFIX" Default="" Mode="" Description="Prefix for Redis keys (leave empty unless running multiple instances)" Type="Variable" Display="advanced" Required="false" Mask="false"/>- <Config Name="Extra Host URLs" Target="HI_EXTRA_HOST_URLS" Default="" Mode="" Description="Additional URLs for network access (e.g., http://192.168.1.100:9411 http://nas.local:9411)" Type="Variable" Display="advanced" Required="false" Mask="false"/>+ <Config Name="Extra Host URLs" Target="HI_EXTRA_HOST_URLS" Default="" Mode="" Description="Additional URLs (ALLOWED_HOSTS) for network access (e.g., http://192.168.1.100:9411 http://nas.local:9411)" Type="Variable" Display="advanced" Required="false" Mask="false"/><Config Name="Extra CSP URLs" Target="HI_EXTRA_CSP_URLS" Default="" Mode="" Description="Additional URLs for Content Security Policy (usually same as Extra Host URLs)" Type="Variable" Display="advanced" Required="false" Mask="false"/><Config Name="Email Subject Prefix" Target="HI_EMAIL_SUBJECT_PREFIX" Default="" Mode="" Description="Prefix for email subjects (e.g., [Home Info])" Type="Variable" Display="advanced" Required="false" Mask="false"/><Config Name="Default From Email" Target="HI_DEFAULT_FROM_EMAIL" Default="" Mode="" Description="Default sender email address" Type="Variable" Display="advanced" Required="false" Mask="false"/>