jfroment / seedbox Goto Github PK
View Code? Open in Web Editor NEWA Docker-powered seedbox with persistent data and more cool stuff.
License: MIT License
A Docker-powered seedbox with persistent data and more cool stuff.
License: MIT License
Hi, thanks for this repository is really nice, everything works except deluge, I can't add torrent.
I can connect to the connection manager :
But when I want to add torrent nothing happens :
docker logs give me that :
[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...
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
[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.
10:03:05 [WARNING ][deluge.config :410 ] Unable to open config file /config/web.conf: [Errno 2] No such file or directory: '/config/web.conf'
10:03:05 [WARNING ][deluge.i18n.util :83 ] IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'
10:03:05 [WARNING ][deluge.config :410 ] Unable to open config file /config/hostlist.conf: [Errno 2] No such file or directory: '/config/hostlist.conf'
10:03:05 [WARNING ][deluge.config :475 ] Unable to open config file: /config/hostlist.conf because: [Errno 2] No such file or directory: '/config/hostlist.conf'
10:03:05 [WARNING ][deluge.config :500 ] Unable to backup old config: [Errno 2] No such file or directory: '/config/hostlist.conf'
Someone has the solution ?
Thanks
Is it possible to redo the script but only locally compatible.
So it would be without external use.
The reason is that I use something much more flexible CloudFlare ZeroTrust Tunel.
I can't get it to work via my server at home since it seems you are using traefik.
Dear Jean,
I installed the local-persist drive according to the https://github.com/MatchbookLab/local-persist and got all OK message:
Done! If you see this message, that should mean everything is installed and is running.
When I then run run-seedbox.sh I get following error:
local-persist
[run-seedbox.sh] ***** Recreating containers if required... *****
Creating volume "jf_seedbox_config" with local-persist driver
ERROR: Volume config specifies nonexistent driver local-persist
Any idea what could be wrong?
Thanks :)
Integrate homepage service :
The HTTP endpoints work and request http auth but once the redirect middleware is applied it returns 404.
All services are correctly listed on the dashboard of traefik.
I assume there's a problem with the services themselves (coming from v1 migration).
Hello
Does anyone know where to add a parameter to make Gluetun select a specific server?
I mean, for example, a country or a region?
sometimes it happens to me that it gets an IP from another continent
I tried both in services surfshark.yaml and in custom in the custom.yaml file
when adding server information, it throws a container error
I know you could set an end point - but then there is one specific one, and some providers, e.g. sufrshark, provide addresses in the form of a name, not in the form of an IP
Kind Regrads
When running ./run-seedbox.sh I'm getting this error
ERROR: Version mismatch: file ./docker-compose.yaml specifies version 3.8 but extension file ./services/traefik.yaml uses version 1
Any ideas what might be the cause?
I wanted to use the deluge-console to create a new torrent but the deluge-console is unresponsive and only prints "Unhandled Error in Deferred" after quitting.
Another attempt was made using the thin client (running on the host) and then connect to the container (running deluge) but it says "Connection refused". For reference, I used the Ip address of the container and the username/password inside the auth
file. Remote connections are enabled.
Is there another way to create torrents or a solution to any of those problems? What is the intended way?
I've just tried to configure this seedbox on a fresh install of Debian 9.
I've installed dependencies first, no problem.
I've clone the repo, launch the mkdir command and then launch init.sh, no problem.
I've made some edit in .env file,
then I've launch ./update-all.sh, no problem during this process.
First problem
Now, I try to launch ./init-setup-nextcloud.sh, but the script output
Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused
The docker nextcloud-db is up, I can bash into docker and connect to mysql without problem. But Nextcloud script can't access, Nextcloud web install can't access either.
Second problem
When I try to access to the differents web ui (deluge, radarr, sonarr, etc...), it asks me http auth, when I fill it with the credentials that I have set in .env, the form reappears instantly.
Do you know why I have these problems ? And how to fix it ?
I apologize in advance if this is a dumb question but I'm still rather new with some of this and I've been scratching my head at this for hours.
Any idea why I would be seeing this error? I feel like I'm missing something dumb.
xxxxxxx@yyyyyyy:/data/config$ sudo ./run-seedbox.sh
[./run-seedbox.sh] ***** Checking environment variables and files... *****
[./run-seedbox.sh] ***** Checking configuration... *****
[./run-seedbox.sh] ***** Generating configuration... *****
Error: unknown command "rules.props" for "yq"
Hello !
First, thanks for making this Docker seedbox. It's really useful.
However, I try to install it on a Raspberry Pi 3, and it can't install because of the non-compability of the local-persist
plugin.
It seems like there are some workarounds, I'll test them.
But I'm afraid the repositories inside the Dockerfile are for x86/x86-64 architecture.
I'll keep you updated with my progress on it, but it would be nice to handle the arm-hf architecture. (Raspberry)
EDIT: Correct some spellings.
Hi there. I really like this repository and I'm trying to get things to work on my machine. I'm facing a problem surrounding Traefik.
I have access to my subdomains and I checked the credentials in the http_auth file in ~/seedbox/traefik.
curl -u "username:password" -L http://deluge.domain.com
Response: 401 Unauthorized.
Port 80 gives me SSL_ERROR_INTERNAL_ERROR_ALERT.
Are further steps necessary to get the reverse proxy to work? Do I have to configure ACME for this? There seems to be an entry for my registrar (Porkbun) on https://go-acme.github.io/lego/dns/porkbun/.
My DNS Forwading on Porkbun:
I'm using Ubuntu 20.04.3 LTS and I followed the instructions, so Docker containers are running from root.
Any help is appreciated.
Hello,
I have installed gluetun-custom to try to add an external VPN on Deluge
It's working, Deluge has the new good external IP (provided by VPN)
But now, if i use radarr/sonarr, they can't reach deluge:8112 (think local_network is disable !?)
I have try to reach the fully TLD:8112 but don't work (think traefik route not allowed, and don't want that)
If i enable VPN on radarr for example, don't work anymore
Do you know how can i access to a local endpoint, when VPN option is enabled ?
Thanks !
Hi there! I'm looking to use this project personally, but do not want to set up all these subdomains. As an attempted workaround, I did the following:
services
seedbox.mydomain.com/deluge
to 127.0.0.1:2190
with the Host header modified to deluge.mydomain.com
(see example below)Example NGINX config:
location /deluge {
proxy_pass http://127.0.0.1:2190/;
include nginxconfig.io/proxy.conf;
proxy_redirect off;
proxy_set_header Host deluge.mydomain.com;
proxy_set_header X-Forwarded-Host deluge.mydomain.com;
}
This has just resulted in 400 Bad Request errors, and given Traefik seems to refuse to output error logs no matter what I do to poke around, I've given up and am now curious if there's a way to bypass Traefik entirely, since it is completely useless in my use-case. I tried bypassing Traefik by opening the port directly in the VPN container, and setting NGINX to use that, however I run into issues with assets and other dependent requests resulting in 404.
Hi,
as said, can we have a brief section in the readme about how to configure Cloudflare? Right after following up the steps, I get a ERR_TOO_MANY_REDIRECTS no matter which SSL config I use.
Some guide is appreciated ๐
Very cool setup btw ๐
Cheers
Hello
I would like to replace Plex with Jellyfin
I made some corrections in the config.yaml file:
#Jellyfin
name: jellyfin
enabled: true
VPN: false
customFile: custom/jellyfin.yaml
traefik:
enabled: true
rules:
- host: jellyfin.${TRAEFIK_DOMAIN}
httpAuth: false
internalPort: 8096
httpOnly: true
and I added yaml in custom:
version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
restart: always
network_mode: host
ports:
- "8096:8096"
- "8920:8920" #optional
- "7359:7359/udp" #optional
- "1900:1900/udp" #optional
volumes:
- configjellyfin:/config
- /data/torrents:/media
- /data/config:/cashe
# Optional - alternative address used for autodiscovery
environment:
- TZ=${TZ}
- VERSION=latest
- PGID=${PGID}
- PUID=${PUID}
volumes:
configjellyfin:
driver: local-persist
driver_opts:
mountpoint: $HOST_CONFIG_PATH/jellyfin
I did the same thing as configuring Plex, but I still get an error:
! jellyfin Published ports are discarded when using host network mode
Anyone have an idea where I made a mistake?
Regards
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...
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
[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
Hi,
I can't login with user:password
in HTTP pages.
I understood that the HTTP_PASSWORD
field must be encrypted in the .env
file and put between '
.
To do this I used the command :
echo $(htpasswd -nb user password) | sed -e s/\$/\$\\$/g
Which generates a hash that I put in the field (only the password part). Then I launch the update with sudo ./update-all.sh
, I reboot then I test again.
The command curl user:password -L "http://sonarr.domain.com"
returns 401 Unauthorized
.
Is there something I did wrong?
When starting Flood i get the following error repeatedly:
Failed to access runtime directory
Appearently this has something to do with permissions? (see here)
Just to see what would happen i removed the --rundir=/config
from flood.yaml
. This time i get the following error:
Flood server 4.6.1 starting on http://0.0.0.0:3000
Starting without builtin authentication
(node:8) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
FATAL internal error. Please open an issue.
Unhandled rejection: undefined
At least it's more verbose then the last one, right? :)
To Cut a Long Story Short: I wanted to ask if someone came across this whilst setting up the box, and has a solution.
As mentioned in the title, this is not an issue, but I am not sure where else to post this inquiry and there was no option for contacting @jfroment directly.
I already have HAProxy running on my pfSense firewall so I do not need to use Traefik. I have attempted to remove the Traefik bits from all yaml
files, but have not been successful.
Could anyone provide any guidance on how to do this? I would be willing to donate in advance for this support. Thank you so much. ๐๐ป
Hi,
Trying to get this working. When I run "./run-seedbox.sh", I get this error:
[./run-seedbox.sh] ***** Checking environment variables and files... ***** .env: line 42: syntax error near unexpected token
newline'
`
Any idea?
Hello:
I am having an issue when running ./run-seedbox.sh. "Error response from daemon: create grunt-box_configtraefik: error looking up volume plugin local-persist: plugin "local-persist" not found".
I followed the steps to enable local-persist and can confirm that it's active in systemctl. However, I'm unsure if I'm missing a key step or if you guys can point me in the right direction.
Can it be installed on Centos 7 ?
Hi there, so i'm curious, could you explain what exactly you mean by "Beware to the host when enabling it!" in the example config ?
Thank you!
Hello,
I would like to use a Cloudflare Origin Certificate without letsencrypt.
How would I do that?
Thanks
Deluge doesn't seem to be able to seed anything. Probably because of the HTTP auth.
That's strange, as deluge/jdownloader both used that volume
Heyy I'm back again,
I have a vagueness memory about an IP whitelist setting (maybe it's just me and I've seen that somewhere else), but how could I do it ? I've seen the ipWhitelist setting for Traefik and i tried it on the traefik.yaml but it didn't changes anything (yup with my ip adress and stuff).
im using ubuntu 16.04 and when i set the user and password variables i could not login to portainer and deluge etc
Hello,
when I run the script run-seedbox.sh I get the following output:
[./run-seedbox.sh] ***** Generating configuration... *****
[./run-seedbox.sh] ***** Config OK. Launching services... *****
[./run-seedbox.sh] ***** Pulling all images... *****
ERROR: Version mismatch: file ./docker-compose.yaml specifies version 3.8 but extension file ./services/traefik.yaml uses version 1
What should I do?
Thanks!
Hello,
I can successfully access the docker services via the registered DNS domain with secure connection (e.g. portainer.mydomain.com)
However, I can only access them from my local network and not from the internet. I have both ports 80 and 443 open on my router. I'm tried to change some configuration on traefik or the docker network but I'm not really sure what to do.
From traefik logs I cannot see anything when I'm trying to access from outside. Where is the problem?
How can I expose the services to external connections?
Thanks!
Darren
Hi, it took me a while to figure out that you need to encrypt auth HTTP passwords in file using something like htpasswd
from the apache2-utils
package, according to the traefik docs.
Hi again,
so opening https://portainer.mydomain.nl/
gives me this error in my webbrowser: Client sent an HTTP request to an HTTPS server.
Changing the port from 9443
to 9000
in the config fixes it.
Is it a bug or config error on my side?
Thank you!
PS.
I haven't figured out how to set the password yet, whatever i set PORTAINER_ADMIN_PASSWORD
to i always get Unauthorized
๐คท๐ผโโ๏ธ
Hello,
Have upgrade soft in V2, but now have this warning :
initCommand [WARN] yq default output is now 'auto' (based on the filename extension). Normally yq would output 'props', but for backwards compatibility 'yaml' has been set. Please use -oy to specify yaml, or drop the -p flag.
Thx
Hello,
Why do I need to config Cloudfare?
Is this possible to not use it?
Hey there @jfroment,
This is a solid collection of tools! My only request for this is to set up some alternate authentication methods rather than basic HTTP auth - I've been trying to work through how to modify the collection of scripts to do this, however authentication is fairly deeply rooted in everything, so I'm getting a bit stuck.
Thank you!
Hello
Let me start with the fact that this is one of the first projects I have contact with - but where do you need to start...
From the whole package I installed:
-deluge
-traefik
-portainer
-jdownloader
-nextcloud-db
-nextcloud
I did everything according to the settings, log in. and then I encounter an error in the form of no SSL certification for a given DNS address. I have read quite a lot of topics, but due to the fact that this is my beginning - I can't find a solution.
in some topics on http auth there are solutions based on toml, or other solutions, e.g. acme.json file
Thanks in advance with any hint
Regards
P.S.
I tried different options... the option without https works fine
Heyy people !
I keep getting the error
Error response from daemon: conflicting options: port publishing and the container type network mode
After I run the script and when it's trying to recreate the containers. It's been 3 days that I'm looking where's the issue but I don't find anything.
Sometime I also get that it's the host and the container type network mode that is conflicting.
What should I add in the config.yaml so that it stops conflicting ?
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.