Transmission-create from within docker/portainer

Discussion of Transmission that doesn't fit in the other categories
Post Reply
Jonyskids
Posts: 1
Joined: Wed Mar 06, 2024 8:56 pm

Transmission-create from within docker/portainer

Post by Jonyskids »

I have docker with a transmission container. (Consider me in the learning phase. Although I never leave that phase.)

From within the console of the container in Portainer I run:

transmission-create -o ~/uploads/My_Book.torrent -p -t <announce_url> ~/books/My_Book.epub

The response I get:

Creating torrent “root/upload/My_Book.torrent”
ERROR: Cannot find specified input file or directory.

I have also run:

transmission-create -o /uploads/My_Book.torrent -p -t <announce_url> /books/My_Book.epub

Same results.

I am uncertain how to manage the files paths? (In the compose file for transmission I declare /uploads & /books locations.

I am very open to suggestions and education.
Thaethrad
Posts: 1
Joined: Sat Aug 10, 2024 7:46 am

Re: Transmission-create from within docker/portainer

Post by Thaethrad »

The error message you're getting, "Cannot find specified input file or directory," suggests that the transmission-create command is not able to locate the files you're trying to create the torrent for.

Now, the way you've set up the file paths in your Transmission container using Portainer is on the right track. Declaring the /uploads and /books locations in your compose file is a great start. However, the issue seems to be with how you're referencing those paths within the container.

Try this instead:

Code: Select all

transmission-create -o /uploads/My_Book.torrent -p -t <announce_url> /books/My_Book.epub
Instead of using ~/uploads and ~/books, you're using the absolute paths that you've defined in your compose file. This should help the transmission-create command find the necessary files and directories.
Post Reply