Skip to content

Install PlayTelly on your own server

Use this guide to install PlayTelly on a server at your property. One command installs the base system, and a setup wizard in the browser finishes the install. After that, the server keeps itself up to date.

Before you begin

  • A Debian 13 server, physical or a VM, with at least 4 CPUs, 8 GB of RAM and 60 GB of disk. To build a VM, see Prepare a VM for PlayTelly.
  • You are logged in as a normal user with sudo.
  • The server has a static IP, or a DHCP reservation in the router. The local DNS answers with the IP the server had at install time.
  • From your PlayTelly contact: the repository address, the branch to install, read-only Git credentials, a remote-access key (optional), the approval code and your company code. See On-site install requirements. You need the company code to sign in after the install: the wizard doesn't show it.
  • The server has outbound HTTPS to the internet. No inbound ports are needed.

Run the installer

  1. Install Git and clone the repository:

    sudo apt update && sudo apt install -y git
    git clone -b <BRANCH> <REPO_URL>
    cd <REPO_FOLDER>
    

    Replace <BRANCH> and <REPO_URL> with the values from your PlayTelly contact. <REPO_FOLDER> is the folder git clone created: the last part of <REPO_URL>, without .git.

  2. Run the installer:

    ./install.sh
    

    It asks for the read-only Git credentials, which the server uses to pull updates: a Username, then a Password / token (the read-only deploy token from your PlayTelly contact). Then it asks for the remote-access key. Type skip to install without remote access.

After 5 to 10 minutes it prints the wizard's address and a 6-digit setup code:

  2. Open a web browser (Chrome, Safari, Edge...) and type this address

         http://192.168.1.10:8800

  3. When the page asks for the setup code, enter:

         482913

Check how the server is connected

Run ip a on the server and read the inet address that is not 127.0.0.1. If it is in the same range as your other devices (for example 192.168.1.x), devices reach the server directly. If it is in its own range (VirtualBox NAT usually gives 10.0.2.15), the server is behind NAT.

Setup Wizard address "How devices reach this server" DNS server for devices
Physical server The address the installer printed Leave empty The server's IP
VM, bridged adapter The address the installer printed Leave empty The VM's IP
VM, NAT adapter http://<HOST_LAN_IP>:8800 The host computer's LAN IP The host's LAN IP

<HOST_LAN_IP> is the LAN address of the computer that runs the VM, not the VM's own address.

VM behind NAT

Devices can't reach a NAT VM directly. They connect to the host computer, which forwards the traffic to the VM.

  1. Find the host's LAN IP on the host: ipconfig on Windows, ip addr on Linux, ipconfig getifaddr en0 on macOS.
  2. Forward these ports from the host to the VM. In VirtualBox: Settings, Network, Adapter, Advanced, Port Forwarding. Leave Host IP blank.

    Name Protocol Host port Guest port Used for
    DNS-UDP UDP 53 53 Name lookups
    DNS-TCP TCP 53 53 Name lookups
    HTTP TCP 80 80 The site
    HTTPS TCP 443 443 The site
    Wizard TCP 8800 8800 The setup wizard, during setup only

    If DNS does not get through, check that nothing else on the host uses port 53. This is common on Windows.

  3. Open the wizard at http://<HOST_LAN_IP>:8800, and type the host's LAN IP in How devices reach this server.

Finish in the browser

Use a laptop, tablet or phone on the same network as the server: the property's office Wi-Fi or LAN, not guest Wi-Fi or mobile data.

  1. Open the wizard address exactly as printed. It starts with http:// and ends with :8800.
  2. Enter the 6-digit setup code.
  3. Go through the wizard:

    Step What you enter
    Company Company name. The address is suggested from it, for example myhotel becomes https://myhotel.castis.io.
    Owner Owner email, which becomes the sign-in ID. The admin password, twice: 10 to 64 characters, not the email or company name. How devices reach this server: see the table above.
    Review, Install When it shows Waiting for approval, enter the approval code from your PlayTelly contact and select Approve.
    Sign in Nothing. It shows the address and the user ID.

The install takes 10 to 20 minutes. You can close the page; the install continues and survives a reboot. When it finishes, save the sign-in details and select close setup. The wizard also closes by itself after 24 hours.

Point devices at the server's DNS

Devices must use the server for DNS, or the address only works on the server itself. Ask the property's IT to set the router's DHCP DNS server to the IP in the "DNS server for devices" column. To test one device first, set its DNS by hand.

To check that a device reaches the server's DNS, run this on a laptop on the same network, with the address from the wizard (for example myhotel.castis.io) and the IP from the "DNS server for devices" column:

nslookup <ADDRESS> <DNS_SERVER_IP>

The answer lists the server's IP. If it fails, check that the router hands out the server as DNS, and on a NAT VM that the DNS ports are forwarded.

Verify

Open the address the wizard showed, for example https://myhotel.castis.io, from a device on the property network and sign in with the owner email and admin password. Then register a TV.

Troubleshooting

Symptom Cause Fix
The wizard page does not open The device is on another network, or the address is mistyped Use the office network, and type http:// and :8800. On a NAT VM, check port 8800 is forwarded.
A wizard step fails Varies; the page shows the error and the log Select Retry: every step is safe to repeat. If it keeps failing, send your PlayTelly contact a screenshot.
Devices find the name but can't connect A NAT VM with How devices reach this server left empty Type the host's LAN IP there, or contact PlayTelly if the install already finished.
Everything stopped working after the server's IP changed The local DNS still answers with the old IP On the server, run ./scripts/change-ip.sh, then set the new IP as the devices' DNS server.
The server is broken and must be replaced Hardware failure or a lost VM Don't run the wizard again. Run ./install.sh on the new server and contact PlayTelly to restore the property.