tontze
November 10, 2024, 8:42pm
1
Hello !
I did manage to install binhex/qbittorrentvpn to electric eel via yaml file. It starts and runs, but i cannot reach it via web gui. Does anyone have an idea how to resolve this ?
services:
qbittorrentvpn:
cap_add:
- NET_ADMIN
environment:
- VPN_ENABLED=yes
- VPN_USER=
- VPN_PASS=
- VPN_PROV=custom
- VPN_CLIENT=openvpn
- ENABLE_STARTUP_SCRIPTS=yes
- ENABLE_PRIVOXY=no
- STRICT_PORT_FORWARD=yes
- ENABLE_SOCKS=no
- LAN_NETWORK=192.168.1.0/24
- NAME_SERVERS=192.168.1.1
- DEBUG=false
- WEBUI_PORT=9090
- UMASK=000
- PUID=568
- PGID=568
image: binhex/arch-qbittorrentvpn
ports:
- '9090:9090'
volumes:
- /mnt/pool/pool/qbittorrent/downloads:/downloads
- /mnt/pool/pool/qbittorrent/config:/config
- /etc/localtime:/etc/localtime:ro
Craig_L
November 10, 2024, 11:20pm
2
Nothing happens when you go to http://ip_of_truenas:9090 from a browser?
?
tontze
November 11, 2024, 5:20am
3
nope, also it seems it has now crashed after the night. I enabled debug log yesterday when reinstalling, here is the log after the crashing :
2024-11-10 21:02:42.928744+00:00Created by...
2024-11-10 21:02:42.928837+00:00___. .__ .__
2024-11-10 21:02:42.928868+00:00\_ |__ |__| ____ | |__ ____ ___ ___
2024-11-10 21:02:42.928892+00:00| __ \| |/ \| | \_/ __ \\ \/ /
2024-11-10 21:02:42.928917+00:00| \_\ \ | | \ Y \ ___/ > <
2024-11-10 21:02:42.928957+00:00|___ /__|___| /___| /\___ >__/\_ \
2024-11-10 21:02:42.928982+00:00\/ \/ \/ \/ \/
2024-11-10 21:02:42.929006+00:00https://hub.docker.com/u/binhex/
2024-11-10 21:02:42.929029+00:002024-11-10T21:02:42.929029017Z
2024-11-10 21:02:46.235683+00:002024-11-10 23:02:46.234830 [info] System information: Linux c57f2d0e3098 6.6.44-production+truenas #1 SMP PREEMPT_DYNAMIC Fri Nov 8 18:37:36 UTC 2024 x86_64 GNU/Linux
2024-11-10 21:02:46.295198+00:002024-11-10 23:02:46.294971 [info] Image tags: BASE_RELEASE_TAG=2024100402,INT_RELEASE_TAG=2024100402,IMAGE_RELEASE_TAG=5.0.1-1-02
2024-11-10 21:02:46.399741+00:002024-11-10 23:02:46.399481 [info] PUID defined as '568'
2024-11-10 21:03:03.083744+00:002024-11-10 23:03:03.083472 [info] PGID defined as '568'
2024-11-10 21:03:03.935001+00:002024-11-10 23:03:03.934712 [info] UMASK defined as '000'
2024-11-10 21:03:03.972333+00:002024-11-10 23:03:03.972057 [info] Permissions already set for '/config'
2024-11-10 21:03:04.113460+00:002024-11-10 23:03:04.113213 [info] Deleting files in /tmp (non recursive)...
2024-11-10 21:03:04.205888+00:002024-11-10 23:03:04.205597 [info] VPN_ENABLED defined as 'yes'
2024-11-10 21:03:04.245356+00:002024-11-10 23:03:04.245128 [info] VPN_CLIENT defined as 'openvpn'
2024-11-10 21:03:04.282628+00:002024-11-10 23:03:04.282371 [info] VPN_PROV defined as 'custom'
2024-11-10 21:03:04.331628+00:002024-11-10 23:03:04.331380 [warn] Unable to chown/chmod /config/openvpn/, assuming SMB mountpoint
2024-11-10 21:03:04.398535+00:002024-11-10 23:03:04.398263 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/uk1807.nordvpn.com.tcp.ovpn
2024-11-10 21:03:04.537334+00:002024-11-10 23:03:04.537061 [info] VPN remote server(s) defined as '194.35.233.214,'
2024-11-10 21:03:04.569969+00:002024-11-10 23:03:04.569704 [info] VPN remote port(s) defined as '443,'
2024-11-10 21:03:04.602717+00:002024-11-10 23:03:04.602470 [info] VPN remote protcol(s) defined as 'tcp-client,'
2024-11-10 21:03:04.640672+00:002024-11-10 23:03:04.640396 [info] VPN_DEVICE_TYPE defined as 'tun0'
2024-11-10 21:03:04.677659+00:002024-11-10 23:03:04.677404 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2024-11-10 21:03:04.714564+00:002024-11-10 23:03:04.714329 [info] NAME_SERVERS defined as '8.8.8.8'
2024-11-10 21:03:04.776298+00:002024-11-10 23:03:04.776046 [debug] iptables default policies available, setting policy to drop...
2024-11-10 21:03:04.821975+00:00modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/6.6.44-production+truenas
2024-11-10 21:03:04.822770+00:00ip6tables v1.8.10 (legacy): can't initialize ip6tables table `filter': Will be implemented real soon. I promise ;)
2024-11-10 21:03:04.822842+00:00Perhaps ip6tables or your kernel needs to be upgraded.
2024-11-10 21:03:04.862374+00:002024-11-10 23:03:04.862121 [warn] ip6tables default policies not available, skipping ip6tables drops
2024-11-10 21:03:04.966985+00:002024-11-10 23:03:04.966713 [debug] Showing name servers in '/etc/resolv.conf' before overwrite from NAME_SERVERS...
2024-11-10 21:03:04.999579+00:002024-11-10 23:03:04.999223 [debug] # Generated by Docker Engine.
2024-11-10 21:03:04.999604+00:002024-11-10 23:03:04.999311 [debug] # This file can be edited; Docker Engine will not make further changes once it
2024-11-10 21:03:04.999615+00:002024-11-10 23:03:04.999334 [debug] # has been modified.
2024-11-10 21:03:04.999624+00:002024-11-10 23:03:04.999352 [debug]
2024-11-10 21:03:04.999642+00:002024-11-10 23:03:04.999432 [debug] nameserver 127.0.0.11
2024-11-10 21:03:04.999651+00:002024-11-10 23:03:04.999451 [debug] options ndots:0
2024-11-10 21:03:04.999660+00:002024-11-10 23:03:04.999468 [debug]
2024-11-10 21:03:04.999668+00:002024-11-10 23:03:04.999484 [debug] # Based on host file: '/etc/resolv.conf' (internal resolver)
2024-11-10 21:03:04.999682+00:002024-11-10 23:03:04.999501 [debug] # ExtServers: [192.168.1.1]
2024-11-10 21:03:05.000200+00:002024-11-10 23:03:04.999517 [debug] # Overrides: []
2024-11-10 21:03:05.000219+00:002024-11-10 23:03:04.999533 [debug] # Option ndots from: internal
2024-11-10 21:03:05.037252+00:002024-11-10 23:03:05.037005 [debug] Showing name servers in '/etc/resolv.conf' after overwrite from NAME_SERVERS...
2024-11-10 21:03:05.069964+00:002024-11-10 23:03:05.069727 [debug] nameserver 8.8.8.8
2024-11-10 21:03:05.459405+00:002024-11-10 23:03:05.459151 [debug] Docker interface name, Gateway interface name, Gateway IP, Docker interface IP, Subnet mask and CIDR are defined as 'eth0,eth0,172.16.1.1,172.16.1.2,255.255.255.0,172.16.1.0/24'
2024-11-10 21:03:05.515142+00:002024-11-10 23:03:05.514877 [info] LAN_NETWORK defined as '192.168.1.0/24'
2024-11-10 21:03:05.568739+00:002024-11-10 23:03:05.568522 [info] LAN_NETWORK exported as '192.168.1.0/24'
2024-11-10 21:03:05.606141+00:002024-11-10 23:03:05.605891 [info] VPN_USER defined as 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
2024-11-10 21:03:05.643553+00:002024-11-10 23:03:05.643288 [info] VPN_PASS defined as 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
2024-11-10 21:03:05.685511+00:002024-11-10 23:03:05.685264 [info] VPN_INPUT_PORTS not defined (via -e VPN_INPUT_PORTS), skipping allow for custom incoming ports
2024-11-10 21:03:05.722906+00:002024-11-10 23:03:05.722660 [info] VPN_OUTPUT_PORTS not defined (via -e VPN_OUTPUT_PORTS), skipping allow for custom outgoing ports
2024-11-10 21:03:05.760408+00:002024-11-10 23:03:05.760123 [info] ENABLE_STARTUP_SCRIPTS defined as 'yes'
2024-11-10 21:03:05.797787+00:002024-11-10 23:03:05.797549 [info] ENABLE_SOCKS defined as 'no'
2024-11-10 21:03:05.835162+00:002024-11-10 23:03:05.834895 [info] ENABLE_PRIVOXY defined as 'no'
2024-11-10 21:03:05.872581+00:002024-11-10 23:03:05.872326 [info] WEBUI_PORT defined as '9090'
2024-11-10 22:14:16.257995+00:002024-11-11 00:14:16.257684 [info] SHARED_NETWORK not defined (via -e SHARED_NETWORK), defaulting to 'no'
2024-11-10 22:14:16.260090+00:00chmod: changing permissions of '/config/supervisord.log': Operation not permitted
Could it be permission problem ? It did create /config/supervisord.log itself tho, but its inside smb share, could that mess it up ?
tontze
November 11, 2024, 2:54pm
4
Should i be able to ping something from container shell ? Localhost is only one that responds to ping…
Craig_L
November 11, 2024, 4:15pm
5
You could change perms on the location of the opvn folder (and files). Also, it complaining about SHARED_NETWORK not defined might have something to do with not being able to hit the webui.
Also looking at your compose, there’s a lot of things that are listed on the project page that you don’t have. Would they make the difference? Maybe?
Docker build script for Arch Linux base with qBittorrent, Privoxy and OpenVPN
In my case, I went with Gluetun as its own container, that way I could add any app to its tunnel.
tontze
November 11, 2024, 6:53pm
6
Could be missing p arameters yeah, i followed some discussion in reddit and used those parameters. My knowledge about is close to zero
Ill look gluetun, thanks for the tip.
Craig_L
November 11, 2024, 7:21pm
7
There are a bunch of examples on these forums and on /r/truenas with example compose files for gluetun & qbittorrent. Some with a single compose and others with them split into their own.
I wanted to posted my guide on how to use any app including qbittorrent with a VPN in the new Electric Eel version.
Install the dockge app from Truenas.
Compose an image for the VPN, use this docker compose.yaml code and change as needed:
This code comes from: https://hub.docker.com/r/qmcgaw/gluetun
version: "3"
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
# line above must be uncommented to allow external containers to connect.
# See https://github.com/…
tontze
November 11, 2024, 7:24pm
8
Just got gluetun running and was about to check howto implement qbittorrent, thanks for the links
#edit: got it working, thank you again
tontze
November 19, 2024, 6:58pm
9
btw, it did work afterall, It just has ~20min wait time…
from github page:
I’m assuming you guys are all running Docker Storage Driver ‘overlay2’ right?, take a look at the following:-
opened 07:10AM - 07 Aug 18 UTC
* [x] This is a bug report
* [] This is a feature request
* [x] I searched exi… sting issues before opening this one (found similar issue, which was closed, but the problem still persist with me)
### Expected behavior
I want to build an image with simple wordpress and theme installation (with nginx, mysql and so on).
### Actual behavior
I am building an image with WordPress and own templates. In order for everything to work correctly, I need to set `chown www-data:www-data /var/www/html/ -R`. Unfortunately this takes long time, at least 5 minutes most of the time.
### Steps to reproduce the behavior
```
Step 91/95 : WORKDIR /var/www/html/
---> Running in 3bbf283b7604
Removing intermediate container 3bbf283b7604
---> abe7aa3891b3
Step 92/95 : RUN chown www-data:www-data . -R
```
This is where this hangs for at least 5+ minutes.
**Output of `docker version`:**
```
Docker version 18.06.0-ce, build 0ffa825
```
**Output of `docker info`:**
```
Containers: 6
Running: 6
Paused: 0
Stopped: 0
Images: 2246
Server Version: 18.06.0-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: d64c661f1d51c48782c9cec8fda7604785f93587
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.13.0-46-generic
Operating System: Ubuntu 17.10
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.688GiB
Name: katsarov-ThinkPad-T470s
ID: R5S6:67UI:QUZK:YBZS:VXLQ:YEFK:SEGU:7EAO:WTUZ:63R5:V3UX:NEJT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
```
**Additional environment details (AWS, VirtualBox, physical, etc.)**
None, running on a fresh ubuntu machine.
opened 01:55AM - 22 May 20 UTC
closed 06:58PM - 30 Jul 21 UTC
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubu… sercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
My ubuntu host hangs on this 2 year old line for quite a while.
I don't know why correct 'chown' encoded into the docker image?
https://github.com/linuxserver/docker-bookstack/blob/d5d65fdaad38273bee41dbd492222f89c1a20a10/root/etc/cont-init.d/50-config#L84
------------------------------
## Expected Behavior
Expected that my server would start within a minute or so
## Current Behavior
Can hang for as long as 5-10 minutes on my slow slice.
## Steps to Reproduce
using standard docker-compose
## Environment
**OS: Ubuntu 18.x
**CPU architecture:** x86_64/arm32/arm64
**How docker service was installed:**
## Command used to create docker container (run/create/compose/screenshot)
docker-compose -f docker-compose-book.yml up -d
## Docker logs
... docker exec bookstack ps ax
271 root 0:00 bash /var/run/s6/etc/cont-init.d/50-config
308 root 0:03 chown -R abc:abc /config /var/www/
324 root 0:00 ps ax