# Application installation fails on systems with Turkish locale (tr\_TR.UTF-8) – variables not initialized (INSTALL\_DIR, ADMIN)

**URL:** https://forum.yunohost.org/t/application-installation-fails-on-systems-with-turkish-locale-tr-tr-utf-8-variables-not-initialized-install-dir-admin/42023
**Category:** Support apps
**Tags:** roundcube, english
**Created:** [April 9, 2026, 9:52am UTC](https://forum.yunohost.org/t/application-installation-fails-on-systems-with-turkish-locale-tr-tr-utf-8-variables-not-initialized-install-dir-admin/42023 "2026-04-09T09:52:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fatih\_kl](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/f/5e9695/32.png) [@fatih\_kl](https://forum.yunohost.org/u/fatih_kl)
#### Post date: [April 9, 2026, 9:52am UTC](https://forum.yunohost.org/t/application-installation-fails-on-systems-with-turkish-locale-tr-tr-utf-8-variables-not-initialized-install-dir-admin/42023/1 "2026-04-09T09:52:52Z")

</div>

**What app is this about, and its version** : all  
**What YunoHost version are you running** : 12.1.39  
**What type of hardware are you using** : Old laptop or computer

### Describe your issue

When installing applications on YunoHost systems configured with a Turkish locale (tr\_TR.UTF-8), application installations consistently fail during configuration file templating.  
This issue affects multiple applications (e.g. Roundcube, SOGo, others) and is not app‑specific.  
When the system locale is set to tr\_TR.UTF-8, YunoHost helper scripts fail to correctly initialize variables used in configuration templates (such as **INSTALL\_DIR** , **ADMIN** ).  
As a result, application installation aborts even when all configuration options are left at their defaults.  
Changing the system locale to en\_US.UTF-8 resolves the issue immediately, and all applications install successfully without any other changes.  
Environment:

YunoHost version: 12.1.x  
Debian: Bookworm  
Affected locale:  
LANG=tr\_TR.UTF-8

### Share relevant logs or error messages

During application installation, the following errors are reported:  
Variable $install\_dir wasn’t initialized when trying to replace **INSTALL\_DIR**

In the logs, the variable name appears incorrectly due to locale-specific character handling:  
Variable $ınstall\_dır wasn’t initialized

Example error output:  
ERROR - roundcube indirilmedi:  
Uygulama indirme script’inde (betikde) bir hata oluştu :  
Variable $ınstall\_dır wasn’t initialized when trying to replace **INSTALL\_DIR**  
in /etc/nginx/conf.d/.d/roundcube.conf

After changing the system locale using:  
Shellsudo locale-gen en\_US.UTF-8sudo localectl set-locale LANG=en\_US.UTF-8sudo rebootDaha fazla satır göster  
the errors no longer occur and all applications install correctly.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [April 24, 2026, 9:53am UTC](https://forum.yunohost.org/t/application-installation-fails-on-systems-with-turkish-locale-tr-tr-utf-8-variables-not-initialized-install-dir-admin/42023/2 "2026-04-24T09:53:14Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
