Torrent downloader with VPN only Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
przemko
Posts: 170
Joined: Sun Mar 15, 2020 5:40 pm

Re: Torrent downloader with VPN only

Post by przemko »

@Joulinar Hi, I don't understand that wireguard config so I think something like that:
- I will install qbittorrent on Dietpi
- install shadowsocks-libev proxy server on my Debian VPS (https://kirelos.com/how-to-install-shad ... an-10-vps/
- use that proxy on qbittorrent web dashboard.
What do You think about that?

Regards,
Przemko
User avatar
Joulinar
Posts: 4536
Joined: Sat Nov 16, 2019 12:49 am

Re: Torrent downloader with VPN only

Post by Joulinar »

Well looks like something that could be working. But I need to say, I never used something like this.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
trendy
Posts: 292
Joined: Tue Feb 25, 2020 2:54 pm

Re: Torrent downloader with VPN only

Post by trendy »

All this looks way more complicated to me, than setting up a wireguard tunnel.
przemko
Posts: 170
Joined: Sun Mar 15, 2020 5:40 pm

Re: Torrent downloader with VPN only

Post by przemko »

trendy wrote: Fri Nov 27, 2020 2:03 pm All this looks way more complicated to me, than setting up a wireguard tunnel.
Hi, It was very easy. Everything was clear described. I install Deluge on Dietpi and I see it works with proxy (my VPS IP) like with VPN.
Thanks for help and Your time.
Regards,
Przemko
przemko
Posts: 170
Joined: Sun Mar 15, 2020 5:40 pm

Re: Torrent downloader with VPN only

Post by przemko »

Hello @trendy and @Joulinar I have strange problem when I install Radarr and configure Deluge with that proxy. I don't know it is those apps problem because I have that earlier about 2 times in 3 months but from 27.11.2020 I have about 2 times a day when my Dietpi lose internet connection. I have my Rpi4 connected with ethernet cable. When my Dietpi loose connection I can't ssh, my nextcloud, emby and other services can't acces from browser, only Kodi works but don't sync. I see on my smartphone app Finge that my Raspbery is online. I must turn off and turn on manually and everything wors. How can I check what is wrong?

Edit. I have that error just few minutes ago and something new happen, Dietpi restart byself. I find command in google but I'm new in journalctl.
```
root@Przemas82:/home/dietpi# journalctl -p 3 -xb
-- Logs begin at Thu 2019-02-14 11:11:58 CET, end at Mon 2020-11-30 22:13:23 CET. --
lis 30 20:31:35 Przemas82 blkmapd[146]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

lis 30 20:32:08 Przemas82 noip2[1031]: execl /tmp/DietPi-Config/nextcloud failed (No such file or directory)
lis 30 22:09:54 Przemas82 kernel: Out of memory: Killed process 963 (mono) total-vm:933400kB, anon-rss:713088kB, file-rss:
0kB, shmem-rss:0kB, UID:999 pgtables:1888kB oom_score_adj:0
```

Regards,
Przemek
User avatar
Joulinar
Posts: 4536
Joined: Sat Nov 16, 2019 12:49 am

Re: Torrent downloader with VPN only

Post by Joulinar »

looks like you are running out of memory. In the case below, Mono get killed. And this is impacting Radarr.

Code: Select all

kernel: Out of memory: Killed process 963 (mono)
Do you have swap enabled? can you check free -m
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 170
Joined: Sun Mar 15, 2020 5:40 pm

Re: Torrent downloader with VPN only

Post by przemko »

Hi, I have swap:

Code: Select all

dietpi@Przemas82:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           1626         910         287         116         427         516
Swap:            58          52           6
User avatar
Joulinar
Posts: 4536
Joined: Sat Nov 16, 2019 12:49 am

Re: Torrent downloader with VPN only

Post by Joulinar »

hmm its 58MB only. Let's try to get it bigger

Code: Select all

/boot/dietpi/func/dietpi-set_swapfile 1024
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 170
Joined: Sun Mar 15, 2020 5:40 pm

Re: Torrent downloader with VPN only

Post by przemko »

Joulinar wrote: Mon Nov 30, 2020 11:35 pm hmm its 58MB only. Let's try to get it bigger

Code: Select all

/boot/dietpi/func/dietpi-set_swapfile 1024
I do that
Now:

Code: Select all

dietpi@Przemas82:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           1626         658         340          88         626         793
Swap:          1023           0        1023
I must tell You that I find that error in journalctl:

Code: Select all

journalctl -p 3 -xb
-- Logs begin at Tue 2020-12-01 07:11:24 CET, end at Tue 2020-12-01 07:13:11 CET. --
gru 01 07:11:24 Przemas82 blkmapd[137]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

gru 01 07:11:57 Przemas82 noip2[1042]: execl /tmp/DietPi-Config/nextcloud failed (No such file or directory)
root@Przemas82:/home/dietpi# systemctl status nfs-blkmap.service 
● nfs-blkmap.service - pNFS block layout mapping daemon
   Loaded: loaded (/lib/systemd/system/nfs-blkmap.service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-12-01 07:11:24 CET; 2min 47s ago
  Process: 135 ExecStart=/usr/sbin/blkmapd $BLKMAPDARGS (code=exited, status=0/SUCCESS)
 Main PID: 137 (blkmapd)
    Tasks: 1 (limit: 3283)
   CGroup: /system.slice/nfs-blkmap.service
           └─137 /usr/sbin/blkmapd

gru 01 07:11:24 Przemas82 blkmapd[137]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory
I disable that service but I see still this occur. What do You think about that and that other error with nextcloud:
` noip2[1042]: execl /tmp/DietPi-Config/nextcloud failed (No such file or directory)` ?

Edit. After that I set downloading in deluge and after about 2 minutes I have connection lost.

Code: Select all

root@Przemas82:/# journalctl -p 3 -xb
-- Logs begin at Tue 2020-12-01 07:17:02 CET, end at Tue 2020-12-01 07:33:48 CET. --
gru 01 07:17:02 Przemas82 blkmapd[149]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory

gru 01 07:31:27 Przemas82 noip2[1064]: execl /tmp/DietPi-Config/nextcloud failed (No such file or directory)
Maybe this something with deluge proxy options?



Regards,
Przemko
User avatar
Joulinar
Posts: 4536
Joined: Sat Nov 16, 2019 12:49 am

Re: Torrent downloader with VPN only

Post by Joulinar »

I guess you have multiple issues. I guess they need to be fixed one by one

Do you mount anything via NFS? If not I would recommend to remove that package!
Do you use NoIP? If yes you could try to setup configuration again.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply