Giter Site home page Giter Site logo

docker-rtorrent-flood's Introduction

Hello world!

I'm a guy spending too much time breaking things he shouldn't.

docker-rtorrent-flood's People

Contributors

coosos avatar denbue avatar ei-hn avatar hexpandaa avatar jeremymahieu avatar wonderfall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-rtorrent-flood's Issues

How to connect to rTorrent?

How can I connect Flood to rTorrent? I tried everything using the documentation: localhost, /, IP of my host, port numbers. Unix socket path (/).

flood

What am i missing?

Auth return 404 when i try to connect

After update of this container the authentification request return 404 when enter good id and password. But when I send wrong id and password return a normal response ("unauthorized" or something else)

npm error with latest tag

Hello, I've been using your docker image for a while now to great success! I think the latest tag broke something though, as I can't log in to my Flood server anymore. These are the errors that I get when I try:

Flood server starting on http://undefined:3000.

/usr/flood/node_modules/argon2/argon2.js:88
      m: memoryCost, t: timeCost, p: parallelism
      ^

TypeError: Cannot destructure property `m` of 'undefined' or 'null'.
    at Object.verify (/usr/flood/node_modules/argon2/argon2.js:90:7)
    at db.findOne.exec (/usr/flood/server/models/Users.js:25:10)
    at newArguments.(anonymous function) (/usr/flood/node_modules/nedb/lib/executor.js:29:17)
    at Cursor.execFn (/usr/flood/node_modules/nedb/lib/datastore.js:518:14)
    at callback (/usr/flood/node_modules/nedb/lib/cursor.js:126:19)
    at /usr/flood/node_modules/nedb/lib/cursor.js:193:12
    at /usr/flood/node_modules/nedb/lib/datastore.js:329:14
    at Object.async.eachSeries (/usr/flood/node_modules/nedb/node_modules/async/lib/async.js:130:20)
    at /usr/flood/node_modules/nedb/lib/datastore.js:323:11
    at fn (/usr/flood/node_modules/nedb/node_modules/async/lib/async.js:582:34)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server/bin/start.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

┌──────────────────────────────────────────────┐
│           npm update check failed            │
│     Try running with sudo or get access      │
│     to the local update config store via     │
│ sudo chown -R $USER:$(id -gn $USER) /.config │
└──────────────────────────────────────────────┘

> [email protected] start /usr/flood
> node server/bin/start.js

Flood server starting on http://undefined:3000.

how to update from libtorrent v0.13.7

from libtorrent v0.13.7+rTorrent BiTorrent client v0.9.7

to container with libtorrent v0.13.8+rTorrent BiTorrent client v0.9.8 without loosing any info?

Any idea what's wrong?

When I try to run the container, it takes a long time, and then finally spits out this error repeatedly:

ttCaught internal_error: PollEPoll::modify(...) epoll_ctl(7, 1 -> 1, 0, [0x7fd4fde0bf00:1]) = 1: Operation not permitted
Stack dump not enabled.

I'm using this docker run:

docker run --restart unless-stopped -p 9031:3000 -p 49184:49184/tcp --net=my-download -e FLOOD_SECRET='#fdsfdsf@dsfdsfwf^3' -e PKG_CONFIG_PATH:/usr/local/lib/pkgconfig -d --name flood -v scotts_flood_data:/flood-db -v "/f/Fetched Media/Unsorted":/data:rw -v "/f/Fetched Media/Blackhole":/blackhole:rw wonderfall/rtorrent-flood:new

Also just a side note: the docker hub page has confusing info regardign the tag to use. At the bottom of the page it shows to use "latest":

image

