diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-09-11 01:20:45 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-09-11 01:20:45 (EDT) |
commit | fa2b7a3ad966a81d7a027a32b5ba6b24da293fcc (patch) | |
tree | 89ed5ebe7475e683435f1925f764a56cf64a5a19 /hosts/erp1 | |
parent | 84e09208e27ff364bfb0fb5c5544bad53ebdfa4d (diff) | |
download | pc-inst-fa2b7a3ad966a81d7a027a32b5ba6b24da293fcc.zip pc-inst-fa2b7a3ad966a81d7a027a32b5ba6b24da293fcc.tar.gz pc-inst-fa2b7a3ad966a81d7a027a32b5ba6b24da293fcc.tar.bz2 |
erp1: Hack to fix database LC_CTYPE
Error:
DBD::Pg::db do failed: ERROR: encoding "UTF8" does not match locale "en_US"
DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1".
Diffstat (limited to 'hosts/erp1')
-rw-r--r-- | hosts/erp1 | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -99,6 +99,8 @@ do_postinst() mv "${target}/etc/rc.local" "${target}/etc/rc.local.orig" cat >"${target}/etc/rc.local" <<-EOF #!/bin/sh -e + pg_dropcluster --stop 9.4 main + pg_createcluster --locale en_US.UTF-8 --start 9.4 main /usr/share/ledgersmb/tools/config-lsmb-db-user.sh ledgersmb LEDGERSMBINITIAL mv /etc/rc.local.orig /etc/rc.local EOF |