Support Forums

Ending Large Media Use

Hi there,

I’m looking to stop using the Netlify Large Media service. My site name is uvm-vote.netlify.app.

I haven’t fully cloned my repository yet; should I do that first?

Thanks for all your help,

Thanks for letting us know you want to uninstall the Large Media add-on for your site. Would you please confirm you have read the following Support Guide?

If you have read that, please confirm you have backups of all files and let us know which site to remove Large Media from. To identify the site, you can send us the site subdomain, API ID (the id not the key), or a link to the site (whichever you prefer).

Once we know which site, we’ll reply soon to confirm the add-on has been uninstalled.

​Please let us know if there are any questions and, if not, please tell us the site to do this for.

Hi Hillary,

I’ve deleted my .lsfconfig file and pushed the commit. I have a local copy of the repository on my main computer. I think that puts me in a good spot to have the service removed?


We have removed the Large Media add-on from the site now.

Would you please trigger a new build now?

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.

When I try to run the script you suggested, I get an error message and the task doesn’t complete:

Hooks for this repository have been removed.
Global Git LFS configuration has been removed.
jamestedesco@Jamess-Air uvm.vote % git lfs migrate export
fatal: one or more files must be specified with --include
jamestedesco@Jamess-Air uvm.vote % git lfs push --all origin
Unable to find source for object d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3 (try running git lfs fetch --all)
Unable to find source for object d6e7e1281c2f82b70cce828c1221b14de1b370248a93565fe0c6eb2c8e74d2a8 (try running git lfs fetch --all)
Uploading LFS objects:   0% (0/8), 0 B | 0 B/s, done.

Also, when I look at my GitHub repository (found here), my images still look stored in the LFS.

What can I do to move my local images back up to the repo?

Hi, @JamesT. The git lfs command applies only if you are moving back to the previous Git LFS service.

If you are no longer using Git LFS at all and looking for instructions on how to move those files out of LFS, then I would refer you to the documentation for your Git host for the answers. In the case of GitHub that documentation is found here:


If are questions that documentation doesn’t answer, please let us know.

Hi, @luke! Thanks for your insight into this. Aside from reading that documentation, I also found the method mentioned here useful for syncing my GitHub repo with my local one:

git rm --cached -r .
git add .

Thanks again!

1 Like

Hi, @JamesT. Thanks for taking the time to follow-up with those additional steps. If someone is searching for solutions and finds this topic in the process, I’m sure those details will be helpful and so I do want to say “thanks again” for sharing that information. :+1:

1 Like