Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pecl-redis 3.1.2 and "Could not evaluate: invalid byte sequence in UTF-8" on reprovisioning #2650
Steps to reproduce:
How to find problem:
How to fix:
and replace all
test is necessary to save status of pecl info command.
I'm not sure that this solution is acceptable for all distributions and locales. For me it works with en_GB.UTF-8/en_US.UTF-8/ru_RU.UTF-8.
Your solution doesn't work for me, I've got a new error in my trace :
For information, my local :
Hi, I've tested with your file.
I've made a lot of test and it's not the local.
With your file it's ok, but if I deactivate nginx and if I replace centos 7 by ubuntu 16.04, it doesn't work.
The config.yaml with these two modifications :
@lvillanne, thank you.
Drop output to /dev/null does not change status of command.
Correct solution for redis below.
@RussianPenguin, thank you.
Thanks for your help.
Edit : I've got an other problem with this solution.
When I look in the directory /usr/lib/php/20151012/ the file redis.so doesn't exit.
Edit 2 : I think I finally found the solution.
Hi, @lvillanne, you are right. I made some tests and found that puppet do not use result value (it's may be mistake) if command does not provide any output value.
This solution works for centos and ubuntu.