Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localizations not found? #226

Open
3 tasks done
YouveGotMeowxy opened this issue Mar 30, 2023 · 1 comment
Open
3 tasks done

Localizations not found? #226

YouveGotMeowxy opened this issue Mar 30, 2023 · 1 comment

Comments

@YouveGotMeowxy
Copy link

YouveGotMeowxy commented Mar 30, 2023

Support guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

I just installed for the first time to checkout rutorrent (looks great so far from what I can see!) and hopefully move from qbittorrent, but it takes a looong time to load, and then the console shows a long line of errors:

Expected behaviour

The app loads fast and runs fine :)

Actual behaviour

image

Steps to reproduce

Nothing special that I can tell. I just loaded the docker container and got this.

Docker info

Click
Client:
Context:    default
Debug Mode: false
Plugins:
WARNING: Plugin "/usr/libexec/docker/cli-plugins/docker-app" is not valid: failed to fetch metadata: fork/exec /usr/libexec/docker/cli-plugins/docker-app: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-buildx" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-buildx: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-compose" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-compose: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-dev" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-dev: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-extension" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-extension: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-sbom" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-sbom: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-scan" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-scan: no such file or directory
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-scout" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-scout: no such file or directory

Server:
Containers: 47
Running: 46
Paused: 0
Stopped: 1
Images: 88
Server Version: 23.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
NodeID: gb1cto7aq68fp4refns
Is Manager: true
ClusterID: kki6v7j3sbtrknjdvd4
Managers: 1
Nodes: 3
Default Address Pool: 10.0.0.0/8
SubnetSize: 24
Data Path Port: 4789
Orchestration:
 Task History Retention Limit: 5
Raft:
 Snapshot Interval: 10000
 Number of Old Snapshots to Retain: 0
 Heartbeat Tick: 1
 Election Tick: 10
Dispatcher:
 Heartbeat Period: 5 seconds
CA Configuration:
 Expiry Duration: 3 months
 Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address: 192.168.0.7
Manager Addresses:
 192.168.0.7:2377
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 1e1ea6e986c6c86565bc33d52e34b81b3e2bc71f
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
seccomp
 Profile: builtin
cgroupns
Kernel Version: 5.15.90.1-microsoft-standard-WSL2
Operating System: Ubuntu 20.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 15.62GiB
Name: Cloud
ID: 242f7a18-34b8-4e10-aad4-ca740d76fc24
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

Version

Docker compose version (type docker-compose --version):

Docker Compose version v2.17.2

System info (type uname -a):

Linux Cloud 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Docker compose

Click
rutorrent:
  hostname: 'rutorrent'
  image: 'ghcr.io/crazy-max/rtorrent-rutorrent:latest'
  environment:
    TZ: 'America/Chicago'
    PUID: '1000'
    PGID: '1000'
  volumes:
    - '/opt/docker/configs/rutorrent/config:/data:rw'
    - '/mnt/e/Media/.downloads:/Media/.downloads:rw'
  networks:
    - 'download'
  deploy:
    mode: 'replicated'
    replicas: 1
    placement:
      constraints:
        - 'node.labels.Cloud == true'
    resources:
      limits:
        memory: '500M'
    restart_policy:
      condition: 'any'

Container logs

Click
Checking ruTorrent custom themes...
Setting GeoIP2 databases for geoip2 plugin...
Fixing perms...
[cont-init.d] 03-config.sh: exited 0.
[cont-init.d] 04-create-services.sh: executing... 
[cont-init.d] 04-create-services.sh: exited 0.
[cont-init.d] ~-socklog: executing... 
[cont-init.d] ~-socklog: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2023/03/30 15:29:44 [notice] 511#511: using the "epoll" event method
2023/03/30 15:29:44 [notice] 511#511: nginx/1.22.1
2023/03/30 15:29:44 [notice] 511#511: OS: Linux 5.15.90.1-microsoft-standard-WSL2
2023/03/30 15:29:44 [notice] 511#511: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/03/30 15:29:44 [notice] 511#511: start worker processes
2023/03/30 15:29:44 [notice] 511#511: start worker process 557
2023/03/30 15:29:44 [notice] 511#511: start worker process 558
2023/03/30 15:29:44 [notice] 511#511: start worker process 559
2023/03/30 15:29:44 [notice] 511#511: start worker process 560
2023/03/30 15:29:44 [notice] 511#511: start worker process 566
2023/03/30 15:29:44 [notice] 511#511: start worker process 592
2023/03/30 15:29:44 [notice] 511#511: start worker process 659
2023/03/30 15:29:44 [notice] 511#511: start worker process 761
2023/03/30 15:29:44 [notice] 511#511: start worker process 762
2023/03/30 15:29:44 [notice] 511#511: start worker process 777
2023/03/30 15:29:44 [notice] 511#511: start worker process 800
2023/03/30 15:29:44 [notice] 511#511: start worker process 823
[30-Mar-2023 15:29:44] NOTICE: fpm is running, pid 508
[30-Mar-2023 15:29:44] NOTICE: ready to handle connections

