DietPi-Software | Add HomeBox - #8240
Open
Rednox wants to merge 6 commits into
Open
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.
Owner
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds HomeBox, a self-hosted home inventory and organisation system, as a DietPi-Software title.\n\n## Implementation notes\n\n- Software ID: 219\n- Category: Cloud & Backup\n- Port: 7745 (HomeBox default; verified no collision with other DietPi software)\n- Architecture support: aarch64, x86_64 only (upstream does not provide 32-bit ARM Linux binaries; RISC-V binaries are experimental, hence disabled)\n- Install method: downloads the latest upstream release tarball, extracts to /opt/homebox\n- Data directory: /mnt/dietpi_userdata/homebox\n- Runtime user: homebox:dietpi\n- API-key pepper: generated once with openssl rand -base64 48, persisted in /mnt/dietpi_userdata/homebox/homebox.env and referenced via EnvironmentFile= in the systemd service. Preserved across reinstalls.\n- Service file: /etc/systemd/system/homebox.service with HBOX_MODE=production, embedded SQLite database in WAL mode, and analytics disabled by default.\n\n## Files changed\n\n- dietpi/dietpi-software – metadata, install/uninstall code\n- dietpi/dietpi-services – register homebox service\n- .github/workflows/update_urls.bash – automated URL update for releases\n- .github/workflows/dietpi-software.bash – CI test entry\n- .meta/dietpi-survey_report – survey name mapping\n- README.md – supported software list\n\n## Documentation\n\nCompanion docs PR: MichaIng/DietPi-Docs#1213\n\n## Test plan\n\n- [ ] dietpi-software list shows HomeBox\n- [ ] Fresh install on x86_64\n- [ ] Fresh install on aarch64\n- [ ] Reinstall preserves homebox.env and database\n- [ ] Uninstall removes /opt/homebox and /mnt/dietpi_userdata/homebox\n- [ ] 32-bit ARM and RISC-V show HomeBox as unavailable\n- [ ] shellcheck passes on changed sections\n