Minimize history/ log for dietpi controlled softwares

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
mail2rst
Posts: 75
Joined: Fri Apr 13, 2018 4:53 pm

Minimize history/ log for dietpi controlled softwares

Post by mail2rst »

Hello @ MichaIng
In pihole forum you gave instruction to make data log for one week for pi hole by writing “MAXDBDAYS=7 in /etc/pihole/pihole-FTL.conf to have logs for one week only.”
https://discourse.pi-hole.net/t/databas ... rt/43664/9
is there any same type of fine tuning I can do for these dietpi controlled software
Home assistant
Unbound
Plex
Wireguard
MQTT broker
Bitwarden
Samba share
Proftpd share
I do not need much history of these software. All these software are installed/control by dietpi. One week of history these softwares are sufficient to me. If it save resources for my system. I think Homeassistant is most critical for log/history.
mail2rst
Posts: 75
Joined: Fri Apr 13, 2018 4:53 pm

Re: Minimize history/ log for dietpi controlled softwares

Post by mail2rst »

I found & executed these procedure to reduce the size of storage used by plex based on following forum:
https://forums.plex.tv/t/how-to-clean-u ... r/503871/6

i made a cron command to delete these folders periodically. which reduce the storage used by plex without any loss in total functionality of plex media server performance according to me. i do not know in deeper what will effect adversely for plex functionality by removing them. but overall i am happy with slim trim version of plex & my rootfs partition on SSD also shown some extra free space.

remove these folders>>
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Caches/com.plexapp.*
/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Cache/*
Post Reply