So far I have been able to fix all my problems with Google Search but I can’t find a solution for my current problem.
I am using DeepL to describe my problem in English.
I have the current PlexServer version running on a Raspberry Pi 4 with an SSD hard drive. The SSD drive is 120GB and I have my movies on an external hard drive.
I now found out that the SSD harddisk is full and therefore no update of the system and the PlexServer is possible anymore
The largest directories are:
57GB
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases
40GB
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media
9.1GB
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata
Is there any way to free up some space here, or does Plex really need all that space?
There are many databases in the directory. The oldest one is from 2020.
Can I delete old databases in the first step?
The most recent database is about 230MB.
How can I?
Empty Trash
Clean bundles
Optimize Database (will shrink the actual DB size)
Click Libraries
Hover over the 3 dots on the right of every library and click empty trash. I don’t know if there’s a way to do it for all libraries at once, maybe Chuck can help with that.
This will let Plex take care of this automatically
In comparison I have 20 terabytes of media and my database folder is 3 gigs. 57 gigs is bigger than my entire Plex Media Folder and that includes about 10 gigs I could delete in the cache.
Chuck if he does this will that delete all the old database files he has so he doesn’t have to delete them manually?
First of all, thank you for your help.
I was able to clean up my system a bit and now I have some space again.
What about the files in the media directory?
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media
Is there also a need for action here?
I have seen users where their Plex installation needed 500 GB of storage.
Their server ran on their NAS (native app install).
I’m mentioning this because , rather than using your main root filesystem of the computer, you should probably consider a second / another computer-resident storage location (USB HDD) or internal SSD.
If you go the SSD route, go big with it. you’ll get longer lifespan and won’t be bothered anymore.