Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Failed to read Git log: fatal: detected dubious ownership in repository #171

Closed
mhansen opened this issue Nov 8, 2024 · 4 comments

Comments

@mhansen
Copy link

mhansen commented Nov 8, 2024

Hi, it looks like #145 is back for me.

On this merge request: https://gitlab.com/graphviz/graphviz.gitlab.io/-/merge_requests/701/diffs

updating floryn90/hugo from 0.134.2-ext-alpine-ci -> 0.138.0-ext-alpine-ci

I now get this error:

Using Docker executor with image floryn90/hugo:0.138.0-ext-alpine-ci@sha256:4749862f84e7332f71b1ad7cedafc9af6f3d595e12cda571b23a37a597b00dea ...
$ hugo
hugo: downloading modules …
hugo: collected modules in 14736 ms
Start building sites … 
hugo v0.138.0-ad82998d54b3f9f8c2741b67356813b55b3134b9+extended linux/amd64 BuildDate=[20](https://gitlab.com/graphviz/graphviz.gitlab.io/-/jobs/8292613158#L20)24-11-06T11:22:34Z VendorInfo=gohugoio
ERROR Failed to read Git log: fatal: detected dubious ownership in repository at '/builds/graphviz/graphviz.gitlab.io'
To add an exception for this directory, call:
	git config --global --add safe.directory /builds/graphviz/graphviz.gitlab.io
Total in [21](https://gitlab.com/graphviz/graphviz.gitlab.io/-/jobs/8292613158#L21)178 ms
Error: error building site: logged 1 error(s)

Previously this was fixed with #146, but it looks like it's back.

@mhansen
Copy link
Author

mhansen commented Nov 8, 2024

Maybe I'm misconfiguring; should I specify a specific user?

@mhansen
Copy link
Author

mhansen commented Nov 8, 2024

It could also be that GitLab changed something

floryn90 added a commit that referenced this issue Nov 10, 2024
floryn90 added a commit that referenced this issue Nov 10, 2024
@floryn90
Copy link
Owner

Should be solved with #172
If the issue persists, please raise another issue and I’ll take a look into details

@mhansen
Copy link
Author

mhansen commented Nov 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants