Boerderij / Varken

Standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana as a frontend
MIT License
1.14k stars 134 forks source link

[Feature Request] Overseerr support #189

Open 19wolf opened 3 years ago

19wolf commented 3 years ago

Overseerr is a new alternative to Ombi, and should be supported by Varken.

samwiseg0 commented 3 years ago

I agree. I would like to see where the project goes. I will see if I can work on it in the near future. The developer has been inundated with new folks.

Maxtoid commented 3 years ago

I too would very much love Overseerr support for this if possible at some point. After years on Ombi, I have cutover my production requests system to Overseerr as it is so stable and SO much better all around than Ombi.

redredbeard commented 3 years ago

Added support in a pull request - https://github.com/Boerderij/Varken/pull/210

samwiseg0 commented 2 years ago

Overseer support has been added in develop. Please test and let us know if there are any issues.

modem7 commented 2 years ago

I just installed the development version yesterday and added an Overseerr configuration. I don't see any errors about Overseerr in the logs, and plenty of "WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding." Most likely due to no new requests, but there was a couple new requests yesterday and some requests completed yesterday.

So far I don't see an "Overseerr" table in the database. Just Ombi and the other configured services.

I've just done the same, but got it working.

Here's my compose file snippet:

  # Varken - Application to aggregate data from the Plex ecosystem
  varken:
    hostname: varken
    container_name: Varken
    image: boerderij/varken:develop
    networks:
      - isonet
      - isolated
    volumes:
      - $USERDIR/TIGVStack/Varken:/config
    environment:
      - PUID=$PUID
      - PGID=$PGID
      - TZ=$TZ
      - VRKN_GLOBAL_SONARR_SERVER_IDS=$VRKN_GLOBAL_SONARR_SERVER_IDS
      - VRKN_GLOBAL_RADARR_SERVER_IDS=$VRKN_GLOBAL_RADARR_SERVER_IDS
      - VRKN_GLOBAL_LIDARR_SERVER_IDS=$VRKN_GLOBAL_LIDARR_SERVER_IDS
      - VRKN_GLOBAL_TAUTULLI_SERVER_IDS=$VRKN_GLOBAL_TAUTULLI_SERVER_IDS
      - VRKN_GLOBAL_OMBI_SERVER_IDS=$VRKN_GLOBAL_OMBI_SERVER_IDS
      - VRKN_GLOBAL_SICKCHILL_SERVER_IDS=$VRKN_GLOBAL_SICKCHILL_SERVER_IDS
      - VRKN_GLOBAL_MAXMIND_LICENSE_KEY=$VRKN_GLOBAL_MAXMIND_LICENSE_KEY
      - VRKN_INFLUXDB_URL=$VRKN_INFLUXDB_URL
      - VRKN_INFLUXDB_PORT=$VRKN_INFLUXDB_PORT
      - VRKN_INFLUXDB_SSL=$VRKN_INFLUXDB_SSL
      - VRKN_INFLUXDB_VERIFY_SSL=VRKN_INFLUXDB_VERIFY_SSL
      - VRKN_INFLUXDB_USERNAME=$VRKN_INFLUXDB_USERNAME
      - VRKN_INFLUXDB_PASSWORD=VRKN_INFLUXDB_PASSWORD
      ~~Other variables not relevant to Overseer~~
      - VRKN_OVERSEERR_1_URL=$VRKN_OVERSEERR_1_URL
      - VRKN_OVERSEERR_1_APIKEY=$VRKN_OVERSEERR_1_APIKEY
      - VRKN_OVERSEERR_1_SSL=$VRKN_OVERSEERR_1_SSL
      - VRKN_OVERSEERR_1_VERIFY_SSL=$VRKN_OVERSEERR_1_VERIFY_SSL
      - VRKN_OVERSEERR_1_GET_REQUEST_TOTAL_COUNTS=$VRKN_OVERSEERR_1_GET_REQUEST_TOTAL_COUNTS
      - VRKN_OVERSEERR_1_REQUEST_TOTAL_RUN_SECONDS=$VRKN_OVERSEERR_1_REQUEST_TOTAL_RUN_SECONDS
      - VRKN_OVERSEERR_1_GET_LATEST_REQUESTS_TO_FETCH=$VRKN_OVERSEERR_1_GET_LATEST_REQUESTS_TO_FETCH
      - VRKN_OVERSEERR_1_NUM_LATEST_REQUESTS_SECONDS=$VRKN_OVERSEERR_1_NUM_LATEST_REQUESTS_SECONDS
    logging:
      driver: "json-file"
      options:
        max-size: 10m
        max-file: "3"
    # labels:
    #   - backup
    depends_on:
      - influxdb
    restart: always

And you'll need to change values in Grafana as well. I just modified the Ombi ones.

