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

make reinstall bug #127

Closed
guillim opened this issue Jul 12, 2021 · 1 comment
Closed

make reinstall bug #127

guillim opened this issue Jul 12, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@guillim
Copy link
Contributor

guillim commented Jul 12, 2021

Problem description
While trying the update the CNIL plateform using ansible command PIAF_CLIENT=cnil make reinstall

Here is what I see in the logs:

TASK [haystack : cnil | force clone haystack] *****************************************************
fatal: [datascience-01.infra.data.gouv.fr]: FAILED! => {"changed": false, "cmd": "/usr/bin/git reset --hard HEAD", "msg": "fatal: Unable to create '/data/piaf-ml/haystack_cnil/.git/index.lock': Permission denied", "rc": 128, "stderr": "fatal: Unable to create '/data/piaf-ml/haystack_cnil/.git/index.lock': Permission denied\n", "stderr_lines": ["fatal: Unable to create '/data/piaf-ml/haystack_cnil/.git/index.lock': Permission denied"], "stdout": "", "stdout_lines": []}

Solution description
What fix I just did : manually remove the haystack_cnil folder on the remote machine. I have browsed the group is piaf-d********** in which my user is defined, so from my understanding it doesn't come from that. It would be better to understant what's wrong though to bring a better solution

Additional context / screenshot
Screenshot 2021-07-12 at 19 10 01

Reproduce :
CRPA and DILA haven't been updated yet, so we can use them as testing clients.

@guillim guillim added the bug Something isn't working label Jul 12, 2021
@guillim guillim mentioned this issue Jul 13, 2021
@guillim
Copy link
Contributor Author

guillim commented Jul 13, 2021

update: funny enough, I did the update of DILA today and it failed the first time, but succeeded at the second try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants