I’ve been receiving this issue on FreePBX when running module updates, as the thing suggests I reported it as a bug. However they told me it wasn’t a bug and said to use the community forums. So here I am
Please wait while module actions are performed
Installing framework
Exception
I couldn’t find spooldir
COPY
Click Here Report this to the PBX bug tracker
Stack frames (9)
8
Exception
/var/www/html/admin/libraries/BMO/Installer.class.php48
7
FreePBX\Installer __construct
/var/www/html/admin/libraries/BMO/Self_Helper.class.php124
6
FreePBX\Self_Helper autoLoad
/var/www/html/admin/libraries/BMO/Self_Helper.class.php37
5
FreePBX\Self_Helper __get
/var/www/html/admin/libraries/BMO/FreePBX.class.php105
4
FreePBX __callStatic
/var/www/html/admin/libraries/BMO/GPG.class.php203
3
FreePBX Installer
/var/www/html/admin/libraries/BMO/GPG.class.php203
2
FreePBX\GPG verifyModule
/var/www/html/admin/libraries/modulefunctions.class.php1923
1
module_functions install
/var/www/html/admin/page.modules.php299
0
include
/var/www/html/admin/config.php451
/var/www/html/admin/libraries/BMO/Installer.class.php
- // Asterisk Directories
- $this->agidir = \FreePBX::Config()->get(‘ASTAGIDIR’);
- $this->varlibdir = \FreePBX::Config()->get(‘ASTVARLIBDIR’);
- $moh = \FreePBX::Config()->get(‘MOHDIR’);
- $this->mohdir = $this->varlibdir . “/” . (!empty($moh) ? $moh : “moh”);
- $this->etcdir = \FreePBX::Config()->get(‘ASTETCDIR’);
- $this->logdir = \FreePBX::Config()->get(‘ASTLOGDIR’);
- $this->moddir = \FreePBX::Config()->get(‘ASTMODDIR’);
- $this->rundir = \FreePBX::Config()->get(‘ASTRUNDIR’);
- $this->spooldir = \FreePBX::Config()->get(‘ASTSPOOLDIR’);
- $this->webroot = \FreePBX::Config()->get(‘AMPWEBROOT’);
- $this->sbindir = \FreePBX::Config()->get(‘AMPSBIN’);
- $this->bindir = \FreePBX::Config()->get(‘AMPBIN’);
- $vars = array(“agidir”, “varlibdir”, “mohdir”, “etcdir”, “logdir”, “moddir”, “rundir”, “spooldir”, “webroot”, “sbindir”, “bindir”);
- foreach ($vars as $v) {
- if (empty($this->$v)) {
- throw new \Exception(“I couldn’t find $v”);
- }
- if (substr($this->$v, -1) != “/”) { // If it doesn’t end with a slash
- $this->$v = $this->$v."/"; // Add it.
- }
- }
- // Assumptions…
- $this->soundsdir = $this->varlibdir.“sounds/”;
- }
- public function getDestination($modulename = false, $src = false, $validation = false) {
- if (!$modulename || !$src) {
- throw new \Exception(“No modulename or source provided”);
- }
- if (method_exists($this, $modulename)) {
- return $this->$modulename($src, $validation);
- }
- return $this->defaultModule($modulename, $src, $validation);
- }
Arguments
- “I couldn’t find spooldir”
Environment & details:
GET Data
display | “modules” |
---|---|
action | “process” |
quietmode | “1” |
online | “1” |
modules | array:1 [] |
POST Data empty
Files empty
Cookies
searchHide | “1” |
---|---|
lang | “en_US” |
_ga | “GA1.2.182018415.1538796603” |
_gid | “GA1.2.1278195499.1544913992” |
PHPSESSID | “gqjeamf049qie405agf4n7fed7” |
Session
langdirection | “ltr” |
---|---|
module_name | “modules” |
module_page | “modules” |
AMP_user | ampuser {} |
Server/Request Data
UNIQUE_ID | “XBWNSQiq6rUwMvRtdW0asQAAAAQ” |
---|---|
SERVER_ADMIN | “[email protected]” |
SCRIPT_FILENAME | “/var/www/html/admin/config.php” |
REMOTE_PORT | “56045” |
GATEWAY_INTERFACE | “CGI/1.1” |
SERVER_PROTOCOL | “HTTP/1.1” |
REQUEST_METHOD | “POST” |
QUERY_STRING | “display=modules&action=process&quietmode=1&online=1&modules%5Bframework%5D%5Baction%5D=install&modules%5Bframework%5D%5Btrack%5D=stable” |
REQUEST_URI | “/admin/config.php?display=modules&action=process&quietmode=1&online=1&modules%5Bframework%5D%5Baction%5D=install&modules%5Bframework%5D%5Btrack%5D=stable” |
SCRIPT_NAME | “/admin/config.php” |
PHP_SELF | “/admin/config.php” |
REQUEST_TIME_FLOAT | 1544916297.039 |
REQUEST_TIME | 1544916297 |
Environment Variables empty
Registered Handlers
- Whoops\Handler\PrettyPageHandler