image

Be aware that there seems to be a typo here which may cause issues. It seems that it should be SECONDS not SECONDSS. Might be one for @samwiseg0 to address.

(Also this probably needs renaming to overseer.domain.ltd)

modem7 commented 2 years ago

Actually, my log reading skill must've sucked the first time around.

2022-03-29 14:51:14 : DEBUG : connectionpool : Resetting dropped connection: ****.1.20 2022-03-29 14:51:14 : DEBUG : connectionpool : http://********.1.20:5055 "GET /api/v1/request/count HTTP/1.1" 403 75 2022-03-29 14:51:14 : DEBUG : connectionpool : http://********.1.20:5055 "GET /api/v1/request?take=10&filter=all&sort=added HTTP/1.1" 403 75 2022-03-29 14:51:14 : WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding.

I've tried with address:port, fqdn:port, https fqdn via HA Proxy with SSL and no verify. Triple checked the API key ... When I try the configured api address + "/api/v1/request?take=10&filter=all&sort=added" in a browser I get a full JSON response, strangely without even providing an API key.

I've got this as my env vars (just in case it helps):

VRKN_OVERSEERR_1_URL="192.168.0.254:5055"
VRKN_OVERSEERR_1_APIKEY="hcxt2lvI2HmPtas9kit5haB6R8mzaQSEMJBsZQumsSGytQ6ue5xAMBxCKiUeviPU4X34"
VRKN_OVERSEERR_1_SSL="false"
VRKN_OVERSEERR_1_VERIFY_SSL="false"
VRKN_OVERSEERR_1_GET_REQUEST_TOTAL_COUNTS="true"
VRKN_OVERSEERR_1_REQUEST_TOTAL_RUN_SECONDS="30"
VRKN_OVERSEERR_1_GET_LATEST_REQUESTS_TO_FETCH="10"
VRKN_OVERSEERR_1_NUM_LATEST_REQUESTS_SECONDS="300"

(APIKEY value was generated randomly with pwgen for the above paste)

samwiseg0 commented 2 years ago

I just installed the development version yesterday and added an Overseerr configuration. I don't see any errors about Overseerr in the logs, and plenty of "WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding." Most likely due to no new requests, but there was a couple new requests yesterday and some requests completed yesterday.

So far I don't see an "Overseerr" table in the database. Just Ombi and the other configured services.

Please use discord for support

samwiseg0 commented 2 years ago

Please use discord for support

I thought the developer asked for feedback on the new feature here... As far as I can tell I haven't configured thee new feature incorrectly, sooo...feedback provided.

I am the developer... It should work. Overseerr requires the develop image as well. If you have issues use discord as Its easier. Thanks

a351must2 commented 2 years ago

I cleaned up my "off-topic" comments. I'd like to confirm this is working perfectly for me with Overseer now ... (my issue was caused by an "=" at the end of the API key getting dropped when pasting into the config)

samwiseg0 commented 2 years ago

@modem7 Both typos should be fixed. Thanks for the report.

djsly commented 2 years ago

Im seeing issues with auth as well.

I'm using the varken docker image with unraid, with the varken.ini

22-04-09 16:45:18 : DEBUG : connectionpool : http://********0.184:5055 "GET /api/v1/request/count HTTP/1.1" 403 75
2022-04-09 16:45:18 : DEBUG : connectionpool : http://********0.184:5055 "GET /api/v1/request?take=10&filter=all&sort=added HTTP/1.1" 403 75
2022-04-09 16:45:18 : WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding.

all the

[overseerr-1]
url = <ip>:5055
apikey = "<ID with = at the end>="
ssl = false
verify_ssl = false
get_request_total_counts = true
request_total_run_seconds = 30
get_latest_requests = true
num_latest_requests_to_fetch = 10
num_latest_requests_seconds = 30
samwiseg0 commented 2 years ago

Im seeing issues with auth as well.

I'm using the varken docker image with unraid, with the varken.ini

22-04-09 16:45:18 : DEBUG : connectionpool : http://********0.184:5055 "GET /api/v1/request/count HTTP/1.1" 403 75
2022-04-09 16:45:18 : DEBUG : connectionpool : http://********0.184:5055 "GET /api/v1/request?take=10&filter=all&sort=added HTTP/1.1" 403 75
2022-04-09 16:45:18 : WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding.

all the

[overseerr-1]
url = <ip>:5055
apikey = "<ID with = at the end>="
ssl = false
verify_ssl = false
get_request_total_counts = true
request_total_run_seconds = 30
get_latest_requests = true
num_latest_requests_to_fetch = 10
num_latest_requests_seconds = 30

Please use discord for support.

maslygan commented 2 years ago

