maxileith / homebridge-appletv-enhanced

Homebridge plugin that exposes Apple TVs with features that should be native to Apple HomeKit.
MIT License
125 stars 1 forks source link

Python install and setup. #386

Closed felho001 closed 1 month ago

felho001 commented 1 month ago

Preconditions

Issue

Hi I think install Python but hombridge say this issue. My hombridge run Synology docker compose file.

CleanShot 2024-04-23 at 21 32 12@2x could you help me?

maxileith commented 1 month ago

Make sure you use the latest docker image.

felho001 commented 1 month ago

my docker is on Synology uptodate. CleanShot 2024-04-24 at 18 39 31@2x

maxileith commented 1 month ago

I am not talking about your Docker but the homebridge image you are using. Make sure it is the latest one.

felho001 commented 1 month ago

I see, my hombridge is the latest one. CleanShot 2024-04-24 at 19 47 44@2x if you can help me to solve this i would be very grateful. because nowhere, i can't find a solution and i don't know how to do it

maxileith commented 1 month ago

I did not talk about homebridge itself but the docker image. If you have updated homebridge within your container that does not mean you are using the latest docker image.

Please make sure to use this version of the official docker image. That image has all required dependencies installed.

I am not familiar with synology. However, you probably want to specific the exact image tag in your docker compose file or delete the image with tag latest locally and pull the docker image with tag latest again. Then you can start a new container with the new version.

felho001 commented 1 month ago

I use original version homebridge.io is latest v1.8.0 How can fix red rows the 1 picture?

maxileith commented 1 month ago

Which version of the docker image did you use to create the container? Use the latest one!

felho001 commented 1 month ago

I use latest one hombridge and all container my compose file. here my compose:

version: "3.2"
services:
  homebridge:
    image: oznu/homebridge:latest
    container_name: homebridge
    restart: unless-stopped
    network_mode: host
    environment:
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
      - PUID=1024 # you must find out your PUID through SSH, type in terminal: id $user
      - PGID=100 # you must find out your PGID through SSH, type in terminal: id $user
      - TZ=Europe/Budapest # Change to your timezone
      - UMASK=002
    volumes:
      - /volume3/docker/appdata/homebridge:/config
maxileith commented 1 month ago

You have exposed your Telegram credentials. I'd suggest to change them immediately.

Regarding your problem, you are not using the latest homebridge docker image

  1. Use homebridge/homebridge instead of oznu/homebridge
  2. Make sure the container was created from the current latest image. You have probably created the container once from the compose file and never recreated the container which is why the container is still outdated. You need to recreate the container. Make sure your local repository does not have an image homebridge/homebridge:latest. This will make sure your docker downloads the current image with tag latest.

I will close this issue now as I have answered your question now 5 times. It does not seem like you know how docker works which is dangerous when using it to host stuff. I would suggest to learn the basics of docker. I won't teach you here.