MuPiBox Documentation MuPiBox NG

Security & MuPiBox app

Set an admin password, pair the MuPiBox app, enable remote access without VPN and change the Linux password for SSH.

Under Connections & Security → Security you protect the admin interface, pair the MuPiBox app and change the system access.

Security

Screenshot of a demo box; on your box the admin password is already set.

Admin password

Since 0.2.0-alpha.44 the admin password is required: without one the admin interface only shows the setup; it can be changed but no longer removed.

The password protects the whole admin interface – including parental control. Choose your own long password. It is only stored as a salted hash. Failed attempts are slowed down.

Reset a forgotten admin password

Easiest way (from 0.2.0-alpha.44): over SSH as root, create the file /var/lib/mupibox-ng/reset-admin-password and restart the service:

sudo touch /var/lib/mupibox-ng/reset-admin-password
sudo systemctl restart mupibox-ng

On start MuPiBox removes the password hash and all sessions and deletes the file. The admin interface then shows "Set an Admin password". The manual steps below still work.

This procedure is for a standard NG installation. You need SSH access or a local console with administrator privileges. Your DietPi/Linux login password is separate from the MuPiBox admin password.

  1. Connect using, for example, ssh dietpi@mupibox.local (or use the box's IP address and your Linux account).
  2. Run the following commands on the MuPiBox. They briefly stop the backend, create a protected database backup and remove only the stored admin password hash:
# Run on the MuPiBox over SSH or its local console:
sudo systemctl stop mupibox-ng
sudo python3 - <<'PY'
from datetime import datetime
from pathlib import Path
import os
import sqlite3

db = Path("/var/lib/mupibox-ng/mupibox.db")
if not db.is_file():
    raise SystemExit(f"Database not found: {db}")
os.umask(0o077)
backup = db.with_name(f"mupibox-before-password-reset-{datetime.now():%Y%m%d-%H%M%S}.db")
with sqlite3.connect(str(db)) as connection:
    with sqlite3.connect(str(backup)) as destination:
        connection.backup(destination)
    connection.execute("DELETE FROM settings WHERE key = ?", ("admin.password_hash",))
print(f"Backup: {backup}")
PY
sudo systemctl start mupibox-ng
  1. Open the Admin interface (http://mupibox.local:8090 or the box's IP address). Under Connections & Security → Security → Admin password, immediately set a new password.

Real MuPiBox mobile app screenshot

MuPiBox web app with device status, playback, volume and messaging. Test-release screenshot; menus may change.

The MuPiBox App is a standalone main navigation item directly beneath Box & Controls. Pairing and remote access are managed there, not under Security.

MuPiBox app

The installable MuPiBox app controls the box from a smartphone – playback, volume, messages, power.

  1. Create a one-time pairing code.
  2. On the smartphone open app.mupibox.de and enter the box address and the code.
  3. The app appears under Connected apps and can be removed there.

In the home network all commands go directly to the box.

When parental control is saved as enabled, a separate Parent App pairing option appears in the MuPiBox App area. Parent codes grant extra permissions; regular app codes do not.

Remote access without VPN

With "Enable remote access without VPN" the app reaches the box on the road as well. The connection then runs through the MuPiBox relay, end-to-end encrypted: the relay only sees technically necessary connection data (IP addresses, a random channel, times, packet sizes), not the commands themselves. Media, covers, credentials or the box database never go through the relay.

  • Remote access requires an admin password.
  • After enabling it, pair all apps again once so that each gets its own key.

System access (SSH / console)

Changes the Linux password of the accounts root, dietpi or both (8–100 characters, no colons or line breaks). The password is not stored in MuPiBox. An admin password must be set first.

© 2026 MuPiBox