Jump to content
XPEnology Community

[TUTO] rtorrent/rutorrent au travers d'un VPN OpenVPN


Guest

Recommended Posts

J'ai ce problème avec ton fichier:

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

ERROR: Service 'rtorrent-rutorrent' depends on service 'vpn' which is undefined.

Link to comment
Share on other sites

Il est en route mais voici juste le début du résultat de la commande, pas terrible...

 

The use of ROUTE or -r may no longer be needed, try it without!

ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)

Perhaps ip6tables or your kernel needs to be upgraded.

ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)

Perhaps ip6tables or your kernel needs to be upgraded.

The use of ROUTE or -r may no longer be needed, try it without!

+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/ojan.ovpn --script-security 2 --redirect-gateway def1                 '

Tue Aug 10 15:22:12 2021 Unrecognized option or missing or extra parameter(s) in /vpn/****.ovpn:14: block-outside-dns (2.4.9)

Tue Aug 10 15:22:12 2021 OpenVPN 2.4.9 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 20 2020

Tue Aug 10 15:22:12 2021 library versions: OpenSSL 1.1.1g  21 Apr 2020, LZO 2.10

Tue Aug 10 15:22:12 2021 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

Tue Aug 10 15:22:12 2021 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

Tue Aug 10 15:22:12 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]***.***.*.***:*****

....................................

Edited by frog
Link to comment
Share on other sites

Les erreur ipv6 sont normales car l'ipv6 n'est pas actif dans le conteneur.

 

Par contre, a la fin des logs tu doit avoir le retour suivant pour indiquer que la connexion a ton service vpn est ok :
 

Fri Aug 13 01:18:40 2021 Initialization Sequence Completed

 

 

Link to comment
Share on other sites

Je te remercie encore @EVOTkpour ton investissement!

 

Ne trouvant pas de solution, je tente une installation via "Portainer".

L'installation du vpn fonctionne, mais impossible d'installer rtorrent.

J'ai le message:

1604052519_Capturedcran2021-08-1917_38_02.png.800972eb85524477ad27e4d1b2b791f8.png

Le problème pourrais venir de l'adresse IP du Docker-compose du vpn?

 command: '-f "" -r 192.168.1.18/24'

 

J'ai une Livebox en DMZ sur un routeur Unifi...

 

Link to comment
Share on other sites

@frogDans le compose de rtorrent-rutorent, enleve la partie qui pose soucis :

 

    depends_on:
      - vpn

 

et essaye de nouveau.

 

Cette partie : command: '-f "" -r 192.168.1.18/24' sert a indiquer quelle ip pourront interroger directement les services connecter au VPN ( donc cela doit correspondre a ton reseau local )

 

Pour info, je bosse sur un autre tuto qui est accessible au public, mais pas encore publier sur des forums car non fini, tu le trouvera ici : https://gitea.zoz-serv.org/Zoz/plex_fr_discord_repo/src/branch/master/docker-compose/openvpn-rutorrent-prowlarr-jackett-flaresolver-radarr-sonarr

 

C'est un tuto qui regroupe une sctack complete de services derriere un conteneur vpn comme ici, mais avec en plus de openvpn et rutorrent, aussi jackett, prowlarr, qbittorent, sonarr et radarr

Edited by EVOTk
Link to comment
Share on other sites

@EVOTk, après avoir supprimé "depends_on: - vpn" dans la Stack de rutorrent, avoir mis l'adresse IP du routeur Unifi "command: '-f "" -r 192.168.1.1/24' " dans la Stack du vpn, copié directement les ".env" de ton tuto dans l'éditeur de texte Synology, paramétré en UTF-8, j'ai encore cette erreur:

1245264235_Capturedcran2021-08-1923_16_59.png.adfb78d972b00664e97eb87664c6a776.png

 

Je vais tenter en parallèle ton nouveau tuto vraiment impressionnant!

J'utilise aussi beaucoup Radarr et Sonarr ;)

Tu n'as pas envisagé d'ajouter aussi NZBGet dans cette nouvelle Stack?

 

Tu fais beaucoup pour nous, ici ou sur d'autres sites, et l'on ne te remerciera jamais assez!

Link to comment
Share on other sites

Il y a 1 heure, frog a dit :

@EVOTk, après avoir supprimé "depends_on: - vpn" dans la Stack de rutorrent, avoir mis l'adresse IP du routeur Unifi "command: '-f "" -r 192.168.1.1/24' " dans la Stack du vpn, copié directement les ".env" de ton tuto dans l'éditeur de texte Synology, paramétré en UTF-8, j'ai encore cette erreur:

1245264235_Capturedcran2021-08-1923_16_59.png.adfb78d972b00664e97eb87664c6a776.png

 

Je vais tenter en parallèle ton nouveau tuto vraiment impressionnant!

J'utilise aussi beaucoup Radarr et Sonarr ;)

Tu n'as pas envisagé d'ajouter aussi NZBGet dans cette nouvelle Stack?

 

Tu fais beaucoup pour nous, ici ou sur d'autres sites, et l'on ne te remerciera jamais assez!

 

Le fichier rtorrent-rutorrent.env est bien dans le meme dossier que docker-compose.yml quand tu lance ta commande de création ?

Je n'utilise pas du tout NZBGe, uniquement le torrent, mais pourquoi pas si la demande est la :)

 

Link to comment
Share on other sites

C'était avec Portainer...

J'ai réessayé avec le compose et voici le résultat:

 

root@****:/volume1/docker/rutorrent# docker-compose up -d

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

Pulling rtorrent-rutorrent (crazymax/rtorrent-rutorrent:latest)...

latest: Pulling from crazymax/rtorrent-rutorrent

29291e31a76a: Pull complete

9dc5d0fbb680: Pull complete

aa4651a2cf59: Pull complete

ef3e4ea23940: Pull complete

ee833f9c50e3: Pull complete

e1f2e5aee1a8: Pull complete

b6b5f6406594: Pull complete

36682b1dbf54: Pull complete

3d0626b5e244: Pull complete

Digest: sha256:91db90307b5ae3a2fdfd57b036a14f95f86fc4e958ca36b099b2c7f376898fd1

Status: Downloaded newer image for crazymax/rtorrent-rutorrent:latest

Pulling geoip-updater (crazymax/geoip-updater:latest)...

latest: Pulling from crazymax/geoip-updater

9aae54b2144e: Pull complete

be536d9bf97e: Pull complete

ad82f5e41292: Pull complete

Digest: sha256:5c336154c32b65c810cb191d625e63ddc93428a3c77f20520c7da853120beab8

Status: Downloaded newer image for crazymax/geoip-updater:latest

Creating rutorrent-crazymax ... done

Creating geoip-rutorrent-crazymax ... error

 

ERROR: for geoip-rutorrent-crazymax  Cannot start service geoip-updater: Bind mount failed: '/volume1/docker/rutorrent/data/geoip' does not exists

 

ERROR: for geoip-updater  Cannot start service geoip-updater: Bind mount failed: '/volume1/docker/rutorrent/data/geoip' does not exists

ERROR: Encountered errors while bringing up the project.

 

Link to comment
Share on other sites

à l’instant, frog a dit :

ERROR: for geoip-rutorrent-crazymax  Cannot start service geoip-updater: Bind mount failed: '/volume1/docker/rutorrent/data/geoip' does not exists

 

ERROR: for geoip-updater  Cannot start service geoip-updater: Bind mount failed: '/volume1/docker/rutorrent/data/geoip' does not exists

ERROR: Encountered errors while bringing up the project.

Il y a ici une erreur dans le chemin vers tes dossiers pour lui le chemin /volume1/docker/rutorrent/data/geoip n'existe pas

Link to comment
Share on other sites

J'ai créé un dossier "geoip" dans "data" et voici le résultat:

root@****:/volume1/docker/rutorrent# docker-compose up -d

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

rutorrent-crazymax is up-to-date

Starting geoip-rutorrent-crazymax ... done

 

C'est mieux :)

Link to comment
Share on other sites

il y a 16 minutes, frog a dit :

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

WARNING: Python-dotenv could not parse statement starting at line 2

WARNING: Python-dotenv could not parse statement starting at line 10

C'est mieux mais ceci est étrange, vérifie dans ton yml que les espace sont bien des espaces par exemple, et non des tabulations

tout comme dans le .env

Edited by EVOTk
Link to comment
Share on other sites

Pour info, je ne mettrai plus a jour ce tuto, je regroupe afin de me faciliter la vie ^^

Ce tuto fait maintenant doublette avec mon nouveau tuto expliquant comment installer en docker Jackett, Prowlarr, rutorrent, Qbittorrent, Sonarr, Radarr et le tout derrière un client OpenVPN.

 

Vous trouverez ici mon nouveau tutoriel : https://www.forum-nas.fr/viewtopic.php?f=90&t=16625

Edited by EVOTk
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...