Docker Community Forums

Share and learn in the Docker community.

ERROR: for prowlarr a bytes-like object is required, not 'str'

I am trying to use LMDS(http s://greenfrognest.com/lmdsondocker.php) which uses docker-compose. i am trying to use prowlarr(ht tps://hub.docker.com/r/linuxserver/prowlarr) with openvpn-client(ht tps://hub.docker.com/r/dperson/openvpn-client) in docker. but, when i use both together, as outlined here(htt ps://greenfrognest.com/LMDSVPN.php) I get this error:ERROR: for prowlarr a bytes-like object is required, not ‘str’
Here is the log file: https://termbin.com/vanr
Here is docker-compose.yml : https://termbin.com/3k7n

There is a similar issue here:

In your compose file you also tried to use the same port (9696) for the VPN and prowlarr. Only one service can listen on a port and it also applies to port forwarding. You can’t forward the same port to two different container. Probably this is why you commented that part out in your docker compose file:

  prowlarr:
    image: ghcr.io/linuxserver/prowlarr:develop
    container_name: prowlarr
    depends_on:
      - vpn
    network_mode: service:vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - ./volumes/prowlarr/data:/config
#    ports:
#      - 9696:9696
    restart: unless-stopped