binhex / arch-deluge Goto Github PK
View Code? Open in Web Editor NEWDocker build script for Arch Linux base with Deluge
License: GNU General Public License v3.0
Docker build script for Arch Linux base with Deluge
License: GNU General Public License v3.0
If I use a -e PUID
and -e PGID
other than (the default) 0,
and I try to enable a plugin from the web interface,
the plugin is not enabled and
the docker log shows the following error:
ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg
cache:
[Errno 13] Permission denied: '/home/nobody/.cache/Python-Eggs/Label-0.2-py2.7.egg-tmp'
The Python egg cache directory is currently set to:
/home/nobody/.cache/Python-Eggs
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.
Might be related to commit d5c45e8.
OSX:
zdump /etc/localtime
/etc/localtime Mon May 29 09:58:31 2017 CEST
zdump /etc/localtime
/etc/localtime Sun May 28 18:50:10 2017 UTC
docker-compose.yml:
version: '2'
services:
deluge:
container_name: deluge-container
image: binhex/arch-deluge
restart: always
ports:
- "8112:8112"
volumes:
- ./docker-data/data:/data
- ./docker-data/config:/config
- /etc/localtime:/etc/localtime:ro
environment:
PUID: 0
PGID: 0
This may be outside of what you want to do with the container but the AutoRemovePlus plugin won't work with this container as it is missing the python future package. As expected if I manually install it it is removed when the container is recreated.
link to the issue springjools/deluge-autoremoveplus#3
Would you be able to include it in the container?
pip3 install future
Running Version: 6.9.2
I was previously running 3x separate instances of Arch-DelugeVPN at the same time.
But I need to use a VPN with a dedicated IP, and each instance of Deluge counts as a separate device / connection in this model.
My plan was to move regular versions of Arch-Deluge, still running 3x instance, but connect each docker container through a single VPN container (following this principle -> https://www.youtube.com/watch?v=znSu_FuKFW0)
However, using this model, I am unable to find any place where I can still define the ports separately for each deluge instance
And no matter how I try to define custom ports, these default ports are always defined.... somewhere.
I've tried:
No matter what, these defaults are the only thing that works no matter how I try to configure it.
Where / How can I change these? Any ideas?
OR another way to do this that would accomplish the goal?
After fixing my initial issue, I'm confused as to how to best setup the permissions on the host for the volumes.
Unless I set all the folders on the host to nobody:root the services in the containers don't work properly. However, setting them to nobody:root makes accessing the data inconvenient for other users on the system.
There's probably a better way of doing it and I presume you have set up something for this on your own system.
Googling the issue gave me that I should run data only containers and then link them. Which is fine until the fact that the data only container still needs access to the host.
The reason I want to keep the files on the host, is so that I can house them on my ZFS pool - instead of keeping the data in the containers - /var/lib/docker or somewhere.
Hi!
I'm trying to install the WebAPI-plugin but I think I need to start the WebUI first acording to this discussion.
I can't see anything suspicious in the logs when I try to start WebUI, it just won't check the box.
The container has started giving this error.
Warning: `/config/wireguard/wg0.conf' is world accessible
2022-04-18 23:18:28,319 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard
2022-04-18 23:18:28,321 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63
2022-04-18 23:18:28,322 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.28.158.31 dev wg0
2022-04-18 23:18:28,328 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0
2022-04-18 23:18:28,337 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820
2022-04-18 23:18:28,338 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
2022-04-18 23:18:28,339 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820
2022-04-18 23:18:28,340 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0
2022-04-18 23:18:28,344 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
2022-04-18 23:18:28,345 DEBG 'start-script' stderr output:
[#] iptables-restore -n
2022-04-18 23:18:28,347 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'
Gets stuck here. Web ui does not load.
My vpn credentials are correct.
2015-12-29 20:41:03,916 CRIT Set uid to user 0
2015-12-29 20:41:03,916 WARN Included extra file "/etc/supervisor/conf.d/deluge.conf" during parsing
2015-12-29 20:41:03,918 INFO supervisord started with pid 1
2015-12-29 20:41:04,921 INFO spawned: 'deluged' with pid 8
2015-12-29 20:41:04,922 INFO spawned: 'deluge-web' with pid 9
2015-12-29 20:41:05,293 DEBG 'deluged' stderr output:
Unhandled error in Deferred:
2015-12-29 20:41:05,294 DEBG 'deluged' stderr output:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 112, in on_start
self._component_start_timer()
File "/usr/lib/python2.7/site-packages/deluge/component.py", line 106, in _component_start_timer
self._component_timer.start(self._component_interval)
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line 168, in start
self()
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line 213, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/python2.7/site-packages/deluge/core/alertmanager.py", line 73, in update
self.handle_alerts()
File "/usr/lib/python2.7/site-packages/deluge/core/alertmanager.py", line 118, in handle_alerts
alert = self.session.pop_alert()
exceptions.TypeError: No to_python (by-value) converter found for C++ type: boost::shared_ptr<libtorrent::alert>
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.