Closed ogamingSCV closed 1 month ago
Try changing labels like this?
homepage.href=/bazarr/
homepage.widget.url=http://bazarr:6767/bazarr/
Tried that, also because that is the default. But this way it can't even connect to the service:
API Error: HTTP Error
URL: http://bazarr:6767/bazarr/api/movies/wanted?apikey=***
I have Bazarr as well over VPN, so I copied the part of the config from the qBittorrent client with the vpn
as the URL Label.
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:libtorrentv1
container_name: qbittorrent
[...]
labels:
[...]
- homepage.group=Download
- homepage.name=qBittorrent
- homepage.icon=qbittorrent.png
- homepage.href=/qbittorrent
- homepage.description=Bittorrent client
- homepage.weight=2
- homepage.widget.type=qbittorrent
- homepage.widget.url=http://vpn:8080
- homepage.widget.username=${QBITTORRENT_USERNAME}
- homepage.widget.password=${QBITTORRENT_PASSWORD}
network_mode: "service:vpn"
depends_on:
vpn:
condition: service_healthy
Sonarr, Radarr and Prowlarr also have the same config change (Homepage Labels, VPN Network) and they work fine.
radarr:
image: lscr.io/linuxserver/radarr
container_name: radarr
[...]
labels:
- traefik.enable=true
- traefik.http.routers.radarr.rule=(Host(`${HOSTNAME}`) && PathPrefix(`/radarr`))
- traefik.http.routers.radarr.tls=true
- traefik.http.routers.radarr.tls.certresolver=myresolver
- traefik.http.services.radarr.loadbalancer.server.port=7878
- homepage.group=Media
- homepage.name=Radarr
- homepage.icon=radarr.png
- homepage.href=/radarr
- homepage.description=Movies management
- homepage.weight=1
- homepage.widget.type=radarr
- homepage.widget.url=http://vpn:7878
#- homepage.widget.url=http://radarr:7878/radarr
- homepage.widget.key=${RADARR_API_KEY}
network_mode: "service:vpn"
depends_on:
vpn:
condition: service_healthy
As the original error suggests, it can connect to the service, but can't process the data for some reason.
Did you try with the trailing slash as I have in the labels that I posted?
Yes I tested that as well, but it only sets the URL to a ...bazarr//...
, due to it being added by the subpage anyways.
Are you using any browser addons that would restrict javascript execution like NoScript, etc.?
Tried it with Firefox, Chrome and Safari. I tested with disabling every extension. The error seams to be Server side and not a local issue, also because its not an error in the console, but rather from the Homepage integration itself.
homepage.widget.url=http://vpn:7878
this is where the error is coming from, it should be homepage.widget.url=http://vpn:7878/radarr
instead. Make sure all services have their base URL configured. Bazarr should reply at http://vpn:6767/bazarr
so the API URL should be http://vpn:6767/bazarr/api
and not http://vpn:6767/api
like in your screenshot.
I am absolutely enjoying what has been done with this project and love the simplicity!
The only issue I can't get fixed is the bazarr integration for the homepage. I am routing bazarr through my VPN and the service itself work perfectly.
I double checked the arguments and API all well as if homepage can correctly access bazarr. It all checks out. Even a local access to the API URL from the homepage container verifies the correct URL.
I am not really sure what to do with
You need to enable JavaScript to run this app
.Shown Error on
homepage
:Docker Compose part for
bazarr
:Due to the minimal configuration options for this I am kinda helpless. Maybe I am still overseeing something.
Cheers!