I am trying to set up a second repo with Netlify Large Media.
When I try git push I get a request for netlify credentials. I log into netlify using GitHub credentials and these do not work for logging into Netlify on the CLI for some reason.
git push
Username for 'https://39da3df7-863c-43ee-aa55-88d8dfbeb8ae.netlify.app':
I have checked my $PATH, it includes the netlify helper: /Users/<username>/.netlify/helper/bin
my PATH, my .lfsconfig, .netlify/state.json, .gitattributes all match another Large Media repo on my computer with the exception of the Netlify site ID, and different paths in .gitattributes
Not sure why this repo wants credentials I don’t have, while the the other repo does not.
hi there, thanks for that. We will take a look as soon as we are able. Apologies for for the disruption, but we’re glad to be alerted to this behaviour for Netlify Large Media! That is definitely helpful for us to know about
It looks like you activated the feature right while we’re making a long coming change from netlify.com to netlify.app for internal subdomains. I’m very sorry for the disruption. You can read more details about this change in this other thread: Changes coming to Netlify site URLs: .com to .app
If you change netlify.com in your lfs configuration to netlify.app, it would work as expected.
hmm, that isn’t what we had expected! We are going to do a little digging and try and figure this out. We’ll get back to you here as soon as we can with more information or questions. Thanks again for your patience.
So, This left me in a pickle. I have changes I need to push to the site. So I commented out the stanza in .lfsconfig and I was able to push - expected.
However all my LFS media pushed to LFS - things seem to be working with the .lsconfig data commented out.
Hey @thewellington, we are actively working on this and hope to have a code change that’ll fix this published soon. I totally get that this is less than ideal - we’ll update you as soon as we have any news.
hi again @thewellington - thanks again for bringing this issue to our attention.
We believe we have located the source of the problem and applied a fix.
if you go ahead and run the command netlify lm:install you should receive the new version of the credential helper which should allow you to push successfully.
if you have further concerns, please let us know - once again, we apologize for the hiccup!
Well, that worked - sort of. I got the new credential helper, uncommented the .lfsconfig file, and was able to push. However I still don’t have any graphics showing up on the site.
those are good questions - it may be that something got a bit muddled up while you were troubleshooting earlier. The Support Engineer who knows most about LFS can take a look when he is back around, hopefully we can get you some definite answers by tomorrow.
As a general rule, any special character (and that includes spaces, which get treated like special characters when they are in filenames) are a no-no, really, as they don’t get handled well or consistently by filesystems, as a rule. We encourage all-lowercase and no spaces to minimize weird behaviour