Detail: The database was initialized with LC_CTYPE "en_US.UTF-8",  which is not recognized by setlocale().
  Hint: Recreate the database with another locale or install the missing locale.

Mengenerate dan mengupdate locale

root@mail:~# sudo locale-gen en_US.UTF-8
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
root@mail:~#
root@mail:~# sudo update-locale LANG=en_US.UTF-8
root@mail:~#

Merestart postgresql

sudo systemctl restart postgresql
root@mail:~# systemctl restart postgresql

Leave a Reply

Your email address will not be published. Required fields are marked *