I wanted to update my pi but it failed then i found out that my root is completely fullI tried this code and as you can see pm2 logs take a lot of spaceso I tried to clear and minimize the logs but it says pm2 conf doesn't exits
how do i fix it should I start over with a fresh install of the dist (no data loss)?
or is there an easy fix?
Code:
Filesystem Size Used Avail Use% Mounted on/dev/root 28G 28G 0 100% /devtmpfs 1.7G 0 1.7G 0% /devtmpfs 1.9G 0 1.9G 0% /dev/shmtmpfs 759M 76M 684M 10% /runtmpfs 5.0M 4.0K 5.0M 1% /run/lock/dev/mmcblk0p1 255M 51M 205M 20% /boot/dev/sda1 938G 228M 938G 1% /serverHDtmpfs 380M 4.0K 380M 1% /run/user/1000
Code:
sudo du -xh / | grep -P "G\t"15G /root/.pm2/logs19G /root/.pm219G /root1.7G /usr6.9G /var/log7.3G /var28G /
how do i fix it should I start over with a fresh install of the dist (no data loss)?
or is there an easy fix?
Statistics: Posted by IT-smurf — Tue Jan 02, 2024 9:30 am