1
0
Fork 0
forgejo/modules
zeripath b5856c4437
Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136)
There was a serious issue with the `gitea dump` command in 1.14.3-1.14.6 which led to corruption of the `config` field of the `repo_unit` table. 

This PR adds a doctor command to attempt to fix the broken repo_units. Users affected by #16961 should run:

```
gitea doctor --fix --run fix-broken-repo-units
```

Fix #16961

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-27 16:55:12 +01:00
..
analyze
auth
avatar
base
cache
charset
context
convert
cron
csv
doctor Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) 2021-09-27 16:55:12 +01:00
emoji
eventsource
generate
git
gitgraph
graceful
hcaptcha
highlight
httpcache
httplib
indexer
json
lfs
log
markup
matchlist
metrics
migrations
nosql
notification
options
password
pprof
private
process
proxy
public
queue
recaptcha
references
repofiles
repository
secret
session
setting
ssh
storage
structs
svg
sync
task
templates
test
timeutil
translation
typesniffer
upload
uri
user
util
validation
web