fredrikburmester / streamystats

Streamystats is a statistics service for Jellyfin, providing analytics and data visualization.
20 stars 1 forks source link

streamystats-phoenix-1 curl error #3

Open Nostradamus1973 opened 5 days ago

Nostradamus1973 commented 5 days ago

Good morning,,

I'm getting the following error with streamystats-phoenix-1

OCI runtime exec failed: exec failed: unable to start container process: exec: "curl": executable file not found in $PATH: unknown

Here is my compose file:

services:
  app:
    image: fredrikburmester/streamystats-nextjs:latest
    ports:
      - "3011:3000"
    depends_on:
      - phoenix
    networks:
      - backend
    environment:
      API_URL: "http://phoenix:4000/api"

  phoenix:
    image: fredrikburmester/streamystats-phoenix:latest
    environment:
      DATABASE_URL: "ecto://postgres:postgres@db/streamystat"
      SECRET_KEY_BASE: "r0NgGxu5ETTDgF5G7mJsMevMbAF7y4w0IJlCRjzxHqSjbcrPqTQTzajOH0ne0sHH"
    ports:
      - "4000:4000"
    depends_on:
      - db
    networks:
      - backend
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:4000/api/health"]
      interval: 10s
      timeout: 5s
      retries: 5

  db:
    image: postgres:16
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      PGDATA: /var/lib/postgresql/data/pgdata
    restart: always
    networks:
      - backend
    volumes:
      - /home/nostradamus/dockers/streamystats/pgdata/:/var/lib/postgresql/data

volumes:
  pgdata:

networks:
  backend:

I have it running on port 3011 to avoid a conflict.

Thank you and have a nice day,

fredrikburmester commented 5 days ago

Ah ok, thanks, please remove the healthcheck for phoenix will probably solve the issue.

Nostradamus1973 commented 4 days ago

Ah ok, thanks, please remove the healthcheck for phoenix will probably solve the issue.

That worked like a charm, thank you. I have one other issue as well, my series aren't populating like the movies. Could that be related to streamystats-phoenix-1 issue also?

Screenshot_20241121_075648

fredrikburmester commented 4 days ago

You can try to run a full sync task from the streamystats settings first, check the log for errors when doing that.

If there aren't any logs indicating that something is wrong and it doesn't work please remove streamystats completely and start fresh. Make sure to remove the docker volume for the database when doing so.

If that doesn't work i'll try to help you out!

Nostradamus1973 commented 4 days ago

You can try to run a full sync task from the streamystats settings first, check the log for errors when doing that.

If there aren't any logs indicating that something is wrong and it doesn't work please remove streamystats completely and start fresh. Make sure to remove the docker volume for the database when doing so.

If that doesn't work i'll try to help you out!

Okay thanks for that tip, I'll give it a try.

BTW, on a side note, I know this isn't streamystats related, BUT, Streamyfin is pretty amazing and has enormous potential, the fact that it has live TV support blows away any 3rd party apps currently available. I only wish is that it would run on Android/Google TV. Any thoughts on when a viable release for Android/Google TV will be released?

Thx again for all your help and have a nice day.

fredrikburmester commented 4 days ago

Hi, thanks. We're working hard on streamyfin and there's a lot of other issues we're working on right now. When we release a stable version of Streamyfin we'll look into TV versions. There's no timeline on that at all since it's mainly me and one other guy working on this super part-time.

Nostradamus1973 commented 4 days ago

Hi, thanks. We're working hard on streamyfin and there's a lot of other issues we're working on right now. When we release a stable version of Streamyfin we'll look into TV versions. There's no timeline on that at all since it's mainly me and one other guy working on this super part-time.

Understood on Streamyfin, I'm following all activity, so, when the time comes, I'll give it a whirl on my nVidia Shield.

I did delete the database folder only leaving my docker-compose.yml and got a fresh copy of streamystats running again. The log has some errors, please see the attached. Thx _streamystats-phoenix-1_logs.txt

fredrikburmester commented 4 days ago

Thanks, i'll look into those errors!