Closed proppyx closed 1 year ago
Hello,
I always had this warning since the beginning when I started using deluge, it seems unrelated and without any impact. I also have this error (cannot upload a torrent), but sometimes this bug disappears and comes back...
To mitigate this, here are two workarounds:
I thought I was the only one having this precise issue since I never found anything related in recent Deluge bugtracker's issues, but I'm keeping this ticket open, so I'll try to have a deeper look into it when I can find some time.
Same here I opened a ticket some months ago : https://github.com/jfroment/seedbox/issues/21 And I have a friend that also have the same issue, so we're using the plugin auto add torrent because flood not working same issue as in this ticket : https://github.com/jfroment/seedbox/issues/20
I will do the upgrade in 2.0 soon, maybe it will works in this release.. i will test and let you know
Thanks for the feedback.
After another quick research, I found a solution which consists of adding custom headers for Deluge on Traefik (here). It was working before, so an update in Deluge must have added this requirement (but nothing in the release notes).
With the newly released seedbox v2, you can add your own routing rule for Traefik. I will incorporate the fix for Deluge in the next version (v2.0.1 I think).
So, for now the fix is the following:
config.yaml
file and disable traefik routing on deluge to avoid conflicts (traefik.enabled: false
on deluge service):
deluge-rules.yaml
file in the samples/custom-traefik
directory with the following content:http:
routers:
deluge-1:
rule: 'Host(`deluge.{{ env "TRAEFIK_DOMAIN" }}`)'
middlewares:
- common-auth@file
- redirect-to-https
- deluge-headers
service: deluge-1
services:
deluge-1:
loadBalancer:
servers:
- url: "http://deluge:8112" # or "http://gluetun:8112" if you enable vpn on deluge (available since v2.0)
middlewares:
deluge-headers:
headers:
customresponseheaders:
X-Frame-Options: sameorigin
Content-Security-Policy: frame-ancestors https://*.{{ env "TRAEFIK_DOMAIN" }}
customrequestheaders:
X-Frame-Options: sameorigin
Content-Security-Policy: frame-ancestors https://*.{{ env "TRAEFIK_DOMAIN" }}
./run-seedbox.sh
and it should work now.As said, I will add this custom headers in a bundled middleware. When v2.0.1 is out with the fix, you will be able to remove this custom file, re-enable traefik automatic rules on deluge, and it should work out of the box.
I'm keeping this ticket opened until 2.0.1 release and waiting for your feedback. Have a nice day.
Hi, Thanks for this wonderful repository.
I have an issue with deluge. I can't add torrent. for example with a torrent, nothing appears and I cannot add the torrent
here are the docker logs deluge
sudo docker logs deluge [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: 1000
[cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 90-custom-folders: executing... [cont-init.d] 90-custom-folders: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-scripts: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. 14:59:26 [WARNING ][deluge.i18n.util :83 ] IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'
Do you see something anormal like this warining ? Can you help me please ?
Thanks in advance. Proppyx