Skip to content

Instantly share code, notes, and snippets.

@mhenrixon
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhenrixon/3b4ae8652d4a00e78144 to your computer and use it in GitHub Desktop.
Save mhenrixon/3b4ae8652d4a00e78144 to your computer and use it in GitHub Desktop.
postgres@db01:/home/saga$ echo $LC_ALL
en_US.UTF-8
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of pg_upgradecluster 9.3 main ----
STDOUT: Stopping old cluster...
Disabling connections to the old cluster during upgrade...
Restarting old cluster with restricted connections...
STDERR: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Error: The locale requested by the environment is invalid.
Error: Could not create target cluster
---- End output of pg_upgradecluster 9.3 main ----
Ran pg_upgradecluster 9.3 main returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment