binhex / arch-rtorrentvpn

Docker build script for Arch Linux base with ruTorrent, rTorrent, autodl-irssi, Privoxy and OpenVPN
GNU General Public License v3.0
239 stars 37 forks source link

ruTorrent WebUI error: Bad response from server: (500 [error,getplugins]) Internal Server Error #194

Open InvisCo opened 2 years ago

InvisCo commented 2 years ago

I setup this docker container for the first time today and I am running into some errors. This is also the first time I am using rtorrent/rutorrent so I don't know my way around them yet.

Issues

  1. When I open the web UI I get the following error:
[06.06.2022 14:39:38] WebUI started.
[06.06.2022 14:39:39] Bad response from server: (500 [error,getplugins]) Internal Server Error
[06.06.2022 14:39:47] JS error: [https://<LAN IP>:9080/js/webui.js : 776] TypeError: this.systemInfo is undefined

image

  1. Another issue I had was that the container was not starting with any PUID and PGID other than 0.

Logs

Before getting the logs, I cleared the config folder and only kept the wireguard/wg0.conf file.

Issue 1. The supervisord.log is here: https://pastebin.com/uTzk9KS3

Issue 2. The supervisord.log is here: https://pastebin.com/AR2u57Nh

Docker Compose file

version: "3.7"
networks:
  default:
    external:
      name: ${DOCKER_NETWORK}

services:
  rtorrentvpn:
    image: binhex/arch-rtorrentvpn:latest
    container_name: rtorrentvpn
    restart: unless-stopped
    privileged: true
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
    networks:
      default:
        aliases:
          - torrentvpn
          - privoxy
    # ports:
    #   - 9080:9080 # ruTorrent WebUI http
    #   - 9443:9443 # ruTorrent WebUI https
    #   - 8118:8118 # Privoxy
    environment:
      # - PUID=${PUID}
      # - PGID=${PGID}
      - PUID=0
      - PGID=0
      - UMASK=${UMASK}
      - PHP_TZ=UTC
      - DEBUG=true
      # Enable Features
      - ENABLE_PRIVOXY=yes
      - ENABLE_AUTODL_IRSSI=no
      - ENABLE_RPC2=no
      # VPN Settings
      - VPN_ENABLED=yes
      - VPN_PROV=custom
      - VPN_CLIENT=wireguard
      - LAN_NETWORK=10.0.0.0/8
      - NAME_SERVERS=100.64.0.7 # DNS name servers you want to use when the VPN tunnel is established
      # WebUI Settings
      - ENABLE_WEBUI_AUTH=no
      # - WEBUI_USER=<webui username>
      # - WEBUI_PASS=<webui password>
      # RPC2 Settings
      # - ENABLE_RPC2_AUTH=<yes|no>
      # - RPC2_USER=<rpc2 username>
      # - RPC2_PASS=<rpc2 password>
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${APPDATA}/rtorrentvpn:/config
      - ${STORAGE}/other/downloads:/media/downloads
VincentBean commented 2 years ago

I'm having the same issue with the following error:

[error] 866#866: *1 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(/usr/share/webapps/rutorrent/conf/config.php): Failed to open stream: Permission denied in /usr/share/webapps/rutorrent/php/util.php on line 785PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/usr/share/webapps/rutorrent/conf/config.php' (include_path='.:') in /usr/share/webapps/rutorrent/php/util.php:785