-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'invalid byte sequence in US-ASCII' error (php-fpm::install.rb) #58
Comments
I have the same error on Ubuntu 14.04 but only when chef-client is run by init.d
|
Same here (Ubuntu 14.04, chef 11.16.4)
|
Solved, locales wasn't configured in my system.
|
@alambike: I tried your suggestion to set the LANG and LC_ALL at the begin of the default recipe on my Ubuntu 14.04 with Chef 11.16.4 but still have the same invalid byte sequence error on chef-run. [2015-01-02T12:09:42+01:00] ERROR: Running exception handlers [2015-01-02T12:09:42+01:00] ERROR: Exception handlers complete [2015-01-02T12:09:42+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2015-01-02T12:09:42+01:00] INFO: Sending resource update report (run-id: adc8924f-1416-4dc9-852c-1283af1eb39a) [2015-01-02T12:09:42+01:00] ERROR: service[php-fpm] (php-fpm::install line 51) had an error: ArgumentError: invalid byte sequence in US-ASCII [2015-01-02T12:09:42+01:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2015-01-02T12:09:42+01:00] ERROR: Sleeping for 14400 seconds before trying again |
@stisot are you using locale cookbook too? I'm doing it in my base recipe and works ok https://github.com/RIYIC/riyic/blob/master/recipes/_configure_locale.rb |
For me this helped too. A manual run fixed the locale - and after that I restarted the chef-client in the background so it will get new locale settings. Thanks everyone. |
When i'm trying to install php-fpm on Ubuntu 14.04 i get this error.
Using Bento Ubuntu-14.04 box.
The text was updated successfully, but these errors were encountered: