Hello! I recently lost power and my PBX has never been the same since, it is a VM if that matters. Once I finally got it back online, I cannot apply config at all, and it tells me to reload. (Screenshot) I then go to the CLI to try and reload and receive this message “Exception” Unable to trust FreePBX key. (See Screenshot.) To make things worse, I cannot access the backup and restore function. Please help me, I’m trying to get my small business back up and running, I really appreciate it. Thanks!
PBX Low on space? Apply config and reload fails
“No space left on device” Did you check to make sure the VM virtual drive (I’m assuming either hyperV or VMS?) has any space on it? on the command line do a: dh -f and post the results.
If your backup tarballs are saved locally they are probably in
/var/spool/asterisk/backup
Thank you both for the replies!
I was able to do a du -sh * and pull the size of my libraries. I did not see any backup-related! information. I am confused as to how my machine won’t activate, even though it was prior to me losing power. There is another screenshot displaying my VM has plenty of space.
27%20AM|690x389
Interesting, it says the disk is only 6.7GB
I wonder if there is a way to adjust disk size in vbox?
https://forums.virtualbox.org/viewtopic.php?f=7&t=55892
but if you don’t have a lot of effort invested yet , I suggest you start over and don’t choose a ‘dynamic disk’ because expanding the LVM is another process that you will need to accomplish inside the VM and can be problematic.
Hey there,
I’ve successfully changed the disk to a fixed setting, and am now working on expanding the LVM. I followed this guid, https://community.freepbx.org/t/free-pbx-ran-out-of-disk-space-how-to-extend-the-partition-and-file-system/56967 and I get an error saying that it cannot parse the command line. Here is an image showing the available LVM space, any ideas?
Hi Dicko,
When I run `lvextend -l +100%FREE /dev/mapper/SangomaVG-root```
It says
“Couldn’t create temporary archive name.
As I said it can be problematic , I would got to
https://gparted.org/download.php
download an image, then boot the machine from it, it takes care of all the ‘tricky bits’ for you.
then your PV is as big as it can be , you should be able to lvextend
If you found
https://community.freepbx.org/t/expand-disk-space-virtual-machine/46259/3
then that’s about as good as it gets
Thank you I think I might have done something wrong, I created the new partition with fdkisk and then rebooted to apply changes. Now it only boots into emergency mode.
Save your self time and effort as I said to . . . start over and don’t choose a ‘dynamic disk’ because expanding the LVM is another process that you will need to accomplish inside the VM and can be problematic. . .
you can restore your last backup over current versions of FreePBX perhaps from a snapshot taken of the VM recently