Additional info

If i click on the Settings icon, i get a red popup that says roughly the same thing as in the console:

Click
Uncaught TypeError: Cannot read properties of null (reading 'rows') from TypeError: Cannot read properties of null (reading 'rows')
  at theWebUI.addAndShowSettings (<anonymous>:4683:17)
  at theWebUI.addAndShowSettings (<anonymous>:5671:26)
  at theWebUI.addAndShowSettings (<anonymous>:6132:29)
  at theWebUI.addAndShowSettings (<anonymous>:7434:29)
  at theWebUI.addAndShowSettings (<anonymous>:7653:29)
  at theWebUI.addAndShowSettings (<anonymous>:7922:29)
  at theWebUI.addAndShowSettings (<anonymous>:8924:29)
  at theWebUI.addAndShowSettings (<anonymous>:9752:28)
  at Object.<anonymous> (https://rutorrent.my.domain/js/rtorrent.js?v=402:1300:22)
  at c (https://rutorrent.my.domain/js/jquery.js?v=402:2:28327)

I'm also using RUT in a Reverse Proxy (LSIO) and use this config:

Click
## Version 2023/02/05
# make sure that your rutorrent container is named rutorrent
# make sure that your dns has a cname set for rutorrent

server {
  listen 443 ssl;
  listen [::]:443 ssl;

  server_name rutorrent.*;

  include /config/nginx/ssl.conf;

  client_max_body_size 0;

  # Scott: Globals
  include /config/nginx/global.conf;

  # enable for ldap auth (requires ldap-location.conf in the location block)
  #include /config/nginx/ldap-server.conf;

  # enable for Authelia (requires authelia-location.conf in the location block)
  include /config/nginx/authelia-server.conf;

  # enable for Authentik (requires authentik-location.conf in the location block)
  #include /config/nginx/authentik-server.conf;

  location / {
      # enable the next two lines for http auth
      #auth_basic "Restricted";
      #auth_basic_user_file /config/nginx/.htpasswd;

      # enable for ldap auth (requires ldap-server.conf in the server block)
      #include /config/nginx/ldap-location.conf;

      # enable for Authelia (requires authelia-server.conf in the server block)
      include /config/nginx/authelia-location.conf;

      # enable for Authentik (requires authentik-server.conf in the server block)
      #include /config/nginx/authentik-location.conf;

      include /config/nginx/proxy.conf;
      include /config/nginx/resolver.conf;
      set $upstream_app rutorrent;
      set $upstream_port 8080;
      set $upstream_proto http;
      proxy_pass $upstream_proto://$upstream_app:$upstream_port;

      # Add Theme
      set $app rutorrent;
      include /config/nginx/theme-park.conf;
  }

  location /RPC2 {
      # enable the next two lines for http auth
      #auth_basic "Restricted";
      #auth_basic_user_file /config/nginx/.htpasswd;

      # enable for ldap auth (requires ldap-server.conf in the server block)
      #include /config/nginx/ldap-location.conf;

      # enable for Authelia (requires authelia-server.conf in the server block)
      #include /config/nginx/authelia-location.conf;

      # enable for Authentik (requires authentik-server.conf in the server block)
      #include /config/nginx/authentik-location.conf;

      # block rpc access by default because it is unprotected
      # you can comment out the next line to enable remote rpc calls
      deny all;

      include /config/nginx/proxy.conf;
      include /config/nginx/resolver.conf;
      set $upstream_app rutorrent;
      set $upstream_port 8000;
      set $upstream_proto http;
      proxy_pass $upstream_proto://$upstream_app:$upstream_port;

  }
}

Also having visual issues, but not sure whether they're related until I sort these issues out first, plus I'm using the Theme.Park theme which I haven't had time to test yet if it's the visual problem.

image

@stickz
Copy link
Contributor

stickz commented Apr 7, 2023

@YouveGotMeowxy Please disable your park themes. They are broken on this new version of ruTorrent. Afterwards, try again to see if the localization works properly. This is a chain reaction. I believe the broken themes are causing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants