浏览代码

Add warning about postgres password for migration

While migrating Gogs.
DricomDragon 5 年之前
父节点
当前提交
70901b45b1
共有 1 个文件被更改,包括 2 次插入0 次删除
  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/`