(that'll give you an error if trying to use it)

and the tags page says to use "new":

image

rtorrent keeps saying that the NFS disk is full

I've bind the /data and /flood-db on my 2To NFS disk, but rtorrent keeps saying that the disk is full, and stop downloading torrents. And even on Flood, the disk seems full.

image

I've tried to specified volumes as NFS, still don't work :

version: '3.7'
services:
  flood:
    image: 127.0.0.1:5000/rtorrent-flood
    restart: always
    tty: true
    volumes:
      - type: volume
        source: plex_volume_movies
        target: /data
        volume:
          nocopy: true
      - type: volume
        source: plex_volume_db
        target: /flood-db
        volume:
          nocopy: true
    ports:
      - 4000:3000
      - 49184:49184
    environment:
      - FLOOD_SECRET=secretcodefloorthatshouldbeover30characters

volumes:
  plex_volume_movies:
    driver_opts:
      type: "nfs"
      o: "addr=192.168.1.22,nolock,soft,rw"
      device: ":/plex/movies"
  plex_volume_db:
    driver_opts:
      type: "nfs"
      o: "addr=192.168.1.22,nolock,soft,rw"
      device: ":/plex/db"

Do you have any idea how to fix it ? Thanks !

How to edit rtorrent.rc?

I tried to access the container bash with:

sudo docker exec -it rtorrentFlood /bin/bash

It gives me the error:

OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown

How can I access the container to edit the rtorrent configuration?

Speed limits

How can I set the default speed limit?

When container is started, both Upload and Download limits are set to Unlimited.

Thanks.

Perhaps add a log message about the chown command at startup

The chown command at startup seems to take a considerable amount of time (20-30 seconds for me). I think it would be helpful if there was a log message indicating that the container is indeed doing something and that you just need to wait.

Setting unwanted permissions for shared directories

chown -R $UID:$GID /data /home/torrent /tmp /usr/flood/dist /flood-db /etc/s6.d

/data is usually a directory that contains all the finished torrent data. This means it's probably shared with other services. Setting the owner by default to "991:991" or to anything is very annoying. It means other services will stop working because of (re)starting rtorrent.

Wouldn't it be better to check permissions, log a warning if read/write is not permitted and stop?

Tried /tmp/rtorrent.sock can't connect

pls fix

to reproduce:
docker run --restart unless-stopped -p 9031:3000 -p 49184:49184/tcp -e FLOOD_SECRET='u45235-4efw-534' -d --name flood wonderfall/rtorrent-flood:new

and if it helps (sry for not inlcuing it as a log):
�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(9, 1 -> 1, 0, [0x7f490f01ae20:1]) = 1: Operation not permitted

Stack dump not enabled.

�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(9, 1 -> 1, 0, [0x7fdc01157e20:1]) = 1: Operation not permitted

Stack dump not enabled.

�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(9, 1 -> 1, 0, [0x7f496d268e20:1]) = 1: Operation not permitted

Stack dump not enabled.

�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(9, 1 -> 1, 0, [0x7fa4e427be20:1]) = 1: Operation not permitted
�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(9, 1 -> 1, 0, [0x7f768e621e20:1]) = 1: Operation not permitted

Stack dump not enabled.

POST /api/client/connection-test 500 1.661 ms - 21

POST /api/client/connection-test 500 1.843 ms - 21

�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(9, 1 -> 1, 0, [0x7f5bcead6e20:1]) = 1: Operation not permitted

Stack dump not enabled.

POST /api/client/connection-test 500 1.556 ms - 21

POST /api/client/connection-test 500 1.342 ms -

Error during docker pull

To reproduce:

$ docker pull wonderfall/rtorrent-flood
Using default tag: latest
Error response from daemon: manifest for wonderfall/rtorrent-flood:latest not found: manifest unknown: manifest unknown

I know that I can do docker pull wonderfall/rtorrent-flood:new.

But this is not a solution. IMHO the first command shouldn't fail. Can you fix it ?

Ty

Provide a SCGI Mount Point

Flood doesn't use scgi mount point for communicate with rtorrent.
But some other apps use this like transdrone (or my script 😅 )

It's possible to provide this? with a web server or via nodejs whatever.

Torrents won't stay active

After "start" the torrents update the number of peers/seeds (which is non-zero), starts seeding, but in a minute it stops. This is happening for all the torrents I add.

I'm not sure how to debug this issue.

Can't seem to get working with traefik

Having issues getting the WEBROOT value to work with traefik. If I launch the below, I can hit the domain at example.com/rutorrent... but it looks like Flood is trying to load static files from example.com ignoring the context path.

  rutorrent:
    container_name: rutorrent
    image: wonderfall/rtorrent-flood
    restart: always
    environment:
    - TZ=${TZ}
    - PGID=${PGID}
    - PUID=${PUID}
    - WEBROOT=/rutorrent
    volumes:
    - ${USERDIR}/rutorrent:/config
    - ${DOWNLOADS}:/downloads
    logging:
      options:
        max-size: "2m"
        max-file: "5"
    networks:
    - traefik_proxy
    labels:
    - "traefik.enable=true"
    - "traefik.backend=rutorrent"
    - "traefik.frontend.rule=Host:${DOMAINNAME}; PathPrefix: /rutorrent"
    - "traefik.port=3000"
    - "traefik.docker.network=traefik_proxy"
    - "traefik.frontend.headers.SSLRedirect=true"
    - "traefik.frontend.headers.STSSeconds=315360000"
    - "traefik.frontend.headers.browserXSSFilter=true"
    - "traefik.frontend.headers.contentTypeNosniff=true"
    - "traefik.frontend.headers.forceSTSHeader=true"
    - "traefik.frontend.headers.SSLHost=valhalla.life"
    - "traefik.frontend.headers.STSIncludeSubdomains=true"
    - "traefik.frontend.headers.STSPreload=true"
    - "traefik.frontend.headers.frameDeny=true"

Have I missed anything obvious here?

Use /RPC2 for external services

Hey,

any plan on including the ability to expose the unix socket to /RPC2 so that services like sonarr or radarr can connect?

Thanks

Operation not permitted. Stack dump not enabled.

First off, I am Docker stupid. I've worked with web servers before, but this is a new world for me. So if I missed something simple, don't be surprised. Just seeking help.

I've installed this from the Docker Catalog within Plesk using the new tag and when it started, I got the following errors:

> [email protected] start /usr/flood
> node server/bin/start.js

�[?1049h�[22;0;0t�[1;24r�(B�[m�[4l�[?7h�[?1h�=�[?25l�[24;1H�[?12l�[?25h�[?1049l�[23;0;0t
�[?1l�>Caught internal_error: PollEPoll::modify(...) epoll_ctl(7, 1 -> 1, 0, [0x7fb5dda3df00:1]) = 1: Operation not permitted
Stack dump not enabled.
Flood server starting on http://undefined:3000.

Despite this, I was still able to load the welcome screen but when I went to create a user, it just hung and wouldn't load. I revisited the website and got ERR_CONNECTION_REFUSED.
Screen Shot 2019-11-17 at 9 41 12 PM
Screen Shot 2019-11-17 at 9 41 19 PM

Error when installing?

docker pull wonderfall/rtorrent-flood
Using default tag: latest
Error response from daemon: manifest for wonderfall/rtorrent-flood:latest not found: manifest unknown: manifest unknown

editable rtorrent.rc

I can't find a way to access and modify the rtorrent.rc. Having the ability to edit it would be nice.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.