# Failure upon install local java plugins in logstash-wolfi

**URL:** <https://discuss.elastic.co/t/failure-upon-install-local-java-plugins-in-logstash-wolfi/365367>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [August 22, 2024, 10:12am UTC](https://discuss.elastic.co/t/failure-upon-install-local-java-plugins-in-logstash-wolfi/365367 "2024-08-22T10:12:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmadabulaban1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmadabulaban1993/32/136976_2.png) [@ahmadabulaban1993](https://discuss.elastic.co/u/ahmadabulaban1993)\
**Post date:** [August 22, 2024, 10:12am UTC](https://discuss.elastic.co/t/failure-upon-install-local-java-plugins-in-logstash-wolfi/365367/1 "2024-08-22T10:12:57Z")

</div>

**Versions**  
8.15.0 based on wolfi ([docker.elastic.co/logstash/logstash-wolfi:8.15.0](http://docker.elastic.co/logstash/logstash-wolfi:8.15.0))

**Describe the issue** :  
I've some custom plugins built using java and currently using logstash v8.14.3. Noticed that logstash 8.15.0 is released and try to upgrade

When i used the official docker image of logstash `logstash:8.15.0`, the upgrade passed and the local custom plugins installed successfully without any issues

While upon using the wolfi image `logstash-wolfi:8.15.0`, all my custom plugins failed to be installed. All times return the same error `ArgumentError: "-*\xCE\xCC\xCF\xB3R0" is not an octal string`

Note that I've upgraded my java plugins to use jdk21, and upgrade jruby to 9.4.8.0 too

Any ideas what is the issue, and why there is a difference between the image based on ubuntu and the image based on wolfi

---

<div class="post-metadata">

**Author:** ![mgreau](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mgreau/32/22607_2.png) [@mgreau](https://discuss.elastic.co/u/mgreau)\
**Post date:** [September 27, 2024, 1:24am UTC](https://discuss.elastic.co/t/failure-upon-install-local-java-plugins-in-logstash-wolfi/365367/2 "2024-09-27T01:24:31Z")

</div>

Hi @ahmadabulaban1993

That might be related to the default locale which differs between the two images and could impact character encoding.

```auto
docker run -it --entrypoint bash docker.elastic.co/logstash/logstash-wolfi:8.15.0
bash-5.2$ echo $LANG
C.UTF-8

```

```auto
docker run -it --entrypoint bash docker.elastic.co/logstash/logstash:8.15.0
logstash@de6f03754832:~$ echo $LANG
en_US.UTF-8

```

**`en_US.UTF-8`** supports a wide range of characters.  
**`C.UTF-8`** : the default behavior might lean toward `US-ASCII`, leading to issues with non-ASCII characters in certain applications.

Could you share more details about the code executed in these plugins?
