==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9515

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 9515
           Summary: freepbx 13 sources php memory maximum reached during
                    installation
    Classification: Contribs
           Product: SME Contribs
           Version: 9.1
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-freepbx
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

we do not have any php-cli.ini file in SME, so by default any script running
php in cli will use php.ini to get its configuration. As a result, install
script is limited by default to 32M. 

The problem is that the script Less.php reaches the 32M limit in the middle of
the installation, preventing freepbx to install correctly.


Generating Main Scripts...Whoops\Exception\ErrorException: Allowed memory size
of 33554432 bytes exhausted (tried to allocate 568628 bytes) in file
/opt/freepbx/admin/modules/ucp/htdocs/includes/less/Less.php on line 2574
Stack trace:
  1. () /opt/freepbx/admin/modules/ucp/htdocs/includes/less/Less.php:2574
Done installing modules
Installing framework...
No directory /opt/freepbx/admin/modules/framework/amp_conf/htdocs, install
script not needed
Generating CSS...Done
Module framework successfully installed
Updating Hooks...Done
Done
Taking too long? Customize the chown command, See
http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...
 11292/11292 [============================] 100%
Finished setting permissions
Generating default configurations...
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 255
Unable to continue. SQLSTATE[42S02]: Base table or view not found: 1146 Table
'freepbxdb.voicemail_admin' doesn't exist in
/opt/freepbx/admin/libraries/BMO/Database.class.php on line 166







one way would be to ask to set MemoryLimit to 128M before installation,
alternatively I choose to add ini_set('memory_limit', '256M'); to the script
incriminated.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to