tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

question with permission issues

Open linux4life1 opened this issue 4 years ago • 5 comments

Having a spot of bother with permissions issues. I have no experience with docker but followed the install guide and got the GUI up and running but after I add a channel it fetches the metadata and stalls out spitting out errors such as Failed to download media: UU7H-o1hSxY (UUID: 48ad481c-e877-4a9d-ac49-17c2ffef199d) to disk, expected outfile does not exist:

ERROR: unable to create directory [Errno 13] Permission denied: '/mnt/4TBex'

before asking the question I chmoded 777 the directory where it supposed to be downloading to and verified the directory ownership

thank you for the help! the project looks amazing

linux4life1 avatar Dec 04 '21 17:12 linux4life1

Most likely the user you're running the container has does not have permission to write to the output directory you're saving videos to. Check that the user ID set with the environment variable PUID and the group ID set with the environment variable PGUID have permission to write to the data directory you set with the volume /some/directory/tubesync-downloads:/downloads.

In the documentation examples you would need to have a directory /some/directory/tubesync-downloads which UID 1000 had write permissions to, for example.

You can find your own accounts user ID on the command line with:

$ echo $UID

meeb avatar Dec 05 '21 04:12 meeb