Skip to content

Remove previous images after upgrade #2442

@BrookeDot

Description

@BrookeDot

Is your feature request related to a problem? Please describe.
When upgrading from about.php the recent images are downloaded into /home/fpp/media/uploads/*.fppos these images must be manually removed. As they can be quite large (about 1GB each) an option to remove them would allow space to be cleared.

Describe the solution you'd like
While is could be unwise to automatically remove these old images, an option to remove them from the UI would be nice. Even a checkbox that says "remove old images" when upgrading. Otherwise a new option screen to manage these images.

Describe alternatives you've considered
I removed the images manually. In my case I just removed the 8.x images. My disk usage dropped from 70+% to 40%

$ cd home/fpp/media/upload/

$ ls -lanh
total 6.2G
drwxr-xr-x  2 500 500 4.0K Nov  5 01:02 .
drwxrwxr-x 18 500 500 4.0K Nov  5 01:00 ..
-rw-r--r--  1 500 500 992M Sep  3  2024 Pi-8.0_2024-09.fppos
-rw-r--r--  1 500 500 981M Aug 16  2024 Pi-8.0-beta1_2024-07b.fppos
-rw-r--r--  1 500 500 1.1G Oct  3  2024 Pi-8.1_2024-10.fppos
-rw-r--r--  1 500 500 1.1G Feb  7  2025 Pi-8.5_2025-02.fppos
-rw-r--r--  1 500 500 1.2G Aug 18 09:24 Pi-9.1_2025-08.fppos
-rw-r--r--  1 500 500 1.1G Nov  4 15:57 Pi-9.3_2025-11.fppos

$ rm Pi-8*

$ls -lanh
total 2.2G
drwxr-xr-x  2 500 500 4.0K Nov 10 12:00 .
drwxrwxr-x 18 500 500 4.0K Nov  5 01:00 ..
-rw-r--r--  1 500 500 1.2G Aug 18 09:24 Pi-9.1_2025-08.fppos
-rw-r--r--  1 500 500 1.1G Nov  4 15:57 Pi-9.3_2025-11.fppos

I could likely be more aggressive and remove the 9.x images but don't fully understand the advantage of keeping old images around.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions