linuxserver / docker-emby

GNU General Public License v3.0
116 stars 39 forks source link

Unraid issues with optional parameters #46

Closed diegomontanaduarte closed 2 years ago

diegomontanaduarte commented 2 years ago

Every time that I got an update from Emby docker app on Unraid the Raspberry Pi optional parameters is being duplicated on the template and then the update failed since I don't use Raspberry Pi hardware acceleration. To workaround this issue I have to edit the docker options and remove all optional parameters, the last time I needed to remove more than 30 duplicated fields

/opt/vc/lib /dev/vchiq /dev/video10 /dev/video11 /dev/video12

image

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

diegomontanaduarte commented 2 years ago

These fields is still getting duplicated. For example, If I click in "Check for Updates" button in Unraid Docker page fields are being duplicated.

diegomontanaduarte commented 2 years ago

@Roxedus could you please take a look into this issue again, still persists.

Roxedus commented 2 years ago

Disable the sync manually then

diegomontanaduarte commented 2 years ago

How can I disable the sync manually?

Roxedus commented 2 years ago

https://forums.unraid.net/topic/38619-docker-template-xml-schema/?do=findComment&comment=825087

diegomontanaduarte commented 2 years ago

OK, it seems manually setting the TemplateURL to false resolved the issue, @Roxedus thanks for your help!

jeff15110168 commented 2 years ago

I'm also having this issue. I had ~100 copies of those 6-7 variables. I'm not following how to implement this templateURL solution. Sorry for beginner unraid question. @diegomontanaduarte do you mind posting the idiot-proof steps on how to do this via docker tab in unraid?

And just curious - is that a temporary solution that should only be implemented until a bug fix is made with the core container?

diegomontanaduarte commented 2 years ago

@jeff15110168 briefly you just need to edit the template file located at "/boot/config/plugins/dockerMan/templates-user/my-Emby.xml" and change the "TemplateURL" value to false.

I'm unsure, it seems @Roxedus made a commit and merged on the master branch. Maybe the fix will work just for new Emby App installations on Unraid.