Issues are not working(as I can see, they are not implemented yet) Would it be possible to copy the issues class from ombi, and change them to overseerr? I have no experience with API, so no clue if it would actually work. Tried to have a look in the python files, but I hope some of you can fix it :p

Jarsky commented 2 years ago

Overseer support has been added in develop. Please test and let us know if there are any issues.

Working good here mostly.

I'm having 2 issues.

image

EDIT: Nevermind, shouldnt be there so I just excluded it

image

BRTPOB commented 2 years ago

I'm in the process of getting Varken up and running, but I can't for the life of me get the Nightly build to pick up on my Overseerr section. This is what the logs look like, before it pukes on trying to connect to InfluxDB:

2022-07-17 18:05:35 : DEBUG : iniparser : Reading from varken.ini
2022-07-17 18:05:35 : DEBUG : iniparser : ********luxdb is a valid URL in module [********luxdb].
2022-07-17 18:05:35 : INFO : helpers : SONARR_SERVER_IDS : [1, 2, 3]
2022-07-17 18:05:35 : DEBUG : iniparser : ********onarr:8989 is a valid URL in module [********onarr-1].
2022-07-17 18:05:35 : DEBUG : iniparser : ********onarr4k:18989 is a valid URL in module [********onarr-2].
2022-07-17 18:05:35 : DEBUG : iniparser : ********28989 is a valid URL in module [********onarr-3].
2022-07-17 18:05:35 : INFO : helpers : RADARR_SERVER_IDS : [1, 2, 3]
2022-07-17 18:05:35 : DEBUG : iniparser : ********:7878 is a valid URL in module [********adarr-1].
2022-07-17 18:05:35 : DEBUG : iniparser : ********17878 is a valid URL in module [********adarr-2].
2022-07-17 18:05:35 : DEBUG : iniparser : ********27878 is a valid URL in module [********adarr-3].
2022-07-17 18:05:35 : INFO : iniparser : LIDARR_SERVER_IDS disabled.
2022-07-17 18:05:35 : INFO : iniparser : OMBI_SERVER_IDS disabled.
2022-07-17 18:05:35 : INFO : helpers : TAUTULLI_SERVER_IDS : [1]
2022-07-17 18:05:35 : DEBUG : iniparser : ********tulli is a valid URL in module [********tulli-1].
2022-07-17 18:05:35 : INFO : iniparser : SICKCHILL_SERVER_IDS disabled.
2022-07-17 18:05:35 : INFO : iniparser : UNIFI_SERVER_IDS disabled.

and this is what I put at the top of my varken.ini:

[global]
sonarr_server_ids = 1,2,3
radarr_server_ids = 1,2,3
lidarr_server_ids = false
tautulli_server_ids = 1
overseerr_server_ids = 1
ombi_server_ids = false
sickchill_server_ids = false
unifi_server_ids = false
maxmind_license_key = xxxxxxxxxxxxxxxx

and Overseerr section:

[overseerr-1]
url = overseerr
apikey = API key goes here
ssl = false
verify_ssl = false
get_request_type_counts = true
request_type_run_seconds = 300
get_request_total_counts = true
request_total_run_seconds = 300
get_issue_status_counts = true
issue_status_run_seconds = 300

What am I doing wrong?

samwiseg0 commented 2 years ago

@BRTPOB Please use discord for support.

rock7632 commented 1 year ago

hi, I just installed the development version and after updating varken.ini and modifying the ombi tables on my dashboard I'm still not seeing overseerr requests populate. I'm getting the below logs in varken: 2022-10-08 12:47:43 : DEBUG : connectionpool : https://********a.com:443 "GET /api/v1/request/count HTTP/1.1" 403 75 2022-10-08 12:47:43 : DEBUG : connectionpool : https://********a.com:443 "GET /api/v1/request?take=10&filter=all&sort=added HTTP/1.1" 403 75 2022-10-08 12:47:43 : WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding.

varken

samwiseg0 commented 1 year ago

hi, I just installed the development version and after updating varken.ini and modifying the ombi tables on my dashboard I'm still not seeing overseerr requests populate. I'm getting the below logs in varken:

`2022-10-08 12:47:43 : DEBUG : connectionpool : https://********a.com:443 "GET /api/v1/request/count HTTP/1.1" 403 75

2022-10-08 12:47:43 : DEBUG : connectionpool : https://********a.com:443 "GET /api/v1/request?take=10&filter=all&sort=added HTTP/1.1" 403 75

2022-10-08 12:47:43 : WARNING : overseerr : No data to send to influx for overseerr-latest-requests instance, discarding.`

varken

Please use discord for support.

Thank you

wranglatang commented 9 months ago

Morning will the overseer feature be pulled into the main branch of Varken - From reading above it appears that it is working?