I’m currently experiencing an issue with Netlify Large Media where the files in the repo are uploaded to Github as full files (instead of pointers) and the files show up in the Netlify Large Media tab but stay as “pending upload” forever.
Would you please try removing the files from the git repo and then adding them back to tracking again? Here are the GitHub instructions for this (but this also applies to Netlify Large Media):
If removing and then adding the files to tracking again doesn’t resolve the issue, would you please open a support ticket about this issue by emailing support@netlify.com?
In the original case, there was an issue in our database which needed to be manually corrected. This should be rare but, if you do see “pending upload” with Large Media and it never completes, please reach out to us here. We’ll be happy to take a look to confirm what the issue is.
@luke Happening to me right now, files are pending upload for over an hour.
Also, what is the limit for the total size of the storage, and does the limits from Github LFS (1gb storage, 1gb bandwidth) apply? Sorry I don’t know how it works
How can i access these files in my lambda functions? Over file system, http?
Hmm, we don’t impose any storage limitations (we don’t use github, here), so, pretty sure their limitations aren’t the issue.
The files will be accessible only over http. there is no concept of a “file system” for them either in a function, or even during build: they are pointers to files during build rather than the file themselves, and only the “deployed” copies are actually going to return content.
Thank you for the update! Yes, the files must be copied to the publish directory during the build and they are then available at their respective URLs after the deploy is complete.
I’m having a similar issue here. If I add new files they upload okay, but with the previous files, even if I remove them from git and add them back they’re in limbo.
This is maybe based on the SHA hash? Because if I make an extra copy, they’re equally stuf.
I worked out that if I modified the images slightly, that would change the SHA hash, and allow them to be uploaded again, such that they can show up.
One feature request that would be nice, would be for users to have the ability to delete large media from the server. That way, if I was in this situation, I wouldn’t need to alter & re-upload the images, and I could also have more control over my storage usage.
If these are files which were stored with a different Git LFS service and then moved to Large Media, the solution to upload them Large Media is normally running this command:
Hey Luke I ran across this issue and have been trying to fix it. I tried all the troubleshooting on here and haven’t really gotten anywhere. I tried the command you recommended and got this error. For the life of me cannot figure out how to fix it, any help would be greatly appreciated
Invalid remote name “origin”: invalid remote name: “/Users/jwickman/dev/react/jwickmanport/origin”
It would depend on what name you’ve set your remote repo to. origin is the “typical” name people give to their remote repo, but if you’ve used some graphical program, maybe you used a different name?