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!
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?
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!
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.
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)