Technical reference
Architecture, services, paths, local admin port and safe diagnostic commands for MuPiBox NG.
This reference is for people with shell access. Commands refer to a regular NG installation on DietPi/Linux and can differ between releases.
Architecture
NG consists of a Go backend for media, configuration and API, a touch interface, a restricted system agent for privileged actions and separate audio/provider services. The browser Admin interface uses the same backend. Details on audio outputs: Audio.
Important addresses and files
| Location | Meaning |
|---|---|
http://<box-ip>:8090/ | Admin interface on the local network |
/srv/mupibox/music | Local music collection |
/var/lib/mupibox-ng/backups/ | Automatic backups before updates |
/etc/mupibox-ng/config.json | Basic service configuration (port, paths, database) |
/var/lib/mupibox-ng/mupibox.db | SQLite database with settings, categories, RFID assignments and listening progress |
/var/lib/mupibox-ng/install.log | Log of the first installation |
/opt/mupibox-release/current/ | Current release files (for release installations) |
Do not publish secrets: configuration and backups can contain access keys. File paths are no invitation to share protected data publicly.
Typical systemd services
| Service | Task |
|---|---|
mupibox-ng | Backend/API |
mupibox-ui | Touch interface |
mupibox-system-agent | Privileged system tasks |
mupibox-wireplumber | Audio session management |
mupibox-pipewire | PipeWire audio system |
mupibox-audio-bus | Shared audio output bus |
mupibox-splash | Boot/start image |
mupibox-ui-watchdog | Watches the touch interface and restarts it if needed |
mupibox-spotify / mupibox-soloist | Spotify playback (go-librespot or Soloist) |
mupibox-sendspin | Sendspin receiver for Music Assistant |
Additional services depend on the enabled sources and the installation profile. Not every system has all the units above.
Safe read-only diagnosis
systemctl --failed
systemctl status mupibox-ng mupibox-ui --no-pager
journalctl -u mupibox-ng -b --no-pager -n 100
journalctl -u mupibox-ui -b --no-pager -n 100
systemd-analyze blame
Record the status first, then make changes. For most cases the browser logs are enough. The Admin interface also offers a boot analysis.
Updates, rollback and data
NG updates use a confirmation/rollback mechanism. Settings and media are separate from the release code. Do not change files in unknown release directories. Create a backup before any intervention. Restoring is explained in the backup checklist.
Security and network
Default Admin: port 8090 on the local network. Do not expose it through simple router port forwarding; use the intended security and app features instead. Never copy passwords and tokens into logs or support posts.
The local interface for your own scripts is described under HTTP API.