cross-seed: Permission Denied (Docker Instance)
Hi, I just setup this but I am getting errors and I am sure its something to do with the way I am running the test. I have cross-see running on machine a and qbittorrent is running on machine b (definitely machine a can’t see machine a shares).
This is my compose
cross-seed:
image: mmgoodnow/cross-seed
hostname: ${DOCKERHOSTNAME}
ports:
- 2468:2468
container_name: cross-seed
user: 1000:1000
environment:
- TZ=${TZ}
restart: unless-stopped
command: daemon
volumes:
- /etc/localtime:/etc/localtime:ro
- ${DOCKERCONFDIR}/cross-seed:/config
- ${DOCKERSTORAGEDIR}/data/.torrents:/output
I am getting these errors
Configuration file already exists.
Validating your configuration...
Your configuration is valid!
(node:1) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, mkdir '/storage/data/.torrents'
at Object.mkdirSync (fs.js:921:3)
at Object.serve (/usr/src/app/dist/src/server.js:91:18)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Command.<anonymous> (/usr/src/app/dist/src/cmd.js:98:13)
at async Promise.all (index 0)
at async run (/usr/src/app/dist/src/cmd.js:132:5)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Thats my config.js file which I created manually
configVersion: 1,
jackettServerUrl: "http://192.168.1.167:9117",
jackettApiKey: "apikey",
delay: 10,
trackers: ["oink", "tehconnection"],
torrentDir: "/storage/data/.torrents",
outputDir: "/storage/data/.torrents",
includeEpisodes: false,
searchAll: false,
action: "save",
rtorrentRpcUrl: undefined,
qbittorrentUrl: "http://username:password@192.168.1.167:8080",
};
But I have that directory local where I am running cross-seed /storage/data/.torrents
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 41
I didn’t get around to fixing yesterday but am hoping to have one for you ASAP.
https://github.com/mmgoodnow/cross-seed/releases/tag/v2.3.5 should hopefully 🤞 fix the missing files bug. Auto torrent management will no longer be turned on for cross-seeds injected into BitTorrent. FYI @Drazzilb08
I think the issue could be what was suggested in the previous post,
These files that are seeding don’t have a category linked to it so the location is not being added correctly.
If the torrent management mode is set to automatic, You shouldn’t need to pass the save_path and the category because the category is tied to the save_path. Simply passing the category will be enough when adding the torrent.
So what I’m guessing is that it’s ignoring the save_path because the category is set to cross-seed and torrent management mode is set to automatic so it’s overwriting the save_path with the default one (not the one that you passed).
Try setting the autoTMM option to false when adding the torrent file. https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#add-new-torrent