Article ID: 120052, created on Feb 10, 2014, last review on May 3, 2014

  • Applies to:
  • Business Automation 5.5
  • Business Automation 5.4

Symptoms

After PBA update/upgrade (after running configure.pl) the locale.en 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 with 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 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.

The issue is considered as a bug, #PBA-54107, fixed in PBA 5.5.4

Resolution

  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.

The issue will not occur if you update to PBA 5.5.4 or above, since that version the locale file is not overwritten if it is a simlink.

Search Words

/usr/local/bm/conf/locale/locale.en blank after upgrade to PBA 5.5.3

RUNNING CONFIGURE.PL EMPTIES LOCALE.EN FILE

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 210d017ddc3a076d22f0f865b1cf0730 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF