Overloaded media folder

Hello Guys, im currently updating a Kirby 3.6 Project to latest 4. While updating i saw that the media folder on the live server is 168GB!!! large (the content folder is about 6.5GB) while investigating i saw that many files like a video with 100MB have several copies of itself in the media folder. which in sum fills the whole server

does someone know how this exactly works? in detail, when a copy of forexample a video is made to the media folder and why there are more than 20 copies of just one file.

Hi @jnsch, It’s a little hard to tell why those multiple copies have been created without further info. Are the copies all in the same folder or spread across multiple folders? If the latter, Kirby generates a media hash for the files which is also based on the modified time of the file. Could there be a reason the modified time of your video files has changed again and again - resulting in new copies of them in the media folder?

For large video files, have a look also at Skip media folder | Kirby CMS - might be worth skipping the media folder for their usage.