Troubleshooting
Start with the logs. Settings → Logs shows them live, with secrets redacted: pick Errors or Warnings, narrow them to one part of the speaker (Bluetooth, Wi-Fi, Audio, Home Assistant, Web, System), or search for a word. On the board itself:
journalctl -u boombox-agent -u boombox-aplay -u bluealsa -u bluetooth -u NetworkManager -u boombox-frankenphp -n 200
journalctl --list-boots # the journal is kept across reboots
journalctl -b -1 -e # the end of the previous boot, after an unexpected reboot
systemctl status boombox-agent boombox-frankenphp boombox-aplay bluealsa bluetooth
sudo boombox-agent client state.getNo sound
Work from the source towards the speakers:
| Check | Command / action | Fix |
|---|---|---|
| Is the card there? | aplay -l lists UDA1334A | If not: is the overlay active (grep overlays /boot/armbianEnv.txt)? Did you reboot after install.sh? Is the i2s3-m0 microphone overlay gone? Compare the I2S node and pin labels in the .dts with your kernel's device tree (ls /proc/device-tree/). |
| Does the DAC play? | speaker-test -D boombox -c 2 -t sine -l 1, headphones on the DAC jack | Silent: check BCLK/WSEL/DIN against pins 12/35/40, VIN on 5 V (pin 4) and GND. Was install.sh run with --dac=uda1334a? |
| Is the amplifier on? | gpioinfo gpiochip3 | grep -w 8 | If SD (SDL/SDR on a TPA2012) is wired to pin 15 and BOOMBOX_AMP_GPIO is not set, the line floats or stays low. Set BOOMBOX_AMP_GPIO=gpiochip3:8, or disconnect the shutdown pin so the board keeps the amplifier on. |
| Is the amplifier powered? | Measure VDD–GND at the amplifier: 5 V | Check pins 2/9 and the wire gauge. |
| Speaker wiring | Disconnect, measure each driver: ~3–4 Ω | No output terminal may touch GND. |
| Volume | Settings → Audio: not muted, volume and limit above 0 | |
| Phone side | Is the phone connected and playing? Now playing shows it. | Is boombox-aplay running? systemctl status boombox-aplay. |
| Pops at every prompt, stream start or pause | grep AMP /etc/boombox/agent.env | The DAC pops when its clock starts or stops. Wire the amplifier's SD to pin 15 and set BOOMBOX_AMP_GPIO=gpiochip3:8: the agent then mutes the amplifier around them. |
Headphones play, the speakers stay silent (or only one plays)
The amplifier's shutdown pin (SD on the MAX98306; SDL and SDR on a TPA2012, where some boards break out only SDL) is wired to header pin 15, but nothing drives it: install.sh writes BOOMBOX_AMP_GPIO into /etc/boombox/agent.env commented out. Pin 15 then sits low and keeps the amplifier, or the channel whose SD pin is wired, switched off. Enable it and restart the agent:
sudo sed -i 's/^# *BOOMBOX_AMP_GPIO=/BOOMBOX_AMP_GPIO=/' /etc/boombox/agent.env
sudo systemctl restart boombox-agent
pgrep -a gpioset # gpioset -c gpiochip3 8=1: pin 15 (GPIO3_B0) is driven highThe Logs page says "No amplifier enable line" while it is not set, and reports it when gpioset cannot drive the line. Or, to keep the amplifier always on, disconnect SD (or SDL/SDR): the board then keeps the amplifier on.
Only the right speaker plays, the line is set: Settings → Audio → Output → Listen on is on Headphones or line out, or the amplifier is in standby. That switches the amplifier off - and on a TPA2012 board that breaks out SDL only, off means the left channel only: the right one has no shutdown pin and keeps playing. Set Listen on back to Speakers. With BOOMBOX_AMP_CHANNELS=left in /etc/boombox/agent.env the page and the display's menu say so where it matters.
One speaker sounds distorted
The software treats both channels alike: one volume control, one stream. A channel that sounds worse than the other is the hardware:
- Shared or grounded minus. The amplifier drives each speaker bridged (L+/L−, R+/R−): no output may touch GND, and the two speakers must not share a minus wire. Either distorts, or the overload protection cuts the channel at higher volumes.
- Swap the speakers. The fault follows the speaker: speaker, cable or solder joint. It stays on the same output: that channel of the amplifier, or its input wire from the DAC (L or R pad).
- Lower the volume to 50 %. Clean there and distorted further up: the channel clips - check the gain (the MAX98306's gain jumper; G0 and G1 on a TPA2012) and the volume limit.
speaker-test -D boombox -c 2 -t wav -l 1says "Front left" and "Front right", one side at a time.
Only noise ("swoosh") from an I2S DAC
The DAC gets its bit clock and data, but the word clock (WSEL/LRCK, header pin 35) reads about 0.8 V on a multimeter instead of about 1.6 V while something plays. I2S3 has a single pair of clock pins for playback and capture; unless its overlay says rockchip,trcm-sync-tx-only, both sides drive them and the word clock is unusable. The overlays in deploy/device/files/overlays set it. An older speaker gets the corrected overlay with sudo /var/www/boombox/current/deploy/device/install.sh and a reboot. Afterwards the I2S clock register shows it:
sudo cat /sys/kernel/debug/regmap/*fe430000*/registers | grep '^08:' # 08: 1000…, TRCM = 1Distortion, crackling, resets on loud bass
- Gain too high: the MAX98306's gain jumper must be on 12 dB or lower (the board ships at 9 dB). On a TPA2012, G1 on GND and G0 open is 12 dB; the board's default is 24 dB.
- Clipping: lower the volume limit until loud passages are clean (about 90 % with the MAX98306 at 12 dB, 80 % with the TPA2012 at 12 dB).
- Power: use a 5 V / 3 A supply, a 470–1000 µF capacitor at the amplifier, and thick power wires to it. A board that reboots or drops Bluetooth on bass hits is short of power.
- Bluetooth dropouts while Wi-Fi is busy: the AIC8800 shares one radio and antenna. Use 5 GHz for your home Wi-Fi if you can, and keep the antenna away from the driver magnets.
Weak Bluetooth: dropouts, phones not finding the speaker
The log shows Missing RTP packets and the kernel Bluetooth: Unexpected start frame, phones see the speaker only up close, and a Mac reports a weak signal (system_profiler SPBluetoothDataType | grep -A12 Boombox: | grep RSSI, worse than about −75 dBm nearby). Audio packets are lost in the air.
The antenna in use: the board uses its onboard antenna unless the overlay switches it, even with an antenna on the U.FL connector:
bashgrep '^overlays=' /boot/armbianEnv.txt # radxa-zero-3w-ext-ant for the U.FL connector grep -l board-antenna /sys/class/regulator/*/name # present when it is activeSwitch with
sudo install.sh --antenna=externaland reboot.Placement: keep the antenna clear of the driver magnet and any metal.
No sound over HDMI
HDMI carries sound inside the picture signal: without a picture mode there is no sound, even with the HDMI output chosen on the Settings page. The board only switches HDMI on when it reads the TV's EDID at boot, so a TV that was off then, or on another input, stays silent until the next restart.
cat /sys/class/drm/card0-HDMI-A-1/status /sys/class/drm/card0-HDMI-A-1/enabled # connected, enabled
wc -c < /sys/class/drm/card0-HDMI-A-1/edid # 256 (or 128): the TV answered
grep -E "monitor_name|sad0_" /proc/asound/card1/eld#0 # the TV's audio formats- EDID 0 bytes with the TV on: the cable or micro-HDMI adapter does not carry the data lines (DDC). Try another one.
- Keep HDMI on whatever the TV does: with the TV on and connected, run
sudo install.sh --hdmi=alwaysand reboot. The speaker keeps that TV's EDID; for another TV, delete/usr/lib/firmware/edid/boombox-hdmi.binand run it again with the new TV on. - Silent after a pause, picture gone: the screen went to sleep (Settings → Power saving). It wakes when something plays; the badge shows Screen Off meanwhile, and
statusreadsdisconnected. Set Switch the screen off after to Never to keep HDMI on.
The TV's remote does nothing
The TV's remote reaches the speaker over HDMI-CEC (boombox-cec, see Using the speaker). Check from the speaker, one step at a time:
Start with sudo boombox-cec-diagnose: it says whether the TV answers on HDMI-CEC, which maker it is, which keys it sends while you press the remote for a few seconds, and what to try for that maker. The same line is on the speaker's page, Settings → System → TV, and in the journal.
sudo boombox-cec-diagnose # the TV, its keys, and advice
systemctl status boombox-cec # active, as user boombox-kiosk
journalctl -u boombox-cec -n 30 # "cogctl ...: Permission denied" or other errors
cec-ctl -d /dev/cec0 # Logical Address: Playback Device 1, CEC Version 1.4
sudo systemctl stop boombox-cec; sudo cec-follower -d /dev/cec0 -v -m # press keys: USER_CONTROL_PRESSED- No device in the TV's source list, or no presses in
cec-follower: Anynet+ (HDMI-CEC) is off on the TV, or the speaker is not the selected device: choose it in the TV's source list. The adapter needs the TV's EDID (see No sound over HDMI): without it there is no physical address (f.f.f.f) and no CEC. - Presses arrive, but the arrows move nothing: the page has to be shown by the kiosk;
/dev/uinputmust belong to groupinput(ls -l /dev/uinput, the udev rule60-boombox-uinput.rules). - Exit, Return, red or green do nothing, and the journal says "Permission denied" or "Could not connect": the service cannot reach the kiosk browser's session bus (
/run/user/<uid of boombox-kiosk>/bus). It must run asboombox-kioskand not withProtectHome=yes, which hides/run/user. - The journal says the TV does not answer on HDMI-CEC: nothing reaches the speaker at all. Switch HDMI-CEC on in the TV's settings, under its maker's name (Anynet+ on a Samsung, SIMPLINK on an LG, BRAVIA Sync on a Sony, EasyLink on a Philips, see Using the speaker), switch the TV on, and restart the service. A TV in standby often ignores CEC too.
- A TV that answers, but sends no keys: try the other values under Settings → System → TV, one after the other: Remote control CEC 2.0, then Make the TV switch to the speaker. The speaker is a CEC 1.4 device by default (a Samsung sends no keys to a 2.0 device that offers no features, but some other makers want one). For a TV that wants a certain vendor, or a name, set
BOOMBOX_CEC_VENDOR_IDandBOOMBOX_CEC_OSD_NAMEin/etc/boombox/cec.env, andBOOMBOX_CEC_DEBUG=1to have everything the follower sees in the journal. - Some keys do nothing: the journal says "the TV sent ... which the speaker does not use" once per key the speaker does not know; open an issue with its name and code.
The Armbian Imager profile's Wi-Fi or user is missing
The first boot applies the profile (see Device setup → What the speaker does with the profile) and logs what it took and what it rejected:
journalctl -u boombox-firstboot | grep -i -e profile -e preset
journalctl -u boombox-armbian-preset-keys # the SSH keys, fetched once online, with their fingerprints
cat /var/lib/boombox/armbian-preset-user # the user it created- No SSH key from the profile: the address has to be
https://and answer with public key lines; a page that answers with anything else is logged and given up, an address that does not answer is tried again every minute. A user that existed before the profile gets no key. - No Wi-Fi from the profile: the profile needs Configure network (
PRESET_NET_CHANGE_DEFAULTS=1) and a key of 8 to 63 characters. - No SSH key yet: the speaker is not online, or the key's address does not answer. The unit tries again every minute.
- Nothing applied: the profile was written after the first boot ran.
sudo dpkg-reconfigure boomboxruns the setup again with the saved answers and applies a profile it finds at/root/.not_logged_in_yet.
The Wiimote does not connect
A Wiimote is paired once, while the pairing window is open, with its red sync button (see Using the speaker). From the speaker:
systemctl status boombox-wiimote # active, as user boombox-kiosk
journalctl -u boombox-wiimote -n 30 # "looking for a Wiimote", "paired", "connected"
bluetoothctl devices Paired | grep -i nintendo # paired once it worked- It does not pair, "looking for a Wiimote" never appears: the pairing window is not open (the log says "no longer looking" when it closes).
- It looks, but "wiimote pairing: Authentication Rejected" follows: the Wiimote was in 1+2 mode. Use the red sync button under the battery cover.
- It looks, but no Nintendo device is listed: the Wiimote's lights blink for about 20 seconds after the button; press it again while the speaker looks. New batteries help.
- Connect in the web interface fails, "the device is asleep": the speaker cannot call a Wiimote. Press any of its buttons: it connects by itself.
- Paired, but a button press does not wake it: the batteries; or remove the Wiimote (
bluetoothctl remove <address>) and pair it again. - Connected, but the buttons do nothing:
boombox-wiimoteplays them on a virtual keyboard likeboombox-cec:/dev/uinputmust belong to groupinput(ls -l /dev/uinput, the udev rule60-boombox-uinput.rules), and the page has to be shown by the kiosk. - Home or Return do nothing, volume does: as for the TV's remote, the service cannot reach the kiosk browser's session bus (see The TV's remote does nothing).
- Volume does nothing: the agent's socket needs group
boombox(journalctl -u boombox-wiimotesays "volume: Permission denied").
Keys type the wrong characters on the TV
The keyboards on the TV are US ones until the owner chooses a layout under Settings → System → Mouse and keyboard (a German keyboard on the US layout swaps Y and Z and moves every symbol). Choosing one starts the TV's browser over. Check what it was given, from the speaker:
cat /run/boombox/keyboard-layout # "de nodeadkeys": the layout and its variant
tr '\0' '\n' < /proc/$(pgrep -x sway)/environ | grep XKB # XKB_DEFAULT_LAYOUT=de- No file, or no
XKB_DEFAULT_LAYOUTin sway's environment: the TV's browser started before the setting was made, or the kiosk's login shell is an older one: runsudo install.sh --system --tv=onagain and restart the TV (sudo systemctl restart getty@tty1). - The right layout, but one key is wrong: the keyboard's own variant (an Apple keyboard has its own: choose "German (Apple)"), or a key the layout lacks. The list has the common layouts only.
The TV's page is slow, or part of it is drawn wrongly
The TV's browser (Cog, on WPE WebKit) paints on the speaker's GPU: the login shell /usr/local/bin/boombox-kiosk sets WEBKIT_SKIA_ENABLE_CPU_RENDERING=0. WPE paints on the CPU by default, and there a card's soft shadow took about 900 ms to draw again at every change (the time under the progress bar, once a second): the page stood still for nine tenths of the time, and a key or a click waited for it. Check which one the browser uses, from the speaker:
ls /proc/$(pgrep -x WPEWebProcess | head -1)/task | while read t; do cat /proc/$(pgrep -x WPEWebProcess | head -1)/task/$t/comm; done | sort | uniq -c
# SkiaGPUWorker: the GPU. SkiaCPUWorker: the CPU, which is slow.- SkiaCPUWorker, and the page is slow: the kiosk's login shell is not the one from this version: run
sudo install.sh --system --tv=onagain. - Parts of a page are black, flicker or are drawn wrongly: the GPU driver (Mesa's panfrost) draws something wrongly. Delete the line
export WEBKIT_SKIA_ENABLE_CPU_RENDERING=0from/usr/local/bin/boombox-kioskand restart the TV (sudo systemctl restart getty@tty1); the browser then paints on the CPU again, and the TV's pages draw no card shadows for that reason. Please report the page that went wrong.
The TV stays black while booting, or shows console text
With --tv=on the TV shows the logo (Plymouth) while the speaker boots, see Device setup. The first seconds are black until the boot image starts it. Check:
cat /proc/cmdline | tr ' ' '\n' | grep -E 'splash|quiet|loglevel' # splash quiet loglevel=0
plymouth-set-default-theme # boombox
lsinitramfs /boot/initrd.img-$(uname -r) | grep -E 'plymouth/themes/boombox|plymouthd$'
journalctl -b -u plymouth-start -u plymouth-quit -u boombox-splash
cat /var/lib/boombox/splash/{background,built} # the colour, and what the image was made from- Console text instead of the logo: the theme is missing from the boot image; run
sudo systemctl start boombox-splash(it logs why it fails:journalctl -u boombox-splash), then reboot. - The TV shows only a plain colour, no logo: the logo is the colour of the background (a white logo is made for a dark menu: with a light menu colour it is invisible there too, in the header as well).
sudo python3 /usr/local/lib/boombox-splash/boombox_splash.py --preview /tmp/splash.pngmakes a picture of what the TV shows: the logo on the menu's colour. - A new logo or colour is not shown: the image is rebuilt in the background after the change (about a minute); the next boot shows it. A reboot or power-off during that minute waits for the rebuild to finish.
sudo systemctl start boombox-splashrebuilds at once. - Black screen for the whole boot: take the card to another computer and remove
quietandsplashfromextraargs=in/boot/armbianEnv.txtand setbootlogo=false, or addplymouth.enable=0; or runsudo install.sh --system --tv=offto remove the splash.
Emoji are one colour on the TV
The TV's browser draws DejaVu Sans's own outline emoji in the text colour, and Debian's bitmap emoji font (fonts-noto-color-emoji) as black blocks. The pages ask for the vector build of Noto Color Emoji (COLRv1) by name, in an @font-face for the emoji blocks (app.css). install.sh --tv=on installs that font as /usr/local/share/fonts/noto-colrv1/Noto-COLRv1.ttf and removes fonts-noto-color-emoji, which has the same name. Check, then restart the TV (sudo systemctl restart getty@tty1):
fc-list ':charset=1f60e' family file # only the COLRv1 file
dpkg -s fonts-noto-color-emoji # not installedNo Wi-Fi or Bluetooth interface
ip link shows no wlan0, or bluetoothctl show shows no controller.
- Recent Radxa ZERO 3W boards use an AIC8800 module. Its drivers are not in the mainline kernel: use an Armbian image that ships them (vendor or "current" kernel, depending on the release), and note which one works.
dmesg | grep -i -E "aic|bluetooth|hci"shows whether firmware loading failed.- The agent keeps running without Bluetooth: the web interface and Wi-Fi setup still work, and the agent picks up the adapter once it appears (it retries every 10 s).
The setup network does not appear
iw list | grep -A10 "Supported interface modes"must list* AP.install.shwarns if it does not.journalctl -u boombox-agent | grep -i "access point"shows why it failed.nmcli connection showlistsboombox-setuponce the agent has tried.- The agent only opens it after
fallbackSeconds(default 45) without a known network, or at once if none is saved.
The captive portal does not open on the phone
- Browse to http://10.42.0.1 by hand.
ls /run/boombox/ap-activemust exist while the setup network is up. Caddy redirects foreign hosts only then.cat /etc/NetworkManager/dnsmasq-shared.d/boombox-captive.confmust containaddress=/#/10.42.0.1.curl -sI http://localhost/portalon the speaker answers302with the page the portal opens (Location:): the first visible page with the Wi-Fi networks element, or what the site settingboombox.speaker.portalPathnames (Site settings → Boombox → Speaker control). With neither,/portalanswers 404 on the phone.- Some phones remember a network as "no internet": forget
Boombox-XXXXon the phone and join again.
Pairing fails
- Pairing only works while Pair a new device is active (2 minutes).
journalctl -u boombox-agent | grep "pairing agent"shows what the speaker's own pairing agent (resources/pairing-agent.py) did.- If the phone pairs but audio never connects, the agent is not authorising the A2DP/AVRCP services: the same log shows what it was asked and what it answered. Report it with those lines.
- Remove the speaker on the phone and Forget the phone on the speaker, then pair again.
iPhone or Mac: "Connection unsuccessful" when pairing
The speaker appears in the phone's list, but tapping it fails. In btmon the pairing ends with Simple Pairing Complete: Status: Authentication Failure (0x05) right after the user confirmation, before BlueZ or the pairing agent are involved.
The AIC8800 controller firmware fails Secure Connections pairing (P-256), which Apple devices always try first. install.sh therefore sets SecureConnections = off in /etc/bluetooth/main.conf. Pairing then uses classic Secure Simple Pairing, which is still encrypted. Check it with:
grep SecureConnections /etc/bluetooth/main.conf # SecureConnections = off
btmgmt --index 0 info | grep "current settings" # no "secure-conn"A phone that tried before the fix may have kept a half-finished pairing: forget "Boombox" in its Bluetooth settings, then pair again.
AAC is never used
Debian's bluez-alsa is built without AAC: the encoder, fdk-aac, is non-free. The speaker offers the codecs the build has (SBC, aptX, aptX HD, …). For AAC, build bluez-alsa from source with --enable-aac and run install.sh again; it detects the codecs.
"Not installed: libttspico-utils"
The package recommends Pico, which speaks the spoken prompts, but Armbian installs no recommended packages, and apt adds none to an upgrade. The speaker works without it and plays sounds only. To have speech:
sudo apt install libttspico-utilsIt comes from Debian's non-free, which Armbian enables. boombox-setup.sh and make install install it themselves where it is available.
The web interface does not answer
| Symptom | Check |
|---|---|
| Nothing on port 80 | systemctl status boombox-frankenphp, journalctl -u boombox-frankenphp. |
FrankenPHP's own demo page, or boombox-frankenphp restarting every few seconds | The frankenphp package's own frankenphp.service holds port 80. install.sh masks it; by hand: sudo systemctl disable --now frankenphp && sudo systemctl mask frankenphp && sudo systemctl restart boombox-frankenphp. |
| "Mercure … bolt …" errors, the web server restarting in a loop | The Caddyfile lacks transport local in the mercure block (older template). Run install.sh --app again: it updates an unedited shared/Caddyfile, and warns if you edited yours. |
| Pages work, live updates do not | The page polls every 5 s instead: it still works. Check MERCURE_PUBLISHER_JWT_KEY in /etc/boombox/agent.env matches .env, and look for "Mercure hub … refused" in the agent log. |
| Live updates arrive late (up to 30 s, then every 5 s) in one browser only; its console says "live updates do not arrive" | An add-on holds back the page's live-update stream: seen with AdGuard AdBlocker in Firefox. The page notices and asks the speaker every 5 s instead. For instant updates, switch the add-on's protection off for the speaker's address. |
| "The speaker is not answering" | The agent is down or the socket is unreadable: systemctl status boombox-agent, ls -l /run/boombox/agent.sock (root boombox 0660), id www-data (in group boombox). |
| The setup secret no longer logs in as owner | As designed: the first login replaced it with a password of your own. Use that one, or set it back to the setup secret as in The owner's password. |
| Login loops back to the login | The account must be in "Boombox owners". To reset it: sudo runuser -u www-data -- php vendor/bin/typo3 speaker:setup-user --reset --password-stdin < /etc/boombox/setup-secret (in /var/www/boombox/current). |
www-data cannot read … from install.sh --app | The release is not world-readable: install the package again, or sudo chmod -R go+rX /var/www/boombox/releases. |
An update did not finish
Boombox → Updates shows how far the installation got, and the installer's output. All of it is kept on the speaker:
journalctl -u boombox-update # the installation, from the start
cat /var/lib/boombox/update/state.json # the step it reached
tail -n 50 /var/lib/boombox/update/log| Symptom | Check |
|---|---|
| "Release … has no package" | The release's package is not uploaded yet, or its upload failed. Wait for the pipeline of the tag, then Check now. |
| "… does not match its checksum" | The download broke off or was changed on the way. Install again downloads it anew. |
| "apt-get could not install …" | The log shows why. Often it is a dependency (the PHP repository unreachable): sudo apt-get -f install, then Install again. |
| "The update stopped before it finished" | The speaker lost power or the installer was killed. sudo dpkg --configure -a finishes what dpkg began; then install again. |
| "An update is running" | Another one is still going: systemctl status boombox-update. |
To install the same way by hand: sudo boombox-update 1.0.3 (the release's tag). Or install a downloaded package with sudo apt install ./boombox_1.0.3_all.deb.
A card does not mount
| What the page says | What to do |
|---|---|
| Not supported: use FAT32 or exFAT | The card is formatted as ext4, NTFS or the like. Copy what is on it elsewhere and format it as exFAT on a computer. |
| The card could not be mounted | Its filesystem needs repair: check it on a computer (Windows: Properties → Tools → Check; macOS: Disk Utility → First Aid). |
| Ejected: plug it in again to use it | Pull it out and plug it in again, or forget and include it. |
journalctl -u boombox-agent | grep storage shows what the agent tried; systemctl list-units 'media-boombox-*' what is mounted.
A server (NAS, SMB, SFTP, WebDAV, FTP, S3) is not mounted: Test the connection in the backend's Boombox → Storages says what is wrong with it, and ddev storages-check tries the development servers.
Spotify
See the troubleshooting table in Spotify.
Prometheus gets 403, 404 or 503
See the troubleshooting table in Prometheus metrics.
Forgot everything
The setup secret is on the label, and sudo cat /etc/boombox/setup-secret shows it. A factory reset from the web interface, or boombox-agent client system.factory_reset '{"confirm":"RESET"}' as root, brings the speaker back to its first-boot state with that secret.