Closed adamrothman closed 3 years ago
@crazy-max thanks for the quick reply! It looks like that patch creates configs
but not data
.
Oops JK I was looking at the wrong diff! Your linked patch should fix.
@adamrothman Pull latest it should now be fixed.
I believe this is the same problem described in #1; finding that issue is what allowed me to work around this. I have tried to provide as much detail as possible below – please ping me if I can answer any questions.
Thanks for maintaining this repo!
Behaviour
Steps to reproduce this issue
/data
volumeExpected behaviour
The container/application should create all necessary directories it expects to find inside
/data
on first run:config
data
downloads
temp
torrents
watch
webui
Actual behaviour
Container/application does not create
config
anddata
directories inside of/data
volume (it does create the others) and fails to start. Manually creating these directories allows the container to start and remain up.Configuration
docker --version
) :Docker version 18.09.8, build bfed4f5
docker-compose --version
) :docker-compose version 1.24.0, build 0aa59064
uname -a
) :Linux TARS 3.10.105 #25426 SMP Mon Dec 14 18:47:29 CST 2020 x86_64 GNU/Linux synology_avoton_rs2416+
Here's my compose file:
```yaml version: '3' services: flexget: build: flexget depends_on: - nginx environment: TZ: America/Los_Angeles networks: - tarsnet restart: always volumes: - /volume1/docker/flexget:/home/flexget/.flexget - /volume1/docker/transmission/watch:/home/flexget/torrents nginx: build: nginx networks: - tarsnet ports: - 'XXX:443' # redacted restart: always volumes: - /usr/syno/etc/certificate/_archive/1B4XLl:/etc/nginx/ssl:ro qbittorrent: depends_on: - nginx environment: ALT_WEBUI: 'false' PUID: '1044' PGID: '65538' TZ: America/Los_Angeles image: crazymax/qbittorrent networks: - tarsnet ports: - 'XXX:6881/tcp' # redacted - 'XXX:6881/udp' # redacted restart: always ulimits: nproc: 65535 nofile: soft: 32000 hard: 40000 volumes: - /volume1/docker/qbittorrent:/data transmission: build: transmission depends_on: - nginx environment: CURL_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt TR_CURL_VERBOSE: 1 TZ: America/Los_Angeles networks: - tarsnet ports: - 'XXX:XXX' # redacted restart: always volumes: - /volume1/docker/transmission/config:/home/transmission/.config - /volume1/docker/transmission/incomplete:/home/transmission/incomplete - /volume1/docker/transmission/watch:/home/transmission/watch - /volume1/Media/Downloads:/home/transmission/downloads networks: tarsnet: {} ```docker-compose.yml
Docker info
Logs
When first starting the container with an empty host directory mapped to
/data
:The container does create a few subdirectories inside the host directory mapped to
/data
but is missing some crucial ones:After manually creating a
config
directory in the host directory mapped to/data
:While in this state, where
/data/config
exists but not/data/data
, something causes theDownloads\ScanDirsV2
field in qBittorrent's config file to grow and grow. I think it's this line: https://github.com/crazy-max/docker-qbittorrent/blob/002e4696c75d6d301a57cfb47ce035fa7f599de7/entrypoint.sh#L87It seems like it gets longer every time the container restarts. While troubleshooting this issue, my
qBittorrent.conf
file grew to 1.5 GB. Here's an example from after a few restarts: