xxacielxx / docker-rutorrent Goto Github PK
View Code? Open in Web Editor NEWrTorrent and ruTorrent Docker based image.
License: MIT License
rTorrent and ruTorrent Docker based image.
License: MIT License
Error when running container.
Expected to start container
docker compose up -d
produces error 'rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value. Container does not start and is not connectable
| 2024/04/30 19:37:47 [notice] 503#503: start worker process 788
rutorrent | 2024/04/30 19:37:47 [notice] 503#503: start worker process 834
rutorrent | 2024/04/30 19:37:47 [notice] 503#503: start worker process 862
rutorrent | [30-Apr-2024 19:37:47] NOTICE: fpm is running, pid 501
rutorrent | [30-Apr-2024 19:37:47] NOTICE: ready to handle connections
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
rutorrent | rtorrent: Failed to parse command line option: Error in option file: /etc/rtorrent/.rtlocal.rc:48: Not a value.
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 1/1
โ Container rutorrent Stopped 11.3s
canceled
ubuntu 22.04
docker version
Client: Docker Engine - Community
Version: 26.1.1
API version: 1.45
Go version: go1.21.9
Git commit: 4cf5afa
Built: Tue Apr 30 11:47:53 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.1
API version: 1.45 (minimum version 1.24)
Go version: go1.21.9
Git commit: ac2de55
Built: Tue Apr 30 11:47:53 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.31
GitCommit: e377cd56a71523140ca6ae87e30244719194a521
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
x86-64
---
services:
rutorrent:
image: xxacielxx/rutorrent:latest
container_name: rutorrent
ports:
- 6881:6881/udp # rtorrent
- 8001:8001 # rtorrent
- 8096:8080 # rtorrent
- 9000:9000 # rtorrent
- 50000:50000 # rtorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /home/***/docker/rtorrent/data:/data
- /home/***/docker/rtorrent/passwd:/passwd
- /mnt/****/Torrent:/downloads
restart: unless-stopped
https://dpaste.com/BJDXRKTG7
this error is also appearing on the main image this one is based off of. they are discussing it and have fixed it in the latest edge pull. link here: crazy-max/docker-rtorrent-rutorrent#339
Just did docker compose stop
docker system prune -f -a
then reloaded rtorrent with docker compose up -d
and get this in the logs when start up
[14.01.2023 05:05:18] WebUI started.
[14.01.2023 05:05:24] JS error: [http://192.168.1.115:8081/plugins/filedrop//jquery.filedrop.js : 28] TypeError: jQuery.event.props is undefined
[14.01.2023 05:05:24] JS error: [http://192.168.1.115:8081/ line 2 > injectedScript : 2584] TypeError: $(...).filedrop is not a function
not sure if it will effect how it works.. we shall see
Local socket /var/run/rtorrent/scgi.socket
is missing in the container. The rtorrent process is running but the socket thread appears to die shortly after starting.
No response
Deploy container from latest image
Browse to http://:8080
See error message
- Image: latest
- Browser: Brave
- Tried different browser?: yes
- OS: ArchLinux
- Docker version: 23.0.1
- How docker service was installed: Via pacman in Arch.
x86-64
[
{
"Id": "6d6b12c1e0d676ccb43ad0a0e407ff5e38514fd8a8cda567f7e6e9f32fd5d688",
"Created": "2023-02-17T00:15:41.652318779Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 135477,
"ExitCode": 0,
"Error": "",
"StartedAt": "2023-02-17T00:15:42.42017244Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:ac166968d900b1e9cce2022373d84ddadf3b239a746bd603b13fb5837bf6a341",
"ResolvConfPath": "/var/lib/docker/containers/6d6b12c1e0d676ccb43ad0a0e407ff5e38514fd8a8cda567f7e6e9f32fd5d688/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/6d6b12c1e0d676ccb43ad0a0e407ff5e38514fd8a8cda567f7e6e9f32fd5d688/hostname",
"HostsPath": "/var/lib/docker/containers/6d6b12c1e0d676ccb43ad0a0e407ff5e38514fd8a8cda567f7e6e9f32fd5d688/hosts",
"LogPath": "/var/lib/docker/containers/6d6b12c1e0d676ccb43ad0a0e407ff5e38514fd8a8cda567f7e6e9f32fd5d688/6d6b12c1e0d676ccb43ad0a0e407ff5e38514fd8a8cda567f7e6e9f32fd5d688-json.log",
"Name": "/rtorrent",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": [
"3e80bb2313de7ff89e329c5d854a5c2530596ce3dbc152be128997c118c2ae76"
],
"HostConfig": {
"Binds": [
"/Vol2/Media/Downloads:/downloads",
"rtorrent_passwd:/passwd",
"rtorrent_data:/data"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "bridge",
"PortBindings": {
"14725/tcp": [
{
"HostIp": "",
"HostPort": "14725"
}
],
"6881/udp": [
{
"HostIp": "",
"HostPort": "6881"
}
],
"8000/tcp": [
{
"HostIp": "",
"HostPort": "8001"
}
],
"8080/tcp": [
{
"HostIp": "",
"HostPort": "8080"
}
],
"9000/tcp": [
{
"HostIp": "",
"HostPort": "9000"
}
]
},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": [
"AUDIT_WRITE",
"CHOWN",
"DAC_OVERRIDE",
"FOWNER",
"FSETID",
"KILL",
"MKNOD",
"NET_BIND_SERVICE",
"NET_RAW",
"SETFCAP",
"SETGID",
"SETPCAP",
"SETUID",
"SYS_CHROOT"
],
"CapDrop": [
"AUDIT_CONTROL",
"BLOCK_SUSPEND",
"DAC_READ_SEARCH",
"IPC_LOCK",
"IPC_OWNER",
"LEASE",
"LINUX_IMMUTABLE",
"MAC_ADMIN",
"MAC_OVERRIDE",
"NET_ADMIN",
"NET_BROADCAST",
"SYSLOG",
"SYS_ADMIN",
"SYS_BOOT",
"SYS_MODULE",
"SYS_NICE",
"SYS_PACCT",
"SYS_PTRACE",
"SYS_RAWIO",
"SYS_RESOURCE",
"SYS_TIME",
"SYS_TTY_CONFIG",
"WAKE_ALARM"
],
"CgroupnsMode": "private",
"Dns": [],
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": [],
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"Init": false
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/66d48b4370fa95fc6b5041bd974e6570a37144061f40d6ab3572f0f77976d10a-init/diff:/var/lib/docker/overlay2/63f203a614e2ef0e1872edad126d014ac263f0e8b8b002ae8897a973f6d57f4b/diff:/var/lib/docker/overlay2/047bd51d1fe060c3099ac657ae69d07eb9593107c9fce5b1c74a319373a76d50/diff:/var/lib/docker/overlay2/cbe8a97d6ead64b7dd790461d2aa94449affd6fb4c81c06ea52dac487d9f2c4c/diff:/var/lib/docker/overlay2/11126ce9e014e70db333364e567ef1de2ced1a522e5ad95155f5ed9f2bc9fd4d/diff:/var/lib/docker/overlay2/934a40c26eb94b6414e78694d7c74922c9d26789bf5faa0045b8e9d3637a8cac/diff:/var/lib/docker/overlay2/36ad6d5292f0dc3bd92fea673f1a7d746d7f92fdd54ad1f2d63af5de24dc4986/diff:/var/lib/docker/overlay2/93c54b740d7b7893625f7a94dadfa5d43fbda20b81fb000caf8901f0029e4c84/diff:/var/lib/docker/overlay2/85e404e110ff89f411d76096f545b548a9939b72b143ff67cab79c79e214b7a6/diff:/var/lib/docker/overlay2/bb492b7f2d665062abe770e16a8644a3d0b83f0b125826a3af1c7193447b7e43/diff:/var/lib/docker/overlay2/b9ed75acad1abadfd0c0b709aeb7349997ebcc36ba144c074dac327612b02c05/diff:/var/lib/docker/overlay2/eca25423e81ba536bc396a95dc7351544dd2940acaf0105f6d8be2949b25c97f/diff",
"MergedDir": "/var/lib/docker/overlay2/66d48b4370fa95fc6b5041bd974e6570a37144061f40d6ab3572f0f77976d10a/merged",
"UpperDir": "/var/lib/docker/overlay2/66d48b4370fa95fc6b5041bd974e6570a37144061f40d6ab3572f0f77976d10a/diff",
"WorkDir": "/var/lib/docker/overlay2/66d48b4370fa95fc6b5041bd974e6570a37144061f40d6ab3572f0f77976d10a/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/Vol2/Media/Downloads",
"Destination": "/downloads",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "rtorrent_passwd",
"Source": "/var/lib/docker/volumes/rtorrent_passwd/_data",
"Destination": "/passwd",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "rtorrent_data",
"Source": "/var/lib/docker/volumes/rtorrent_data/_data",
"Destination": "/data",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "06df6555197b",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"14725/tcp": {},
"6881/udp": {},
"8000/tcp": {},
"8080/tcp": {},
"9000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PUID=114",
"PGID=8675309",
"TZ=America/Denver",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PYTHONPATH=:/var/www/rutorrent",
"S6_BEHAVIOUR_IF_STAGE2_FAILS=2",
"S6_KILL_GRACETIME=10000"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"NONE"
]
},
"Image": "ghcr.io/xxacielxx/rutorrent:latest",
"Volumes": {
"/data": {},
"/downloads": {},
"/passwd": {}
},
"WorkingDir": "",
"Entrypoint": [
"/init"
],
"OnBuild": null,
"Labels": {
"maintainer": "XxAcielxX",
"org.opencontainers.image.created": "2023-02-08T06:32:50Z",
"org.opencontainers.image.description": "rTorrent and ruTorrent Docker based container",
"org.opencontainers.image.licenses": "MIT",
"org.opencontainers.image.revision": "8dc0073a8267eee27cbfd43d45610c90147342f8",
"org.opencontainers.image.source": "https://github.com/XxAcielxX/docker-rutorrent",
"org.opencontainers.image.title": "ruTorrent",
"org.opencontainers.image.url": "https://hub.docker.com/r/xxacielxx/rutorrent",
"org.opencontainers.image.vendor": "XxAcielxX",
"org.opencontainers.image.version": "v4.0.1-a03"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "bd84edd4d1be1365485dbfb69f4088fdc891eb982a4dab6897e1a23ee77d4f3a",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"14725/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "14725"
},
{
"HostIp": "::",
"HostPort": "14725"
}
],
"6881/udp": [
{
"HostIp": "0.0.0.0",
"HostPort": "6881"
},
{
"HostIp": "::",
"HostPort": "6881"
}
],
"8000/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8001"
},
{
"HostIp": "::",
"HostPort": "8001"
}
],
"8080/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8080"
},
{
"HostIp": "::",
"HostPort": "8080"
}
],
"9000/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "9000"
},
{
"HostIp": "::",
"HostPort": "9000"
}
]
},
"SandboxKey": "/var/run/docker/netns/bd84edd4d1be",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "fb96982cd6956c5cf781ae613c5247f84a49fa46512e5d590963fb8b8a9a38ec",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.6",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:06",
"Networks": {
"bridge": {
"IPAMConfig": {},
"Links": null,
"Aliases": null,
"NetworkID": "dc9581be96b2dca7fe0497f3c2b6ab459b2bdceceec46d6f5d0c4bd59f702cd8",
"EndpointID": "fb96982cd6956c5cf781ae613c5247f84a49fa46512e5d590963fb8b8a9a38ec",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.6",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:06",
"DriverOpts": null
}
}
}
}
]
## rtorrent log
1675661886 N rtorrent main: Starting thread.
1675661886 N rtorrent scgi: Starting thread.
1676303390 N rtorrent scgi: Shutting down thread.
## rutorrent log
[16.02.2023 16:56:46] WebUI started.
[16.02.2023 16:56:47] No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
No response
We are trying to get this image into the Pterodactyl panel and are having an issue. The panel requires a startup command to be run on the container to start it. We looked at the dockerfile to no avail. Is there a command thats run?
OH MY GOD. you fixed everything about that image i hated. this is my go to image now. thank you so much.. you can remove this after reading as its not a real issue.. thank you again
Hello,
Users updating from image version v3.10-a09
and below, need to remove the following line from your .rtorrent.rc
:
execute2 = {sh,-c,/usr/bin/php7 /var/www/rutorrent/php/initplugins.php rtorrent &}
This line is now bootstrapped on container run.
rtorrent is not allowing torrent files over 2 MiB
should be able to upload torrent of any size. Current one is 16.5 MiB
try to upload a torrent on a new dockerfile pull with no previous docker usage on server.
Image: v4.0-a01
Browser: Edge (Desktop)
Tried different browser? yes same error
- OS: Ubuntu 22.04
- Docker version: Client: Docker Engine - Community Version: 23.0.1
- How docker service was installed: sudo apt install docker-ce
x86-64
docker compose up -d
f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.