Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions install/chirpstack-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ msg_ok "Installed ChirpStack"

msg_info "Configuring ChirpStack"
sed -i "s|^\(\s*dsn = \).*|\1\"postgres://chirpstack:${PG_DB_PASS}@localhost/chirpstack?sslmode=disable\"|" /etc/chirpstack/chirpstack.toml
if ! grep -Eq "^[[:space:]]*\"${var_region,,}\"[[:space:]]*,?[[:space:]]*$" /etc/chirpstack/chirpstack.toml; then
sed -i "/^[[:space:]]*enabled_regions = \\[$/a\\ \"${var_region,,}\"," /etc/chirpstack/chirpstack.toml
fi
sed -i -E "s#^(\s*(event|command)_topic_template\s*=\s*\")#\1${var_region,,}/#" /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
mkdir -p /etc/systemd/system/chirpstack.service.d
cat <<EOF >/etc/systemd/system/chirpstack.service.d/override.conf
Expand Down
4 changes: 2 additions & 2 deletions json/chirpstack.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"documentation": "https://www.chirpstack.io/docs/",
"website": "https://www.chirpstack.io/",
"repository": "https://github.com/chirpstack/chirpstack",
"logo": "https://raw.githubusercontent.com/chirpstack/chirpstack-docs/refs/heads/master/theme/favicon.svg",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/chirpstack.webp",
"description": "ChirpStack is an open-source LoRaWAN Network Server. It manages gateways, devices and applications, handles device activation and the LoRaWAN MAC layer, and forwards uplink data to MQTT, HTTP and many other integrations.",
"install_methods": [
{
Expand Down Expand Up @@ -47,7 +47,7 @@
"type": "warning"
},
{
"text": "The install asks for the gateway region ID (e.g. eu868, us915_0); unattended installs must set var_region. It must be listed in enabled_regions in /etc/chirpstack/chirpstack.toml.",
"text": "The install asks for the gateway region ID (e.g. eu868, us915_0); unattended installs must set var_region. It must be listed in here: https://github.com/chirpstack/chirpstack/tree/master/chirpstack/configuration.",
"type": "info"
}
]
Expand Down
Loading