MuPiBox Documentation MuPiBox NG

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

LocationMeaning
http://<box-ip>:8090/Admin interface on the local network
/srv/mupibox/musicLocal music collection
/var/lib/mupibox-ng/backups/Automatic backups before updates
/etc/mupibox-ng/config.jsonBasic service configuration (port, paths, database)
/var/lib/mupibox-ng/mupibox.dbSQLite database with settings, categories, RFID assignments and listening progress
/var/lib/mupibox-ng/install.logLog 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

ServiceTask
mupibox-ngBackend/API
mupibox-uiTouch interface
mupibox-system-agentPrivileged system tasks
mupibox-wireplumberAudio session management
mupibox-pipewirePipeWire audio system
mupibox-audio-busShared audio output bus
mupibox-splashBoot/start image
mupibox-ui-watchdogWatches the touch interface and restarts it if needed
mupibox-spotify / mupibox-soloistSpotify playback (go-librespot or Soloist)
mupibox-sendspinSendspin 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.

© 2026 MuPiBox