wireapp / wire-server-deploy

Code to install/deploy wire-server (on kubernetes)
https://docs.wire.com
GNU Affero General Public License v3.0
94 stars 45 forks source link

Wiab automation #728

Closed jschumacher-wire closed 1 month ago

jschumacher-wire commented 2 months ago

https://wearezeta.atlassian.net/browse/WPB-9381

amitsagtani97 commented 2 months ago

While trying to run it locally for an installation, got the following error -

./autodeploy.sh --artifact-hash dc4dc2e2d3c70d2de6fcb956107224c82d4dfac5 --target-system wiab-test-box.wire.link

INFO: running local ansible playbook for inital server deployment.
INFO: This will setup up the Hetzner system with basic defaults, download and unpack the wire-server-deploy artifact.
/nix/store/x1xxsh1gp6y389hyl40a0i74dkxiprl7-bash-5.2-p15/bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
jschumacher-wire commented 2 months ago

While trying to run it locally for an installation, got the following error -

./autodeploy.sh --artifact-hash dc4dc2e2d3c70d2de6fcb956107224c82d4dfac5 --target-system wiab-test-box.wire.link

INFO: running local ansible playbook for inital server deployment.
INFO: This will setup up the Hetzner system with basic defaults, download and unpack the wire-server-deploy artifact.
/nix/store/x1xxsh1gp6y389hyl40a0i74dkxiprl7-bash-5.2-p15/bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting

Hmm I think that's a nix / ansible issue. I'm allready explicitly setting LC_ALL to UTF-8 here: https://github.com/wireapp/wire-server-deploy/pull/728/files#diff-36ed65637f210713f6026a6b191f249cf1697bc0b9680da066cbdd36f32676abR140

There's more discussion here https://github.com/NixOS/nixpkgs/issues/223151

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud