Large Media Uninstallation


I would like to uninstall the Large Media add-on from my site, and migrate it to LFS provided by Github. I have already setup the environment variables according to the support guide, I just need Large Media removed to proceed.

The site id is: e0760ceb-17c6-4891-82d5-38be3454ecf9


Hi Josh!

We’d be happy to help!

First, can you please confirm that you have read the following Support Guide: [Support Guide] Uninstalling Large Media

Second, after doing so, please confirm you have backups of all files.

​Please let us know if there are any questions and after confirming the items above for us, we will proceed with uninstalling the Large Media add-on for this site.


1 Like

Hi Rachel,

I have read the uninstall guide, yes! I also have backups of all the files, so we’re ready to proceed.

Hi, @joshvickerson. We have removed the Large Media add-on from the site now.

Would you please push the commit removing .lfsconfig to the upstream repository? This will trigger a new build.

Please keep in mind that you might want to run the command below after deleting the .lfsconfig file:

git lfs push --all origin

This will sync the local repo’s LFS objects with the Git LFS service at the original Git host. It pushes any new binary blobs to their LFS service which may have been added after you moved the LFS service to Large Media.

Please let us know if there are any issues with the new build or deployed site.

1 Like

Thanks for removing it! I’ve completed the push on my end with a branch deploy. The deploy for that branch appears to be correct, so I think it’s safe for me to merge to production.

I use LFS for images, and I assume if something went wrong all the images would be missing from the site in this build?

Yes, using Git LFS without Large Media is supported. There are two environment variables documented here to keep in mind:

One is that GIT_LFS_ENABLED=true (or GIT_LFS_ENABLED=1 works also) should always be set when using Git LFS and not using Large Media.

The other is that GIT_LFS_FETCH_INCLUDE can be used to modified which types of LFS files are cloned “for real” (instead of just cloning the pointer files). If you want to clone the real files for other file extension besides images (like ISO files for CD-ROMs or PDF files) they must be added to that environment variable.

In most cases, just setting GIT_LFS_ENABLED=true is all that is required. Please let us know if there are other question or if the site builds do not work as expected.