[HELP] Plex running in Nvidia Shield 2017 (Running out of storage)

Updated. Cleared cache for good measure. Library seems fine. Still afraid to re-enable intro detection for now. Let us know how it goes.

For what it’s worth, I am currently using SHIELD as my main server. Enjoy!

1 Like

So I had to wipe out my data, again, to make room for an update to fix this. I will need to add all my libraries, again. Is there a recommended procedure to follow so internal storage does not fill up? Set transcoder to external before adding libraries? Something like that?

@distearth

Go into Settings in the Plex Client (it has the Shield specific server settings in it) after doing the initial Plex Server setup. Scroll down to where you see the plex server data storage location setting and set it to your removable drive prior to adding libraries.

Use a web browser to connect to your Plex account and go into the settings in the web client for your server, go to Transcoder. There is a setting there ā€œTranscoder temporary directoryā€. You’ll have to find the path using a USB ID that is only visible with a third party app like Solid Explorer (get it from Play store), find the drive that matches the capacity of the removable drive you want to use - it should have an NVIDIA_SHIELD folder in it. Check the properties of that folder using solid explorer and copy that path into the transcoder temporary directory field. Save and restart your shield. Mine looks like /storage/3444-919A/NVIDIA_SHIELD/

It will automatically create it’s own subfolder to store the temporary files in. Paths outside of the NVIDIA_SHIELD folder won’t work because Plex won’t have write access to them.

It would benefit everybody if in the future when you change the plex storage location using the settings in the shield plex client, that it automatically set the transcoder temporary folder path to something on the removable drive you’re directing it to store the data in, it only makes sense to me. Otherwise even if you do have plenty of the very limited amount of internal storage space on the shield TV that you can accomplish fitting the transcoder temp files in it will still wear out the NAND Flash on the shield really quickly leading to an irreversible and early death of the entire Shield TV. I’m already kicking myself for all of the write cycles mine endured due to this problem - hopefully it isn’t garbage flash.

@StSimm1 Thank you for the work you put into fixing this!

1 Like

You shouldn’t have needed to do that. We use the ā€˜cache’ directory if you don’t set the transcoder path

Cache directories are cleared by the system or when you ā€˜clear cache’

I found, after you set the Shield to use external storage, you can look at the Scheduled Tasks page and see the path. I copy and pasted that path without the /Database Backup folder. Use that path in Transcoder path and it will create a Transcode folder. Mine ended up looking like, /storage/emulated/0/Plex Media Server/Transcode. This points to my adopted storage.

Sorry if this is a stupid question but I’m not seeing the update to v1.19.4.2935. Is there something I can do to prompt it?

I can’t update because I’ve run out of space. Is there a way to clear the tmp directory space to perform the upgrade? I really don’t want to have to rebuild my Shield setup from scratch. Appreciate the quick response on this @StSimm1 but this bug was horrible. I’ve tried uninstalling apps but they’re all on my external drive so I can’t figure out how to clear space on the internal drive

I think I’m in the same boat. I’ve freed up around 500mb on the shield but that doesn’t appear to be enough to install pending updates to the system apps and trying to install the Plex update from an APK just fails. I really don’t want to have to clear the PMS data to fix this bug when the whole point of the fix is to avoid having to do that.

@StSimm1

I’ve identified that there is still a problem on shield related to where it stores large amounts of files when it’s supposed to be storing data in an alternate location to internal.

BUG (Critical): PMS on SHIELD cache folder does not honor Plex Data Storage Location

I seem to be having this problem and having followed the above steps still have an 8gb file on my internal storage when everything else is moved to adopted storage.

Am I right in thinking that moving the Plex media server system app to the adopted storage in developer mode isn’t recommended?

I’m also, still, unable to see the 1.19.4.2935 update (currently on 1.19.4.2902). I’ve clear up 1.2 GB on the internal storage (PMS is hogging around 7GB at the moment)
(I’m on the Australia play store if that makes a difference)

I’m on 1.19.4.2935 but I don’t see how it has made any difference. Do I need to do something to make the cache delete?

Can I just clarify something please? Is it necessary to manually clear the cache? Should this be done from the system apps on the shield under PMS? Will that clear just the problem files and not all the data and library?

Does clearing the cache from the system app PMS delete all your library data? I.e will I need to set up Plex from scratch if I do this or will it just clear the problem files that we’re talking about?

Clearing cache won’t do anything to your library. Clearing data will reset everything.

Ah wish I’d asked this sooner - so this is the final step of applying this fix? It isn’t meant to do it by itself? I assumed it would.

Well there are two problems. The intro detection one which is supposed to be fixed in the last release and another one I discovered where PMS is using the cache folder on shield internal storage instead of the removable drive which is not yet fixed.

Either way clearing cache is something you’re going to have to keep doing until this finally all gets resolved because with any kind of reasonably sized library cache is going to get bigger than the puny shield storage can handle.

Ok brilliant thank you.

Oh I’ve got it wrong. In the shield it’s the data that is 8gb. The cache is only a 242kb. Does this mean I have a different problem? I thought I’d moved my data to the adopted storage but is it maybe still on the internal?

In the shield app storage section it says 8.09gb used in internal shared storage.

In the Plex app it says the area used is internal (user) I think. Is that right for the adopted storage? I say I think because it isn’t showing at the moment, probably because I’m critically low on storage.

Edit - it says PMS DATA storage location is internal (user accessible storage location)