Symptoms

After BA update/upgrade the locale.en (or any other locale) file /usr/local/bm/conf/locale/locale.en is empty, 0 bytes. There can be different symptoms - missing thousand separator, the negative balance of accounts is displayed in turquoise instead of red, "Customer_Abonents" is displayed instead of "Accounts", etc.

Cause

The reason of the issue is that the locale.en_US is configured as a link to locale.en:

[root@pba-app ~]# ls -la /usr/local/bm/conf/locale/ |grep en
-rw-r--r-- 1 root root 1389661 Dec 31 14:45 locale.en
lrwxrwxrwx 1 root root       9 Jul 16  2013 locale.en_US -> locale.en

The configuration script copies empty /usr/local/bm/share/language-packs/en/locale.en_US to /usr/local/bm/conf/locale/locale.en_US. And because of a symlink it replaces /usr/local/bm/conf/locale/locale.en as well.

Such behavior is considered as software-related issues:

  • #PBA-54107 - ("The locale.en file may become empty after running the configure.pl script."), fixed in PBA 5.5.4

  • #PBA-84227 - ("File bm/conf/locale/locale.en becomes empty after running script configure.py"), for OSA 7.x, not fixed yet.

Resolution

Please contact your Technical Account Manager or Pooled Technical Associate to clarify status of the software-related issue.

The issue can be fixed by:

  1. Copy the correct locale file:

    cp /usr/local/bm/share/language-packs/en/locale.en /usr/local/bm/conf/locale/
    
  2. Restart pba

As a workaround you may remove the symlink before update/upgarde or before running configure.pl.

Internal content