Results 1 to 7 of 7

Thread: Where did my Disks reporting go..?

  1. #1
    stmcknig Guest

    Default Where did my Disks reporting go..?

    After an upgrade to FreePBX 2.7.0.5 my status page is missing the Disk graphing - the source just shows

    <h4>Memory</h4><div class="databox graphbox" style="width:200px;" title="App Memory: 140.38MB / 250.21484375MB (56%)">
    <div class="bargraph graphok" style="width:112px;"></div>
    <div class="dataname">App Memory</div>
    <div class="datavalue">56%</div>
    </div>
    <div class="databox graphbox" style="width:200px;" title="Swap: 0.00MB / 0MB (0%)">
    <div class="bargraph graphok" style="width:0px;"></div>
    <div class="dataname">Swap</div>
    <div class="datavalue">0%</div>
    </div>
    <h4>Disks</h4><h4>Networks</h4><div class="databox" style="width:200px;">
    <div class="dataname">eth0 receive</div>
    <div class="datavalue"><a href="#" title="eth0 receive: 0.58 KB/s">0.58 KB/s</a></div>
    </div>
    <div class="databox" style="width:200px;">
    <div class="dataname">eth0 transmit</div>
    <div class="datavalue"><a href="#" title="eth0 transmit: 1.81 KB/s">1.81 KB/s</a></div>
    </div>
    </div><div id="procinfo" class="infobox"><h3>Server Status</h3><div class="databox statusbox" style="width:200px;">
    <div class="dataname">Asterisk</div>
    <div id="datavalue_Asterisk" class="datavalue graphok"><a href="#" title="Asterisk is running: Asterisk 1.4.25.1 built by root @ skfc12.kanatek.com on a i686 running Linux on 2010-03-12 19:48:24 UTC">OK</a></div>

    Any idea how to get this back?

  2. #2
    Join Date
    Jul 2008
    Posts
    268

    Default

    What browser are you using?

  3. #3
    stmcknig Guest

    Default

    Upgraded to the latest 2.2.4.4 image and after updating a bunch of modules it seems to be back. Although I now have the Taiwanese script displaying on the LCD instead of the port status again; the actual operation seems okay but it would be nice to get the proper display back. Any idea how that is controlled?

    I'm also running at 83% on persistent1 - I've got the SD card installed so is there anything I can shave off at this point?


    /persistent1 # ls -l
    -rw-r--r-- 1 root root 35 Jun 21 14:11 create_image
    drwxr-xr-x 8 root root 0 Dec 31 1969 var
    /persistent1 # df
    Filesystem 1k-blocks Used Available Use% Mounted on
    rootfs 93687 84235 9452 90% /
    /dev/root 93687 84235 9452 90% /
    /dev/mtdblock6 65536 39004 26532 60% /persistent
    tmpfs 36864 52 36812 0% /tmp
    /dev/mtdblock7 65536 48864 16672 75% /persistent1
    /dev/mtdblock8 65536 24708 40828 38% /persistent2
    /dev/mmcblk0p1 1889568 94756 1698828 5% /mnt/sd
    tmpfs 128108 4 128104 0% /dev

    /persistent1 # cd var
    /persistent1/var # ls -l
    drwxr-xr-x 5 root root 0 Jun 21 14:48 cache
    drwxr-xr-x 4 root root 0 Jun 21 14:48 lib
    drwxr-xr-x 6 root root 0 Aug 11 01:17 log
    drwxr-xr-x 4 root root 0 Aug 11 01:58 run
    drwxr-xr-x 3 root root 0 Aug 11 01:18 spool
    lrwxrwxrwx 1 root root 4 Dec 31 1969 tmp -> /tmp
    drwxr-xr-x 3 root root 0 Jun 21 14:42 www
    /persistent1/var # cd /mnt/sd
    /mnt/sd # ls -l
    drwx------ 2 root root 16384 Dec 31 1969 lost+found
    drwxrwxrwx 2 root root 4096 Mar 12 14:14 tftpboot
    drwxr-xr-x 3 root root 4096 Dec 31 1969 usr
    drwxr-xr-x 5 root root 4096 Dec 31 1969 var
    /mnt/sd # cd var
    /mnt/sd/var # ls -l
    drwxr-xr-x 3 root root 4096 Dec 31 1969 lib
    drwxr-xr-x 3 root root 4096 Dec 31 1969 spool
    drwxr-xr-x 3 root root 4096 Dec 31 1969 www

    The datestamps are odd as the clock is correct
    /mnt/sd/var # date
    Wed Aug 11 08:41:06 CDT 2010

    Should I just start over - or reformat the SD and reboot?

  4. #4
    Join Date
    Jul 2008
    Posts
    268

    Default

    By default all FreePBX modules are written to persistent1 not SD. To offload FreePBX modules to the SD card you can create a symbolic link from their location on persistent1 to a folder on the sd card. Here would be a command that would allow you to do this. This command can be executed by logging into Warp through SSH.

    mv /persistent1/var/www/html/admin/modules/ /mnt/sd/myfreepbx_modules
    ln -sf /mnt/sd/myfreepbx_modules /persistent1/var/www/html/admin/modules

  5. #5
    stmcknig Guest

    Default

    Thank you much :-)

    Persistent1 is now back to 67% and the SD is only 7%

    Now just have to figure out the Taiwanese LCD thing....or learn Taiwanese....

  6. #6
    goodmanuel Guest

    Default

    Does moving modules onto the sd card might affect FreePBX speed significantly?

    For as the Taiwanese concerning don't worry: you just need to learn some Traditional Chinese characters! (you may start from searching "214 radicals" in google!)

  7. #7
    Join Date
    Jul 2008
    Posts
    268

    Default

    No, I don't believe there would be significant performance impact running FreePBX modules from the SD card.

    Just as a side note, in general I have found the 2.2 release is a little slower to load the first time it is accessed compared to 2.1 but I don't think this is related to SD usage.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •