Home Assistant : Q&A, Tips & Tricks, Your Configs

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
Can you not mount a nfs share to a folder on the host that can be accessed via the plex addon ? Would suggest not in config folder as it might get backed up when doing a snapshot.

From looking at what mounts in the plex add on, you should be able to mount a nfs share to a folder in "/usr/share/hassio/media". Which is mounted as the media folder for the plex add on.

Doing it on the server I use for downloads, but modify the docker container to access the folder.

Mounting the shares is a second level objective you can do natively in the HA configuration it seems.

My problem is trying to FIND the Plex docker bind folder and being able to drop my configuration in there.

I don’t want to reset my Plex database of watched/unwatched library history, but also would just like access to these things.

Can’t find it anywhere in the HA file system when I SSH into it.

Basically I just need to know where the appdata/config folder for the Plex add-on lives.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
My home assistant is running supervised on debian 10. Not sure if that is different on how you installed it, but all folders for home assistant is located in "/usr/share/hassio".

Have portainer on my, here is a screenshot from the container volumes, hope it helps.

1630496202729.png

Sure, you have looked at this as well, https://support.plex.tv/articles/201370363-move-an-install-to-another-system/ I done it once before and worked.
 
Last edited:

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
My home assistant is running supervised on debian 10. Not sure if that is different on how you installed it, but all folders for home assistant is located in "/usr/share/hassio".

Have portainer on my, here is a screenshot from the container volumes, hope it helps.

View attachment 1138500

Sure, you have looked at this as well, https://support.plex.tv/articles/201370363-move-an-install-to-another-system/ I done it once before and worked.

Yeah it’s that exact Plex migration I’m trying to do.

Will have a look tomorrow to see if that path resolves to anything.

I have it installed with the Intel NUC X64 Generic build natively to the bare metal of a Chromebox.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Yeah it’s that exact Plex migration I’m trying to do.

Will have a look tomorrow to see if that path resolves to anything.

I have it installed with the Intel NUC X64 Generic build natively to the bare metal of a Chromebox.

Have a look at the below, might impact your backups....
1630560879443.png

from here, https://community.home-assistant.io/t/home-assistant-community-add-on-plex-media-server/54383/121

So it looks like the library will be in your "/usr/share/hassio/addons/data/xxxxxxxx_plex/" folder.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Took the board to a local electronic repair shop.... R350.00 for some soldering.... eish.

Let see how it goes.

1630561770343.png
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
Have a look at the below, might impact your backups....
View attachment 1138986

from here, https://community.home-assistant.io/t/home-assistant-community-add-on-plex-media-server/54383/121

So it looks like the library will be in your "/usr/share/hassio/addons/data/xxxxxxxx_plex/" folder.

Yeah so this just doesn't exist on the Supervisor'd version it seems.

1630609874881.png

I'm guessing it's because you are inside the Hass.io container, would need some way to connect to the Host itself.

****

So in desperation I installed the Samba add-on just to have a look and it even loads an "addons" share by default but it's also blank.

Something is very screwy, because all of the add ons are working just fine.
 
Last edited:

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
You login in via the hassio ssh add-on, you will need to get into the host it self if I not mistaken.

Maybe dig around here:

1630611877184.png
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
So according to this guy accessing the Addons data folders is simply not possible.


But that's not what others have reported here? Or is everyone else running it Supervised.

****

Actually I see @w1tw0lf did say he was running Supervised so it makes some sense.

And here I was trying to take the "manual" out of things. Why can it never just be simple.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Actually I see @w1tw0lf did say he was running Supervised so it makes some sense.

Yup supervised on myside. But I installed it on a debian os via a script asp per https://community.home-assistant.io/t/installing-home-assistant-supervised-on-debian-11/200253

I can ssh to the host(‘Native SSH’) and into hassio via the ssh addon. When using ‘Native SSH’, I can get to "/usr/share/hassio" but when ssh to hassio, as per your post #1,827 also can't get to "/usr/share/hassio"

Under correction you using and intel nuc with the https://www.home-assistant.io/installation/generic-x86-64/ ? As far as I know you can't access the host os from here.

My suggestion would be run debain on the nuc, and use the supervised install as per link above, then you can ssh to host os as well as the home assistant instant, would just need to use different ports for the ssh access. You can create a backup/snapshot and just restore once you have it up and running on debian.
 
Last edited:

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,478
Mounting the shares is a second level objective you can do natively in the HA configuration it seems.

My problem is trying to FIND the Plex docker bind folder and being able to drop my configuration in there.

I don’t want to reset my Plex database of watched/unwatched library history, but also would just like access to these things.

Can’t find it anywhere in the HA file system when I SSH into it.

Basically I just need to know where the appdata/config folder for the Plex add-on lives.
For watched library/history, install Trakt.tv addon in plex. Plex then syncs watch status to this. Then when you re-install plex its pulled from that again. Easy peasy if you ever lose your DB. I used this back in the day for multple kodi installs without a shared db.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
For watched library/history, install Trakt.tv addon in plex. Plex then syncs watch status to this. Then when you re-install plex its pulled from that again. Easy peasy if you ever lose your DB. I used this back in the day for multple kodi installs without a shared db.
Was also using the addon to keep track of the history but they changed to webhooks and now need both trakt vip and plex pass to use it, have a look here: https://blog.trakt.tv/plex-scrobbler-52db9b016ead

Can you still get the addon to work ?
 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,478
Was also using the addon to keep track of the history but they changed to webhooks and now need both trakt vip and plex pass to use it, have a look here: https://blog.trakt.tv/plex-scrobbler-52db9b016ead

Can you still get the addon to work ?
I do have lifetime plex pass...but no trakt vip.

I can see on trakt.tv it has updates in August still...but it is Anime.
So maybe you are right, there is something not working, but something is still working at least for me.

Screenshot 2021-09-06 at 11.37.24.png

Also, that link you posted, looks like it is a webhook thing, where as I am using the plugin which seems to work different and is installer on the plex server and not on the main plex website like the link.

Screenshot 2021-09-06 at 11.42.11.png


Can't seem to add more plugins...is this now a legacy thing?

This seems to think it still works: https://www.vpnmentor.com/blog/best-plex-plugins/

 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,478
ok movies and anime work....the TV series I think broke when I changed away from Plex Series scanner and started using Plex TV Series scanner...#*$&$*@#*@$. Going back to the original.

Maybe thats why the new webhook method came out.
 

deesef

Expert Member
Joined
Mar 3, 2017
Messages
2,627
ok movies and anime work....the TV series I think broke when I changed away from Plex Series scanner and started using Plex TV Series scanner...#*$&$*@#*@$. Going back to the original.

Maybe thats why the new webhook method came out.
I had the same problem a while back. I updated to the latest Plex Trakt plugin, restarted the Plex server and the updates to Trakt are working fine. I have Plex lifetime licence and the free Trakt tier.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
I do have lifetime plex pass...but no trakt vip.

I can see on trakt.tv it has updates in August still...but it is Anime.
So maybe you are right, there is something not working, but something is still working at least for me.

View attachment 1141964

Also, that link you posted, looks like it is a webhook thing, where as I am using the plugin which seems to work different and is installer on the plex server and not on the main plex website like the link.

View attachment 1141966


Can't seem to add more plugins...is this now a legacy thing?

This seems to think it still works: https://www.vpnmentor.com/blog/best-plex-plugins/


When last did you update plex ?

They announce over year ago the plugins will be removed. https://support.plex.tv/articles/201053748-overview/
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
The container update itself when it starts. By the looks of it I am on a July 2021 release

I am running it on an lxc on proxmox to abuse an old gpu that supports transcoding of x265 files when needed, on 1.24.2.4973-2b1b51db9. Don't see plugins option.
 

R4m80

Well-Known Member
Joined
Oct 31, 2014
Messages
370
Is there anyone that can help me to setup my HA so that I can access it from outside my home network. It used to work fine until HA they changed the setup with use_x_forwarded_for: and now I'm unable to connect. I have tried everything I can think of. Help would be much appreciated.
 

Veroland

Executive Member
Joined
Aug 24, 2005
Messages
6,304
Is there anyone that can help me to setup my HA so that I can access it from outside my home network. It used to work fine until HA they changed the setup with use_x_forwarded_for: and now I'm unable to connect. I have tried everything I can think of. Help would be much appreciated.
Can you give some more info on your setup? Are you using DuckDNS etc.
 
Top