Browse Source

Add warning about postgres password for migration

While migrating Gogs.
DricomDragon 5 years ago
parent
commit
70901b45b1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Guides/gogs.md

+ 2 - 0
Guides/gogs.md

@@ -80,6 +80,8 @@ Gogs natively manages backups. Prefer to use gogs tools instead of _squared whee
 
 `$ ./gogs restore --help`
 
+**Beware** : please ensure that the user `gogs_app` has the same password on both instances ! You can change the password after the migration by using `ALTER ROLE gogs_app ENCRYPTED PASSWORD 'NewPassword';` and by changing the db password in `gogs/custom/conf/app.ini`.
+
 ### Repositories
 
 `/home/gituser/gogs/gogs-repositories/`