teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

postgresqlのバージョンが変わった(上がったことへの対応)

2017/12/07 06:48

投稿

taro373
taro373

スコア189

title CHANGED
File without changes
body CHANGED
@@ -66,4 +66,19 @@
66
66
  ================================================================================
67
67
  Error executing action `run` on resource 'bash[migrate gitlab-rails database]'
68
68
  ================================================================================
69
- ```
69
+ ```
70
+
71
+
72
+ postgresqlのバージョンが上がったことで下記のパラメータが変更になり対応しました
73
+ ```
74
+ runtime.conf
75
+ #checkpoint_segments = 10
76
+ min_wal_size = 80MB
77
+ max_wal_size = 300MB
78
+
79
+ postgresql.conf
80
+ #unix_socket_directory = '/var/opt/gitlab/postgresql'
81
+ unix_socket_directories = '/var/opt/gitlab/postgresql'
82
+ ```
83
+ まだエラー『database files are incompatible with server』が
84
+ gitlab-ctl tail postgresqlで表示されます