FreePBX | Register | Issues | Wiki | Portal | Support

fwconsole has stopped working


(Italia) #1

I have FreePBX 14.0.5.25 running on Ubuntu 18.04.

After an upgrade of Pm2, the command fwconsole has stopped working.

When I try “fwconsole ma …” I have always the message:
“Bug: Explicitly know about FreePBX\Console\Command, asked for FreePBX\Console\Command\Pm2, but /var/www/html/admin/libraries/Console/Pm2.php (or Pm2.class.php) doesn’t exist”

Asterisk is running.
The GUI, after login, goes in error:
"Whoops \ Exception \ ErrorException (E_WARNING)
simplexml_load_file(): /var/www/html/admin/modules/sipstation/module.xml:1: parser error : Document is empty "

What can I do?
Any help will be appreciate

Thanks,
phicinque


(Igor Stojanoski) #2

First check disk usage on the machine with running the command: df -h

Next step is running the chown command: fwconsole chown

Last step: fwconsole restart

It might fix the issue


(Italia) #3

I have tried, but the results is the same:

sudo df -h
File system Dim. Usati Dispon. Uso% Montato su
udev 932M 0 932M 0% /dev
tmpfs 193M 1,1M 192M 1% /run
/dev/mapper/pbxexeget–vg-root 28G 4,8G 21G 19% /
tmpfs 962M 0 962M 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 962M 0 962M 0% /sys/fs/cgroup
/dev/mmcblk0p1 511M 6,1M 505M 2% /boot/efi
tmpfs 193M 0 193M 0% /run/user/1000

sudo fwconsole chown
Bug: Explicitly know about FreePBX\Console\Command, asked for FreePBX\Console\Command\Pm2, but /var/www/html/admin/libraries/Console/Pm2.php (or Pm2.class.php) doesn’t exist

sudo fwconsole restart
Bug: Explicitly know about FreePBX\Console\Command, asked for FreePBX\Console\Command\Pm2, but /var/www/html/admin/libraries/Console/Pm2.php (or Pm2.class.php) doesn’t exist


(Itzik) #4

I am not sure what is happening there with the partitions.

If you are not using SIP Station then remove it.

fwconsole ma remove sipstation

then install pm2.

fwconsole ma download install pm2 --force
fwconsole reload

(system) closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.