mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 01:34:27 +00:00 
			
		
		
		
	Add docs about database migration (#5661)
* Add docs about database migration * Reorder upgrade from Gogs steps
This commit is contained in:
		@@ -31,6 +31,7 @@ There are some basic steps to follow. On a Linux system run as the Gogs user:
 | 
				
			|||||||
* Copy `gogs/data/` to `gitea/data/`. It contains issue attachments and avatars.
 | 
					* Copy `gogs/data/` to `gitea/data/`. It contains issue attachments and avatars.
 | 
				
			||||||
* Verify by starting Gitea with `gitea web`.
 | 
					* Verify by starting Gitea with `gitea web`.
 | 
				
			||||||
* Enter Gitea admin panel on the UI, run `Rewrite '.ssh/authorized_keys' file`.
 | 
					* Enter Gitea admin panel on the UI, run `Rewrite '.ssh/authorized_keys' file`.
 | 
				
			||||||
 | 
					* Launch every major version of the binary ( `1.1.4` → `1.2.3` → `1.3.4` → `1.4.2` →  etc ) to migrate database.
 | 
				
			||||||
* If custom or config path was changed, run `Rewrite all update hook of repositories`.
 | 
					* If custom or config path was changed, run `Rewrite all update hook of repositories`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Change gogs specific information
 | 
					## Change gogs specific information
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,6 +27,7 @@ Veuillez suivre les étapes ci-dessous. Sur Unix, toute les commandes s'exécute
 | 
				
			|||||||
* Si vous avez d'autres répertoires personnalisés comme `gitignore, label, license, locale, readme` dans `gogs/custom/conf` copiez-les vers `gitea/custom/options`.
 | 
					* Si vous avez d'autres répertoires personnalisés comme `gitignore, label, license, locale, readme` dans `gogs/custom/conf` copiez-les vers `gitea/custom/options`.
 | 
				
			||||||
* Copiez le répertoire `gogs/data/` vers `gitea/data/`.
 | 
					* Copiez le répertoire `gogs/data/` vers `gitea/data/`.
 | 
				
			||||||
* Vérifiez votre installation en exécutant Gitea avec la commande `gitea web`.
 | 
					* Vérifiez votre installation en exécutant Gitea avec la commande `gitea web`.
 | 
				
			||||||
 | 
					* Lancez le binaire de version majeure en version majeure ( `1.1.4` → `1.2.3` → `1.3.4` → `1.4.2` →  etc ) afin de récupérer les migrations de base de données.
 | 
				
			||||||
* Connectez vous au panel d'administration de Gitea et exécutez l'action `Rewrite '.ssh/authorized_keys' file`, puis l'action `Rewrite all update hook of repositories` (obligatoire si le chemin menant à votre configuration personnalisée à changé).
 | 
					* Connectez vous au panel d'administration de Gitea et exécutez l'action `Rewrite '.ssh/authorized_keys' file`, puis l'action `Rewrite all update hook of repositories` (obligatoire si le chemin menant à votre configuration personnalisée à changé).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Modifier les informations spécifiques de gogs
 | 
					## Modifier les informations spécifiques de gogs
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user