Kabe0 / deluge-windscribe

To provide an isolated VPN layer with Deluge
22 stars 6 forks source link

Libtorrent 1.2.9 #20

Open frapgadz opened 3 years ago

frapgadz commented 3 years ago

I'm totally new to docker images and containers so please excuse me if this a stupid question.

I've been using your image for a while to run a container on my rpi home server so only my torrent traffic is routed through windscribe and it's been working great so thank you.

However I updated the image recently and redeployed the container and the completed torrents stopped being moved to my completed folder.

Apparently this is a libtorrent issue: https://dev.deluge-torrent.org/ticket/3458

Could this be updated in the next release?

Kabe0 commented 3 years ago

Sure, I'll take a look

Kabe0 commented 3 years ago

Did not mean to close it, still testing

Kabe0 commented 3 years ago

The file update works for x64, but I am having issues with the arm version, so still addressing.

frapgadz commented 3 years ago

Thank you!

Kabe0 commented 3 years ago

Will be hopefully the end of the week I can get it done. This work week is just crazy busy.

frapgadz commented 3 years ago

That's excellent, hope the rest of the week treats you well, thanks again!

Kabe0 commented 3 years ago

Status update...

ARM is still being a bit of an issue. Ubuntu builds, but ARM fails to connect. Iptables are completely unavailable. Have not figured that part out yet. If I use Debian, ARM works fine but I can't retrieve a pre-compiled binary of libtorrent that is not version 1.2.9.

May need to have the image compile it instead in order to get it running properly across different devices.

Kabe0 commented 3 years ago

iptables seem to be the actual culprate. Ubuntu 20.04 has listed version 1.8.4 to be installed, but 1.8.6 is the version being run on Docker. This is incompatible with the ARM connector causing it to get upset and ask if the kernel is out of date. I am trying to force the docker build to stick to 1.8.4 for now.

Kabe0 commented 3 years ago

Will be working on it this weekend by the way. Sorry again for the delay. I am going to have to build the lib project myself. I have to run the project on Debian instead of Ubuntu as the 20.04 version of Ubuntu is incompatible with the main PI based OS. At least once this new lib is in place, any future LibTorrent updates will be available whenever anyone builds the dockerfile.

frapgadz commented 3 years ago

No apologies needed! Really, thanks for looking at this, good to know the LibTorrent updates will be available in future.

Kabe0 commented 3 years ago

Ok I might have a build incoming... It's been a bit of a nightmare to get this to compile. Almost nothing worked right. Will only be deploying to test for now to ensure it's stable still as I am not quite confident yet on that part.

Kabe0 commented 3 years ago

Sigh, the arm builds are the ones that keep getting me. Either I can't compile to arm, or an arm version does not exist. Yet a lot of users on deluge use the ARM variant to run the client.

Debian is not capable of running the latest version of libtorrent. It has way to many dependencies that are out of date. Back to the drawing board again.

Kabe0 commented 3 years ago

@frapgadz Ok so I could create a x64 based build that maybe is a beta build for the later libtorrent if that interests you. I just can't put it on the main stream right now as Windscribe is failing to run on Ubuntu ARM version. That would at least let you see if the issue gets solved.

frapgadz commented 3 years ago

@Kabe0 thanks, sorry for opening a can of worms! I could certainly test it out to see if the issue is resolved.

Kabe0 commented 3 years ago

Haha, it happens. I opened a ticket with Windscribe to see if they are willing to address the issue related to their Windscribe-CLI breaking on ARM versions of Ubuntu. Not sure if they will address it though.

Here is the build

kabe0/deluge-windscribe:dev-libtorrent
Kabe0 commented 3 years ago

Any luck?

frapgadz commented 3 years ago

Hey sorry I've been trying to get this up and running in an x64 but I only had Docker on my Pi. Tried to get Docker to work on my laptop running windows 10 and I can't figure out how to set up the containers/volumes etc... I can get it running but I can't see where it downloads the torrents to. I'm going to install Mint on this laptop and try it on that.

Kabe0 commented 3 years ago

ah you would have to run it with WSL-2 on docker. It would technically work if you set up the required linux layer for windows.

trustin commented 3 years ago

I can confirm dev-libtorrent fixes the problem reported by @frapgadz. Completed torrents are now successfully moved to the destination. When would this fix land on latest?

Kabe0 commented 3 years ago

Um, it's a matter of some incompatible ARM libs at the moment. They have not built the latest libtorrent for ARM. So I am kind of waiting on that as I don't want to release something on the latest stream that will break all ARM users.

I spent way too many days trying to get it to manually compile on ARM.