<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12.0pt; line-height:1.3; color:#1F497D">
<div>Oh, you will need to uninstall and reinstall postgres for it to use the new locale
<br>
</div>
<div><br>
</div>
<div id="signature-x" class="signature_editor" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12.0pt; color:#1F497D">
Sent from <a href="http://www.9folders.com/" style="text-decoration:none; color:#009BDF">
Nine</a><br>
</div>
</div>
<div id="quoted_header" style="clear:both">
<hr style="border:none; height:1px; color:#E1E1E1; background-color:#E1E1E1">
<div style="border:none; padding:3.0pt 0cm 0cm 0cm"><span style="font-size:11.0pt; font-family:'Calibri','sans-serif'"><b>From:</b> Felipe Westfields <felipe.westfields@gmail.com><br>
<b>Sent:</b> Thursday, February 1, 2018 10:55 PM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> [Spacewalk-list] Database error when installing Space-Walk 2.7<br>
</span></div>
</div>
<br type="attribution">
<div>
<div dir="ltr">
<div>I'm installing Spacewalk on CentOS 7, Spacewalk 2.7, following the instructions on this page:<br>
<br>
<a href="https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall">https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall</a><br>
<br>
</div>
I install the the necessary repos, all seems well. I run this line:<br>
<br>
pacewalk-setup-postgresql create --db spacewalk --user dbadmin --password password --address *<br>
<div>
<div><br>
</div>
<div>And this is the error that comes up. I ran through the install instructions twice  and gotten the same error both times.<br>
</div>
<div><br>
Redirecting to /bin/systemctl start postgresql.service<br>
createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)<br>
HINT:  Use the same encoding as in the template database, or use template0 as template.<br>
</div>
<div><br>
</div>
<div>What do I need to do to get past this error?</div>
<div><br>
</div>
<div>FW<br>
</div>
</div>
</div>
</div>
</body>
</html>