DietPi-Software | Add HomeBox - #8240
Conversation
…rectory The default file:///?no_tmp_dir=true storage URL caused Homebox to treat /data as the bucket root, so attachments and collection exports failed with mkdir /data: permission denied. Point the fileblob driver at the actual DietPi userdata directory so blobs are created under /mnt/dietpi_userdata/homebox/data.
|
Some preliminary note: "Homebox" => "HomeBox" EDIT: And after adding it to our CI (service name and TCP port), we can kick of an installation test on all distro versions and architectures: https://github.com/MichaIng/DietPi/actions/workflows/dietpi-software.yml |
There was a problem hiding this comment.
Please check my comments.
I also enabled it for riscv64. It is experimental because maintainers often have no RISC-V hardware to test. But as a Go application, there is zero reason to assume it wouldn't work like on any other hardware. Also, in any case more users battle-testing it on RISC-V won't hurt. Users with this hardware are very used to experimenting and testing and tinkering 🙂.
Test installs: https://github.com/MichaIng/DietPi/actions/runs/33330606556
If the tar `--one-top-level` value matches the only filename in the tarball exactly, it is not interpreted as directory, but the file is unpacked into the current dir as is. Adding a trailing slash solves this.
Move every HomeBox environment variable (mode, network, logging, analytics, database and storage paths) into /mnt/dietpi_userdata/homebox/homebox.env. The systemd unit now only loads the env-file, so admins can edit all settings transparently and overrides survive reinstalls. See MichaIng#8240 (comment)
Create the HomeBox runtime user with its own primary group instead of adding it to the dietpi group. This matches the usual DietPi pattern when no access to media/download dirs is required. See MichaIng#8240 (review)
This PR adds HomeBox, a self-hosted home inventory and organisation system, as a DietPi-Software title.
Implementation notes
Files changed
Documentation
Companion docs PR: MichaIng/DietPi-Docs#1213
Test plan