getodk / getodk/docs

Check out previous tag after restoring direct backup after failed upgrade

Open
#1,570 1 comment 0 reactions 0 assignees View on GitHub
Central
Dominant language
Python
Stars
58
Forks
160
Avg merge
5d 11h
Merged PRs (30d)
12

Description

We emphasize backing up the server before upgrading Central, but for direct backups, I think there's a step missing about restoring from backup. After a failed upgrade, even if the user restores the database from a direct backup, they will still be at the tip of the `master` branch in Git. Unless they check out a different commit, I think rebuilding Central will retry the upgrade and attempt to run the latest migrations.

Contributor guide

Open the contributing guide

Research direction

Locate the documentation covering direct backups, failed upgrades, and restoring the database. Read the surrounding upgrade and rebuild instructions first, then add the missing guidance to check out the previous tag after restoring a direct backup; done means the procedure prevents rebuilding Central from retrying the latest migrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.