Running behind a traefik reverse proxy using this docker-compose:
pyload:
image: ghcr.io/linuxserver/pyload
container_name: pyload
restart: unless-stopped
networks:
- t2_proxy
volumes:
- $DOCKERDIR/pyload:/config
- $FILESDIR/_inbox/downloads:/downloads
ports:
- $PYLOAD_PORT:8000
- 7227:7227 #optional
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.pyload-rtr.entrypoints=https"
- "traefik.http.routers.pyload-rtr.rule=HostHeader(`pyload.$DOMAINNAME`)"
- "traefik.http.routers.pyload-rtr.tls=true" # Had to add these to get the domain to resolve
- "traefik.http.routers.pyload-rtr.tls.certresolver=dns-cloudflare" # Had to add these to get the domain to resolve
## Middlewares
- "traefik.http.routers.pyload-rtr.middlewares=chain-basic-auth@file"
## HTTP Services
- "traefik.http.routers.pyload-rtr.service=pyload-svc"
- "traefik.http.services.pyload-svc.loadbalancer.server.port=8000"
Fails to start, with the following log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 999
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] Setting permissions this may take some time
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
03.01.2021 23:08:43 INFO Starting pyLoad 0.4.20
03.01.2021 23:08:43 INFO Using home directory: /config
03.01.2021 23:08:44 INFO Activated plugins: ClickNLoad, EventMapper, ExternalScripts, TORRENT, UnSkipOnFail, UpdateManager, UserAgentSwitcher
03.01.2021 23:08:44 INFO Deactivate plugins: AntiStandby, AntiVirus, AppriseNotify, BypassCaptcha, Captcha9Kw, Checksum, CloudFlareDdos, DeathByCaptcha, DeleteFinished, DiscordNotifier, DownloadScheduler, ExpertDecoders, ExtractArchive, HotFolder, IRC, ImageTyperz, JustPremium, LinkFilter, LinkdecrypterComHook, LogMarker, MergeFiles, MultiHome, PushBullet, PushOver, RestartFailed, SkipRev, TransmissionRPC, WindowsPhoneNotify, XFileSharing, XMPP
03.01.2021 23:08:44 INFO Downloadtime: True
03.01.2021 23:08:44 INFO Starting ThriftBackend: 0.0.0.0:7227
03.01.2021 23:08:44 INFO Starting builtin webserver: :::8000
03.01.2021 23:08:44 INFO Free space: 997.16 GiB
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/app/pyload/module/web/ServerThread.py", line 78, in run
self.start_builtin()
File "/app/pyload/module/web/ServerThread.py", line 85, in start_builtin
webinterface.run_simple(host=self.host, port=self.port)
File "/app/pyload/module/web/webinterface.py", line 139, in run_simple
run(app=web, host=host, port=port, quiet=True)
File "/app/pyload/module/lib/bottle.py", line 3137, in run
server.run(app)
File "/app/pyload/module/lib/bottle.py", line 2789, in run
srv = make_server(self.host, self.port, app, server_cls, handler_cls)
File "/usr/lib/python2.7/wsgiref/simple_server.py", line 151, in make_server
server = server_class((host, port), handler_class)
File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__
self.socket_type)
File "/usr/lib/python2.7/socket.py", line 191, in __init__
_sock = _realsocket(family, type, proto)
error: [Errno 97] Address family not supported by protocol
03.01.2021 23:08:44 INFO Activating Accounts...
03.01.2021 23:08:44 INFO Activating Plugins...
03.01.2021 23:08:44 WARNING ADDON TORRENT: torrents / magnets are not associated with any plugin
03.01.2021 23:08:44 INFO pyLoad is up and running
03.01.2021 23:08:44 INFO ADDON UpdateManager: pyLoad is up to date!
03.01.2021 23:08:44 INFO ADDON UpdateManager: Removed blacklisted plugin: ACCOUNTS GetTwentyFourOrg
03.01.2021 23:08:44 INFO ADDON UpdateManager: Removed blacklisted plugin: HOSTER GetTwentyFourOrg
03.01.2021 23:08:44 INFO ADDON UpdateManager: All plugins are up to date!
03.01.2021 23:08:50 INFO ADDON ClickNLoad: Proxy listening on 0.0.0.0:9666
My searching seems to point to this being an ipv6 issue, but I don’t see a way to disable it for the container. Any ideas?