Giter Site home page Giter Site logo

arch-deluge's People

Contributors

binhex avatar blubb-made avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

arch-deluge's Issues

[Errno 13] Permission denied: '/home/nobody/.cache/Python-Eggs/..'

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.

time not being sent when running on osx?

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

Unable to define ports when connecting through another container.

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:

  • Changing the ports in the deluge config template, they are ignored and set to the defaults defined somewhere else
  • Changing the ports in the deluge client settings, they are ignored, the defaults are still set in the container, and it doesn't work
  • Changing the ports in the deluge client config files, the defaults are still set in the container, and it doesn't work

image

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?

Best way to setup permissions on host

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.

Unable to use VPN function.

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.

exceptions.TypeError: No to_python (by-value) converter found for C++ type

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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.