Inrixia / Floatplane-Downloader

Project for automatically organizing and downloading Floatplane videos for plex.
https://monitor.spookelton.net/public-dashboards/db0aec66747b4950b01b128916eb737e
GNU Affero General Public License v3.0
157 stars 41 forks source link

(Feature request) uNRAID community plugin #134

Closed pkostadinov90 closed 1 year ago

pkostadinov90 commented 1 year ago

Hi.

It would be amazing to have a community plugin for unraid. It's a simple predefined list of variable for the docker run command, with some description, that are available to the user to change. I can share if needed what I have setup so far, but it's probably way too basic.

And it would also be amazing if this gets tested under this specific scenario. I am personally having troubles setting up the permissions correctly, the docker writes as root, with 700, and I would like either to have it 755, or write as different user. And after many attempts to fix it, I never got this working, so I ended up creating a hourly cron to fix the permissions.

Inrixia commented 1 year ago

This has been a ongoing request with people having worked on it in the past. Unfortunately I don't run unraid so can't test any implementation.

If you or someone else can then I would be happy to work with them on providing it as a option.

mattkdoggie commented 1 year ago

I can share my setup if that would help.

Inrixia commented 1 year ago

That would be much appreciated @mattkdoggie

mattkdoggie commented 1 year ago

Here it is, for some reason Github won't let me upload the xml so I zipped it. floatplane-downloader.xml.zip

orthanc42 commented 1 year ago

image you might need to set the PGID, PUID, and UMASK on the docker container. i think i might've had to manually create those parameters inside the unraid docker interface. this lets docker set the right user id and group id on the abc user inside the container.

Inrixia commented 1 year ago

@pkostadinov90 Can you try what @orthanc42 suggested and let me know if that fixes permissions?

pkostadinov90 commented 1 year ago

image

It had no effect. What you sugested, added this:

docker run
....
  -e 'PUID'='1000'
  -e 'PGID'='100'
  -e 'UMASK'='002'
  -v '/mnt/user/appdata/Floatplane':'/fp/db':'rw'
  -v '/mnt/user/NAS/Floatplane/':'/fp/videos':'rw' 'inrix/floatplane-downloader'

I did check the user and group IDs, and 1000:100 are the correct ones in my case as well, so the issue is not in the IDs themselfs.

pkostadinov90 commented 1 year ago

On a separate note, I would like to share what additional variables I use, I am not sure how to generate the XML file, so I will just drop the variables I am using, that were not in the provided XML by @mattkdoggie:

mattkdoggie commented 1 year ago

Not sure about the problems with PUID and PGID as they seem to be working for me. I updated the XML to include a bunch of the most important variables. floatplane-downloader.xml.txt

A docker support thread will need to be created and added as well as an icon for the docker.