Skip to content

Commit 9d9b462

Browse files
openhabianopenhabian
authored andcommitted
Merge remote-tracking branch 'upstream/main'
2 parents 7eb3493 + c58dd24 commit 9d9b462

13 files changed

Lines changed: 32 additions & 35 deletions

.github/workflows/bats-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ jobs:
5151
run: sudo -E ./tests/ci-setup.bash github
5252
- name: Set up Docker Buildx
5353
id: buildx
54-
uses: docker/setup-buildx-action@v3.12.0
54+
uses: docker/setup-buildx-action@v4.1.0
5555
with:
5656
driver-opts: network=host
5757
- name: Build Docker image
58-
uses: docker/build-push-action@v6.19.2
58+
uses: docker/build-push-action@v7.2.0
5959
with:
6060
context: .
6161
file: ${{ matrix.dockerfile }}

.github/workflows/build-action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Create release template
8888
if: ${{ success() && github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
89-
uses: "softprops/action-gh-release@v2"
89+
uses: "softprops/action-gh-release@v3"
9090
env:
9191
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9292
with:

.github/workflows/installation-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ jobs:
7474
sed -i 's|^java_opt=.*$|java_opt='"${{ matrix.java_opt }}"'|' build-image/openhabian.conf
7575
- name: Set up Docker Buildx
7676
id: buildx
77-
uses: docker/setup-buildx-action@v3.12.0
77+
uses: docker/setup-buildx-action@v4.1.0
7878
with:
7979
driver-opts: network=host
8080
- name: Build Docker image
81-
uses: docker/build-push-action@v6.19.2
81+
uses: docker/build-push-action@v7.2.0
8282
with:
8383
context: .
8484
file: ${{ matrix.dockerfile }}

docs/openhabian-backup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ root@pi:/home/pi#
178178
root@pi:/home/pi# mkdir -p /storage/server
179179
root@pi:/home/pi# echo "192.168.1.100://share/freespace /storage/server nfs nolock,noatime 0 0" >> /etc/fstab
180180
root@pi:/home/pi# mount /storage/server
181-
root@pi:/home/pi# df -k /server
181+
root@pi:/home/pi# df -k /storage/server
182182
Filesystem 1K-blocks Used Available Use% Mounted on
183183
192.168.1.100://share/freespace 2882740768 2502091488 380649280 87% /storage/server
184184
root@pi:/home/pi#

docs/openhabian-exim.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
layout: documentation
3+
title: openHABian Mail Configuration
4+
source: https://github.com/openhab/openhabian/blob/main/docs/openhabian-exim.md
5+
---
6+
17
## Mail Transfer Agent configuration
28

39
When you choose the "Mail Transfer Agent" install option in `openhabian-config` menu to install `exim4` as the mail transfer agent on your system, you will be presented with a number of questions on how to relay emails through a public service such as Google gmail.

docs/openhabian.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ We try to setup everything for you so that you don't have to do any additional c
211211
- **Language**: By default we set the `locale` setting to `en_US.UTF8` as this tends to be the best for error messages, it can be changed using menu option 32.
212212
- **Passwords**: You should change the default password using menu option 34.
213213

214+
NOTE: You should have been configuring timezone and locale at installation time via `openhabian.conf` settings.
215+
216+
214217
##### Default Passwords
215218

216219
For reference, the default username and passwords are as follows:
@@ -255,6 +258,9 @@ The ESPHome configuration files are secured by the openHABbian backup function.
255258

256259
Many settings are configurable prior to the first boot of openHABian by changing the key value pairs in the `/boot/openhabian.conf` file on the SD card once you have flashed the initial image onto it.
257260

261+
Most notably you should be setting the timezone and locale this way if yours differ from the defaults.
262+
Also make sure to read the [Networking] section and eventually preconfigure your Wi-Fi setup before you boot for the first time.
263+
258264
Please note that - in case you use a Windows system for writing the SD card - the `/boot/` partition will be mounted to a drive named `bootfs`. So, e.g. if this drive has the letter `D:`, `/boot/openhabian.conf` will be found as `D:\openhabian.conf`.
259265

260266
The openHABian configuration file uses key value pairs, essentially a list of `option=value` settings in a plain text file.

functions/auth.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ change_password() {
9292
fi
9393
if [[ $chosenAccounts == *"Grafana"* ]]; then
9494
echo -n "$(timestamp) [openHABian] Changing password for Grafana admininistration account \"admin\"... "
95-
if grafana-cli admin reset-admin-password --homepath "/usr/share/grafana" --config "/etc/grafana/grafana.ini" "$pass"; then echo "OK"; else echo "FAILED"; return 1; fi
95+
if grafana cli admin reset-admin-password --homepath "/usr/share/grafana" --config "/etc/grafana/grafana.ini" "$pass"; then echo "OK"; else echo "FAILED"; return 1; fi
9696
fi
9797

9898
if [[ -n $INTERACTIVE ]]; then

functions/backup.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ amanda_install() {
111111

112112
if ! amanda_is_installed; then
113113
echo -n "$(timestamp) [openHABian] Installing Amanda backup system... "
114-
if cond_redirect apt-get install --yes -o DPkg::Lock::Timeout="$APTTIMEOUT" amanda-common amanda-server amanda-client; then echo "OK"; else echo "FAILED"; return 1; fi
114+
if cond_redirect apt-get install --yes -o DPkg::Lock::Timeout="$APTTIMEOUT" amanda-common amanda-server amanda-client nfs-common; then echo "OK"; else echo "FAILED"; return 1; fi
115115
fi
116116
if ! dpkg -s 'exim4' &> /dev/null; then
117117
if ! exim_setup; then return 1; fi

functions/influxdb+grafana.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ grafana_install(){
269269
# Password reset required if Grafana password was already set before (not first-time install)
270270
cond_echo "\\nResetting Grafana admin password... "
271271
if ! cond_redirect chsh --shell /bin/bash "grafana"; then echo "FAILED (chsh grafana)"; return 1; fi
272-
if ! cond_redirect grafana-cli admin reset-admin-password "${adminPassword}"; then echo "FAILED (admin password)"; return 1; fi
272+
if ! cond_redirect grafana cli admin reset-admin-password "${adminPassword}"; then echo "FAILED (admin password)"; return 1; fi
273273

274274
cond_echo "\\nUpdating Grafana configuration... "
275275
if ! cond_redirect sed -i -e '/^# disable user signup \/ registration/ { n ; s/^;allow_sign_up = true/allow_sign_up = false/ }' /etc/grafana/grafana.ini; then echo "FAILED (no user signup)"; return 1; fi

functions/openhab.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ openhab_setup() {
112112
fi
113113

114114
# shellcheck disable=SC2086
115-
if cond_redirect apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout="$APTTIMEOUT" --option Dpkg::Options::="--force-confnew" $installVersion; then echo "OK"; else echo "FAILED"; return 1; fi
115+
if cond_redirect apt-get install --allow-downgrades --allow-change-held-packages --yes -o DPkg::Lock::Timeout="$APTTIMEOUT" --option Dpkg::Options::="--force-confnew" $installVersion; then echo "OK"; else echo "FAILED"; return 1; fi
116116
else
117117
echo -n "$(timestamp) [openHABian] Installing cached openHAB version... "
118118
if cond_redirect apt-get install --yes -o DPkg::Lock::Timeout="$APTTIMEOUT" --option Dpkg::Options::="--force-confnew" ${ohPkgName} ${ohPkgName}-addons; then echo "OK"; else echo "FAILED"; return 1; fi

0 commit comments

Comments
 (0)