ejandra
ejandra

Reputation: 356

Cannot proceed alfresco installation because of encoding mismatch

I am new to Alfresco and I am trying to install alfresco in my debian server(via ssh access) following the installation guide. However, the installation stops and shows me this error :

Error: There has been an error.
initdb.bin: encoding mismatch
The encoding you selected (UTF8) and the encoding that the selected 
locale uses (LATIN1) do not match. This would lead to misbehavior in 
various character string processing functions. Rerun initdb.bin and either 
do not specify an encoding explicitly, or choose a matching combination.

I tried updating the locales of the server but still the issue exists. How do I fix this?

Upvotes: 0

Views: 414

Answers (1)

ejandra
ejandra

Reputation: 356

I have successfully installed it by doing the following steps:

  1. Commented out the Send_ENV in /etc/ssh/ssh_config variable in the local machine and Accept_ENV in /etc/ssh/sshd_config variable in the server.
  2. Edited /etc/locale.gen to uncomment en_US.UTF-8.
  3. Ran locale-gen
  4. Edited /etc/locale.conf and added LANG=en_US.UTF-8.
  5. Successfully installed alfresco.

Upvotes: 1

Related Questions