La commande ne passe pas chez moi, mais je n'ai que mon smartphone en guise de terminal, je laisse laster13 debuguer cela !
rtorrent-cleaner un outil pour libérer de la place sur votre seedbox !
- Modifié
Bonsoir,
J'ai toujours l'erreur suivante:
root@PAR-130656 ~# docker run -it --rm \
-v /home/laster/local/rutorrent:/home/laster/local/rutorrent \
--network traefik_proxy \
--link rutorrent-laster:rtorrent \
magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock -vvv
Box Requirements Checker
========================
Using PHP 7.2.18
PHP is using the following php.ini file:
/etc/php7/php.ini
Checking Box requirements:
The application requires the version ">=5.6.0" or greater.
The application requires the extension "zlib".
The application requires the extension "xmlrpc".
[OK] Your system is ready to run the application.
╔═══════════════════════════╗
║ RTORRENT-CLEANER - REPORT ║
╚═══════════════════════════╝
Unable to connect to rtorrent. Check if rtorrent is running.
Edit: Je viens de relire l'ensemble des posts et suis tombé sur celui d'@Aerya qui lui aussi utilise l'image linuxserver, du coup dans l'hypothèse ou la manière de procéder reste identique à celle d’aujourd’hui, notamment par rapport aux modifications que tu as pu faire entre temps, je vais retenter ce soir et reviendrai faire un retour.
https://mondedie.fr/d/10037-rtorrent-cleaner-un-script-pour-liberer-de-la-place-sur-votre-seedbox/166
ça ne passe pas chez moi, l'option --url-xmlrpc n'existe plus de toute façon
docker run -it --rm \
-v /mnt/downloads/rutorrent:/mnt/downloads/rutorrent \
-v /run/php/.rtorrent.sock:/run/php/.rtorrent.sock \
--network plexguide \
--link rutorrent:rtorrent \
magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock
nope toujours Unable to connect to rtorrent. Check if rtorrent is running
- Modifié
spider1163 attention vérifie que tu es dans le bon network cf (--network plexguide)
doc ici : https://github.com/Magicalex/rtorrent-cleaner#usage-with-docker
oui j'ai copié la commande à l'identique mais sans succès
- Modifié
spider1163 Justement il ne faut pas copier à l'identique, moi je ne connais pas le nom de ton réseau.
C'est écrit dans le readme comment faire pour trouver son réseau docker network ls
Ben c'est bien plexguide
justement, je pensais que tu l'avais repris de mes logs.
Du coup je ne vois pas ce qui cloche ...
spider1163 je sais pas alors.
Pareil de mon coté, j'ai toujours le même message Unable to connect to rtorrent. Check if rtorrent is running
Je continue mes investigations, je lâche pas l affaire
@laster13 @spider1163 j'ai compris mon erreur.
Vous pouvez me donner votre docker-compose avec linuxserver/rutorrent ?
- Modifié
Voilà le mien
#STARTrutorrent#
rutorrent:
image: linuxserver/rutorrent
container_name: rutorrent
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:rutorrent.domain.fr
- traefik.frontend.auth.basic=toto:$$apr1$$qwxfENv3$$V4MpGMsdVdD/8Xyste4cG0
- traefik.port=80
- traefik.docker.network=traefik_proxy
environment:
- PUID=1000
- PGID=1000
ports:
- 5000:5000
- 51413:51413
- 6881:6881/udp
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/seedbox/docker/toto/rutorrent:/config
- /home/toto:/home/toto
networks:
- proxy
#ENDrutorrent#
Le dossier download, me concernant serait
/home/toto/local/rutorrent
aussi bien sur l'hôte que dans le container
J'ai aussi essayé avec une docker de base sans traefik et sans authentification
docker create \
--name=rutorrent \
-e PUID=1000 \
-e PGID=1000 \
-p 80:80 \
-p 5000:5000 \
-p 51413:51413 \
-p 6881:6881/udp \
-v </path/to/rutorrent/config>:/config \
-v </path/to/rutorrent/downloads>:/downloads \
--restart unless-stopped \
linuxserver/rutorrent
J'avais la même erreur
Merci
- Modifié
laster13
Alors supprime le container et recrée le container avec le nouveau volume.
C'est quoi le volume /home/toto? tu es sur qu'il est utile? Normalement il faut que tu montes un volumes avec le dossier /downloads du container linuxserver
rutorrent:
image: linuxserver/rutorrent
container_name: rutorrent
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:rutorrent.domain.fr
- traefik.frontend.auth.basic=toto:$$apr1$$qwxfENv3$$V4MpGMsdVdD/8Xyste4cG0
- traefik.port=80
- traefik.docker.network=traefik_proxy
environment:
- PUID=1000
- PGID=1000
ports:
- 5000:5000
- 51413:51413
- 6881:6881/udp
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/seedbox/docker/toto/rutorrent:/config
- /run/php/.rtorrent.sock:/run/php/.rtorrent.sock
- </path/to/rutorrent/downloads>:/downloads # ?? il faut que tu es un dossier qui pointe vers le dossier /downloads
networks:
- proxy
docker-rtorrent-cleaner
docker run -it --rm \
-v </path/to/rutorrent/downloads>:/downloads \
-v /run/php/.rtorrent.sock:/run/php/.rtorrent.sock \
magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock
- Modifié
/home/toto
est utile dans mon cas car il permet de monter le dossier des Series de sonarr sur le même file system que le dossier download de rutorrent et ainsi permettre le hardlink. C'est la même config que cloudbox ou PGBLITZ.
Cette procédure est rendu possible grâce au "remote path mapping" proposé par sonarr/radarr.
Je crois que @spider1163 est dans la même configuration que moi d 'ailleurs puisqu il est sur PGBlitz qui procède de la même manière.
En fait mon volume concernant le dossier download`(soit dans mon cas le dossier rutorrent) serait le suivant
- /home/toto/local/rutorrent:/home/toto/local/rutorrent
Du coup ca donnerait ca
docker run -it --rm \
-v /home/toto/local/rutorrent:/home/toto/local/rutorrent \
-v /run/php/.rtorrent.sock:/run/php/.rtorrent.sock \
magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock
D'ou ma question, est qu il est imperatif de garder la config d'origine soit le dossier /download dans le container?
Par ailleurs j'avais déjà essayé de monter le volume dans le compose
- /run/php/.rtorrent.sock:/run/php/.rtorrent.sock
sans succès.
Mais je reessaye à nouveau pour en avoir le coeur net
Oui tout à fait
- Modifié
Yes !!!
root@PAR-130656:/home/patrick# docker run -it --rm -v /home/toto/local/rutorrent:/home/toto/local/rutorrent -v /run/php/.rtorrent.sock:/run/php/.rtorrent.sock magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock -vvv
Box Requirements Checker
========================
Using PHP 7.2.18
PHP is using the following php.ini file:
/etc/php7/php.ini
Checking Box requirements:
The application requires the version ">=5.6.0" or greater.
The application requires the extension "zlib".
The application requires the extension "xmlrpc".
[OK] Your system is ready to run the application.
╔═══════════════════════════╗
║ RTORRENT-CLEANER - REPORT ║
╚═══════════════════════════╝
████████████████████████████ 100%
remaining time: < 1 sec
status: recovering the files list from rtorrent...
The files are not able to be reached locally
Alors du coup avec juste une petite modif dans le compose
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/seedbox/docker/toto/rutorrent:/config
- /run/php:/run/php
Avec ta commande au dessus
docker run -it --rm \
-v /home/toto/local/rutorrent:/home/toto/local/rutorrent \
-v /run/php/.rtorrent.sock:/run/php/.rtorrent.sock \
magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock
Edit: c'etait un essai sans traefik, je teste maintenant avec
Avec traefik
root@PAR-130656:/home/corinne# docker run -it --rm -v /home/corinne/local/rutorrent:/home/corinne/local/rutorrent -v /run/php/.rtorrent.sock:/run/php/.rtorrent.sock magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock
╔═══════════════════════════╗
║ RTORRENT-CLEANER - REPORT ║
╚═══════════════════════════╝
████████████████████████████ 100%
remaining time: < 1 sec
status: completed successfully!
0 file(s) are not tracked by rtorrent. (use the `rm` or `mv` command)
no files not tracked by rtorrent
0 files(s) are missing in the torrents. (use the `torrents` command)
no missing files
time: 7ms, torrents: 1, memory: 4MB
Parfait, merci beaucoup de ton aide @Magicalex, est ce que tu es d'accord pour que je l intègre à mon script ?
https://mondedie.fr/d/10420-script-auto-install-seedbox-multi-user-docker-avec-rclone-plexdrive-unionfs/192
- Modifié
OK la même, merci @laster13 et @Magicalex
sudo docker run -it --rm \
-v /mnt/downloads/rutorrent:/mnt/downloads/rutorrent \
-v /opt/appdata/rutorrent/sock/.rtorrent.sock:/run/php/.rtorrent.sock \
--network plexguide \
--link rutorrent:rtorrent \
magicalex/docker-rtorrent-cleaner report --scgi=/run/php/.rtorrent.sock