View Issue Details

IDProjectCategoryView StatusLast Update
0009296Talerotherpublic2024-10-23 19:07
ReporterFlorian Dold Assigned Todvn  
PriorityhighSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version0.14Fixed in Version0.14 
Summary0009296: tutorials.taler.net down
DescriptionCurrently getting a 404
TagsNo tags attached.

Activities

dvn

2024-10-23 17:50

developer   ~0023573

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/

Christian Grothoff

2024-10-23 19:06

manager   ~0023575

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.

Issue History

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