Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Permission Denied (Docker Instance)

See original GitHub issue

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

    image: mmgoodnow/cross-seed
    hostname: ${DOCKERHOSTNAME}
      - 2468:2468
    container_name: cross-seed
    user: 1000:1000
      - TZ=${TZ}
    restart: unless-stopped
    command: daemon
      - /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 (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: "",
	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@",

But I have that directory local where I am running cross-seed /storage/data/.torrents

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:41

github_iconTop GitHub Comments

mmgoodnowcommented, May 6, 2021

I didn’t get around to fixing yesterday but am hoping to have one for you ASAP.

mmgoodnowcommented, May 13, 2021 should hopefully 🤞 fix the missing files bug. Auto torrent management will no longer be turned on for cross-seeds injected into BitTorrent. FYI @Drazzilb08

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found