Giter Site home page Giter Site logo

laur89 / docker-seedbox-rclone-fetch-extract Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 517 KB

Dockerised service pulling data from remote seedbox & extracting archives

Dockerfile 2.29% Shell 97.71%
data-downloader downloader emby extract extract-data extractor jellyfin plex radarr rclone seedbox servarr sonarr torrent unraid unrar unzip

docker-seedbox-rclone-fetch-extract's People

Contributors

laur89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-seedbox-rclone-fetch-extract's Issues

DEST_FINAL is not writable

I apologize if there is something about docker I don't understand, but I attempted to build a docker compose yml to run this container.

version: "2.1"
  services:
    seedbox-fetcher:
      container_name: seedbox-fetcher
      image: layr/seedbox-rclone-fetch-extract
      environment:
       - REMOTE=seedbox
       - SRC_DIR=/torrents/rtorrent
       - DEST_INITIAL=/path/to/initial
       - DEST_FINAL=/path/to/final
       - PUID=1000 
       - PGID=1000
    volumes:
     - /media:/data 
     - /path/to/config:/config 

(1000:1000 is my normal user on the vm)

When I locally use the config file (which is contained on my vm) to sync, it works. In the container logs, the container gives me this log essentially over and over

crond: USER abc pid 1184 cmd sync.sh sendmail: can't connect to remote host (127.0.0.1): Connection refused

When I use sudo docker exec -it --user abc seedbox-fetcher /bin/sh to get into the container, I get the following error when I run ./sync.sh

[sync-34] ERROR DEST_FINAL /path/to/final] is not writable

This seems insane to me as the /path/to/final permissions are drwxrwxrwt 2 abc abc 4096 Dec 23 08:23 Downloads (I realize this is insecure, I just have been beating my head against the wall about this forever).

When I execute just echo "$DEST_FINAL is $( [[ -w "$DEST_FINAL" ]] && echo "writable" || echo "not writable" )", I get that the folder is writable. Only within the script does it fail, and I've altered the script to export the condition that's giving this error in common.sh.

Is there something I'm missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.