Apple TV HD with tvOS 18.4.1 not showing up for pairing (Synology NAS + Docker)
I'm running Docker on my Synology NAS. I've created a container from atvloadly image. I'm using only /volume1/docker/atvloadly:/data volume.
For dbus and avahi I installed them in the same container, I had to run
chmod 777 /tmp && mkdir /run/dbus && apt update && apt install -y avahi-daemon avahi-utils
and then start both services via
dbus-daemon --system &
avahi-daemon --no-chroot &
Now, when I run avahi-browser -a from inside my Docker container, I can see my Apple TV (named "Living Room") in manual pairing mode:
root@atvloadly:/# avahi-browse -a | grep "Living\ Room"
+ eth0 IPv4 Living Room _remotepairing-manual-pairing._tcp local
+ eth0 IPv4 70-35-60-63.1 Living Room _sleep-proxy._udp local
+ eth0 IPv4 Living Room _companion-link._tcp local
+ eth0 IPv4 AECE2CC8028C@Living Room AirTunes Remote Audio local
+ eth0 IPv4 Living Room AirPlay Remote Video local
It still doesn't show up on the atvloadly web page. What else could be wrong?
I use docker compose without an issue.
version: '3.8'
services:
atvloadly:
image: bitxeno/atvloadly:latest
container_name: atvloadly
privileged: true
restart: always
ports:
- "5533:80"
volumes:
- /volume1/docker/atvloadly/data:/data
- /var/run/dbus:/var/run/dbus
- /var/run/avahi-daemon:/var/run/avahi-daemon
But still couldn't open the installed app, because of https://github.com/bitxeno/atvloadly/issues/32
Thanks @helloint, for me this is not working as I don't dbus and avahi-daemon in Synology's OS and cannot install it there as it would be deleted on next update. I installed both services into the Docker container, but now I don't see my Apple TV on atvloadly webpage. Can't figure out why.
18.5 same issue cant see the appletv to pair.
idk if it helps you guys but I tried this on home assistant os, also an environment without avahid, so I used this compose
services:
atvloadly:
container_name: atvloadly
hostname: atvloadly
image: bitxeno/atvloadly:latest
privileged: true
volumes:
- /mnt/data/supervisor/homeassistant/atvloadly:/data
- /dev:/dev
environment:
- SERVICE_PORT=8080
restart: unless-stopped
network_mode: host
entrypoint: ["/data/start.sh"]
start.sh script:
#!/bin/bash
apt-get install -y avahi-daemon dbus
mkdir -p /run/dbus /var/run/avahi-daemon
rm -f /run/dbus/pid
dbus-daemon --system --fork
avahi-daemon --no-chroot &
sleep 3
usbmuxd &
sleep 3
exec /entrypoint.sh
works so far
idk if it helps you guys but I tried this on home assistant os, also an environment without avahid, so I used this compose
services: atvloadly: container_name: atvloadly hostname: atvloadly image: bitxeno/atvloadly:latest privileged: true volumes: - /mnt/data/supervisor/homeassistant/atvloadly:/data - /dev:/dev environment: - SERVICE_PORT=8080 restart: unless-stopped network_mode: host entrypoint: ["/data/start.sh"]start.sh script:
#!/bin/bash apt-get install -y avahi-daemon dbus mkdir -p /run/dbus /var/run/avahi-daemon rm -f /run/dbus/pid dbus-daemon --system --fork avahi-daemon --no-chroot & sleep 3 usbmuxd & sleep 3 exec /entrypoint.shworks so far
Do you confirm that atvloadly works on latest tvOS?
Do you confirm that atvloadly works on latest tvOS?
I may confirm that https://github.com/bitxeno/atvloadly/releases/tag/v0.2.7 works on TVOS 26.0
Any update on getting it working on your Synology NAS?