[PLUG] github connection issue, part 2
Rich Shepard
rshepard at appl-ecosys.com
Tue Aug 1 14:37:09 UTC 2023
Yesterday I resolved the missing github private ssh key; I'm able to push
changes from my local web site repo to the github repo using ``git push
origin'' and entering my github pass phrase. That's the first half of my
problem resolved.
The second half, which makes no sense to me or Paul Mullen who developed the
site, is that I still cannot rebuild the site after making changes to the
content. The Makefile which up until 2 weeks ago worked flawlessly now
fails:
$ make zero-to-prod
[ -d /home/rshepard/development/web-site/aes-2023/public ] && rm -fr /home/rshepard/development/web-site/aes-2023/public
Makefile:48: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
[ -d /home/rshepard/development/web-site/aes-2023/resources ] && rm -fr /home/rshepard/development/web-site/aes-2023/resources
Makefile:48: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
hugo --cleanDestinationDir --printPathWarnings --environment="production"
go: github.com/gethugothemes/hugo-modules/components/social-share at v0.0.0-20230301110236-bc8a937273bb: invalid version: git ls-remote -q origin in /tmp/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/66708972a0606473ffff88d0b75f6bbe7a4ad931dc3341929b3802f0209266ad: exit status 128:
fatal: unable to access 'https://github.com/gethugothemes/hugo-modules/': error setting certificate verify locations:
CAfile: /usr/share/curl/ca-bundle.crt
CApath: none
hugo: collected modules in 623 ms
Error: failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: go: github.com/gethugothemes/hugo-modules/components/social-share at v0.0.0-20230301110236-bc8a937273bb: invalid version: git ls-remote -q origin in /tmp/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/66708972a0606473ffff88d0b75f6bbe7a4ad931dc3341929b3802f0209266ad: exit status 128:
fatal: unable to access 'https://github.com/gethugothemes/hugo-modules/': error setting certificate verify locations:
CAfile: /usr/share/curl/ca-bundle.crt
CApath: none
*errors.errorString
Total in 624 ms
Makefile:59: recipe for target 'html-prod' failed
make: *** [html-prod] Error 255
There is a ``clean'' section in the Makefile and that's ignored. But, why
hugo (the site framework) and go (Hugo's language) cannot connect to github
is the problem. Is the problem with a Certificate Authority at github's end?
Hugho's end? Go's end? It apparently isn't at my end.
All help appreciated,
Rich
More information about the PLUG
mailing list