Hello I would like to remove Netlify LM to these 2 websites please :
db11d6f6-aba3-49d2-8fd1-163fa48c0fda
1012aacb-5533-4939-a2c4-f5a14c35701e
Thanks for letting us know you want to uninstall the Large Media add-on for those sites. 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 that we should proceed with removing the Large Media add-on.
Hello Luke,
Yes I have ! Thank you very much, I’m ready !
hi thanks for your patience. Large media is now removed from the two sites above.
Thank you!
Thank you! Unfortunately, I’m encountering an issue: no images are visible on my site after deployment.
I first tried on this one : 1012aacb-5533-4939-a2c4-f5a14c35701e on a sub branch (https:soon.pfdt.fr) but the image are also not visible on my main branch (https://pfdt.fr).
I followed the tutorial exactly: I want to completely remove GIT LFS, so I simply retrieved all the assets locally and then deleted .lfsconfig
. The deployment completes successfully, but no images are visible on my site.
So, I tried starting from scratch and attempted by keeping GIT LFS, adding the two variables before pushing the changes. But the issue remains the same.
I also tried to do a deploy clearing the cache… same problem.
Can you help me please ?
EDIT : ok I’ve succeed to have my images working on my test branch but I’ve tried so many things that I’m not sure exactly how…
I had all my images locally backed up in a specific folder. After commit and pushing the deletion of .lfsconfig I tried to replace all the images of my repo with backed up ones. Commit and push.
But the push always failed with this kind of error :
Pushing to https://github.com/pfdt/pfdt.fr
git: 'credential-netlify' is not a git command. See 'git --help'.
git: 'credential-netlify' is not a git command. See 'git --help'.
git: 'credential-netlify' is not a git command. See 'git --help'.
git: 'credential-netlify' is not a git command. See 'git --help'.
Enumerating objects: 71, done.
Delta compression using up to 8 threads
POST git-receive-pack (chunked)
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
Total 48 (delta 21), reused 1 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
Error that I didn’t really understand because I checked and my git-config seems ok.
So i reset the replacement of all my images and try to replace not all the image but only a few (only 3 or 4 by commit). And surprisingly : the push succeed, the deploy too ! My 3-4 images are working on my website !
I repeat the operation (3-4 img by commit) until all the images was replaced and all is working now. I’ve just a very ugly git history and cannot do any rebase because when I push it I have the ‘credential-netlify’ error.
Does it help you understand the problem ?
Is there a way to resolve the ‘credential-netlify’ error to clean my history ?
Does it exist a best way to do it because I have another website with a lot more images (and tried to do the same but it didn’t work) ?
After deleting .lfsconfig, you also need to run:
git lfs push --all origin
Have you done that?
Thank you it seems to resolve my problem.
In the tutorial this command is marked as only optionnal when you keep using GIT LFS.
Anyway, thank you !
Hi, @pfdt. You are continuing to use Git LFS, though. So, it is recommended for you for this reason (quoted from the support guide):
There is a possibility that new files were added to Git LFS while Large Media was the Git LFS service. If so, then the Git host’s LFS service probably doesn’t have copies of those newly added files.
This step makes certain that any new/missing files are sent to the Git host’s LFS service also.
Because the
.lfsconfig
file has been deleted from the repo, Git will treat the Git host for the upstream repo as the Git LFS service again. All that is needed now is to push all LFS assets to the upstream repo.To this, run the following command in the local repo directory:
git lfs push --all origin
You had files locally which had been pushed to the Git LFS service at Netlify (Large Media is the Git LFS service) and which never have been sent to GitHub before. This command syncs the local Git LFS files with the upstream repo. It is optional and only required if you continue to use Git LFS and if you have new files not sync to the Git host.
We at Netlify have no way to tell if this is the case or not. We do not know when to tell you to run it or not. Only you have enough information to know if you need to run it or not.