crazy-max/docker-rtorrent-rutorrent

No space left on the device

rtmlp opened this issue · 4 comments

rtmlp commented

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

Hi. I have added rutorrent to my container stack and strangely I am noticing the following error in the log file

rtorrent: Error in option file: ~/.rtorrent.rc:51: Call to inotify_add_watch(...) failed: No space left on device

and the UI shows up like this

image

I have used the following code to start the container (inside the compose file)

  rutorrent:
    container_name: rutorrent
    image: ghcr.io/crazy-max/rtorrent-rutorrent:latest
    environment:
      - PUID=1029
      - PGID=100
      - XMLRPC_PORT=7000 # XMLRPC port through nginx over SCGI socket
      - RUTORRENT_PORT=6080 # ruTorrent HTTP port
      - WEBDAV_PORT=9010 # WebDAV port on completed downloads
      - RT_INC_PORT=28277 # Port forwarding - Incoming connections (network.port_range.set)
      - RT_DHT_PORT=6881 # DHT UDP port (for DHT to work, this port must be open)/(dht.port.set)
    volumes:
      - "/path/docker/rutorrent/data:/data"
      - "/path/docker/rutorrent/passwd:/passwd"
      - "/path/data/torrents/completed:/downloads"
      - "/path/data/uploads:/uploads" # mainly to upload torrents
    network_mode: "service:gluetun"
    depends_on:
      - gluetun

And in gluetun, I have the following ports forwarded

      # rutorrent
      - "7000:7000" # XMLRPC_PORT
      - "6080:6080" # RUTORRENT_PORT
      - "9010:9010" # WEBDAV_PORT
      - "6881:6881/udp" # RT_DHT_PORT

Expected behaviour

The container should be running and should have connection to the rtorrent

Actual behaviour

rutorrent not able to connect to rtorrent

Steps to reproduce

Not sure

Docker info

Added the docker logs

Docker Compose config

Added the compose config in the main text

Logs

Added the logs in the main text

Additional info

No response

stickz commented

@rtmlp Where is the watch directory inside your container configuration? It looks like you're missing some things.
https://github.com/crazy-max/docker-rtorrent-rutorrent#bootstrap-config-rtlocalrc

rtmlp commented

Hi @stickz . The watch directory is under '/path/docker/rutorrent/data/watch on the host or at /data/watch inside the container

merwan commented

I have the same issue and don't know the root cause of the problem, but I found a workaround by commenting line 51 of file .rtorrent.rc:

#directory.watch.added = (cat,(cfg.watch)), load.start

When using the docker-compose file provided in the examples https://github.com/crazy-max/docker-rtorrent-rutorrent/blob/master/examples/compose/compose.yml, you can find the file at this location: ./data/rtorrent/.rtorrent.rc

Thanks a lot @merwan . That worked for me as well. Closing this