View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009296 | Taler | other | public | 2024-10-23 14:38 | 2024-10-23 19:07 |
Reporter | Florian Dold | Assigned To | dvn | ||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Target Version | 0.14 | Fixed in Version | 0.14 | ||
Summary | 0009296: tutorials.taler.net down | ||||
Description | Currently getting a 404 | ||||
Tags | No tags attached. | ||||
|
This turned out to be a slightly strange one... So the apparent issue was straightforward: I recently changed the layout and configuration of the CI artifacts storage, and tutorials.git had not been updated to move the html artifacts to the persistent directory. However after updating this I found that the buildbot could not clone the repository and failed with this error "fatal: expected 'packfile'"[0]. I was able to reproduce this locally if I set the clone depth=1. Some searching online led me to a blog post[1] which suggested that running `git gc` on the afflicted repo (as the git user on the server) could fix the problem. This indeed fixed our problem It has to do with permissions being incorrectly set for some of the pack files. In the author's case it was due to the use of `go-git` but afaik we are not using this, so I'm not sure what caused it. If the problem persists maybe we could set a systemd-timer to run `git gc` on all the repos nightly. (Perhaps this would help with other odd issues we've had at various points in the past.) [0] https://buildbot.taler.net/#/builders/27/builds/14 [2] https://adnano.co/2022/11/12/git-clone/ |
|
Please do NOT automatically run 'git gc' on all repos, that'll delete orphaned branches which, if someone accidentally deleted a branch, could be bad. It's better to do this rarely manually when needed IMO. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-23 14:38 | Florian Dold | New Issue | |
2024-10-23 14:38 | Florian Dold | Status | new => assigned |
2024-10-23 14:38 | Florian Dold | Assigned To | => dvn |
2024-10-23 17:50 | dvn | Status | assigned => resolved |
2024-10-23 17:50 | dvn | Resolution | open => fixed |
2024-10-23 17:50 | dvn | Note Added: 0023573 | |
2024-10-23 19:06 | Christian Grothoff | Note Added: 0023575 | |
2024-10-23 19:07 | Christian Grothoff | Fixed in Version | => 0.14 |
2024-10-23 19:07 | Christian Grothoff | Target Version | => 0.14 |