Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Watch folder not working with Docker Windows #246

Closed
1 task done
MatrixRonny opened this issue May 20, 2023 · 4 comments
Closed
1 task done

[BUG] Watch folder not working with Docker Windows #246

MatrixRonny opened this issue May 20, 2023 · 4 comments

Comments

@MatrixRonny
Copy link

MatrixRonny commented May 20, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I add a torrent to the watch folder (manual paste), it is not taken into account. I need to issue docker-compose stop and then docker-compose start. Otherwise, the added torrent file does not get the .added suffix to its name, nor added to config/torrents folder.

Expected Behavior

The torrent file is added immediately to the config/torrents folder.

Steps To Reproduce

  1. Create the docker-compose.yml file with the contents bellow:
  2. Create config, downloads and watch folders next to the docker-compose file.
  3. Run docker-compose up
  4. Add a torrent to the watch folder.

Environment

- OS: Windows 10 Pro
- I am using Docker Desktop for Windows (4.19.0) downloaded from https://www.docker.com/products/docker-desktop/
- Docker was configured to use WSL2
- I noticed that files in config folder (created by transmission-Docker) are owned by my logged on Windows user 
- It is not a network issue, since torrents work after recreating the container.

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - TRANSMISSION_WEB_HOME= #optional
      - USER= #optional
      - PASS= #optional
      - WHITELIST= #optional
      - PEERPORT= #optional
      - HOST_WHITELIST= #optional
    volumes:
      - ./config:/config
      - ./downloads:/downloads
      - ./watch:/watch
    ports:
      - 9091:9091
      - 51413:51413
      - 51413:51413/udp
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[ls.io-init] done.
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

This is going to be specific to something docker for desktop does and we do not support/recommend using it. If you must using windows as your host, install Ubuntu via WSL2 then install docker within Ubuntu.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2023
@github-actions
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants