Permission Denied (Docker Instance)
See original GitHub issueHi, 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:41
Top Results From Across the Web
Why does docker container prompt "Permission denied"?
A permission denied within a container for a shared directory could be due to the fact that this shared directory is stored on...
Read more >Troubleshooting Docker Permission Denied Problems
Many factors could lead to a permission denied error while connecting to Docker. One of those factors is that you may be running...
Read more >Docker Files and Volumes: Permission Denied
Encountered a 'Permission Denied' error on a file copied to a Docker image or when accessing a file on a mounted volume within...
Read more >Container permission denied: How to diagnose this error
You can diagnose this by telling the user to attempt to run the container as root, which would match up to the default...
Read more >How to Fix Docker Permission Denied Error on Ubuntu
In some cases, you may need to add additional permissions to some files specially if you have run the docker commands with sudo...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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