Updating a virtual machine
Updating MikoPBX installed on a virtual machine
We recommend updating sequentially, without skipping releases and versions.
This guide is intended for MikoPBX installed as a full-fledged virtual machine in VMware, VirtualBox, Hyper-V, KVM, Proxmox VE, and other hypervisors.
Two update methods are available for this type of installation:
through the web interface — the primary and most convenient method;
from an ISO image — a fallback method if the web interface is unavailable or the system needs to be recovered.
Before updating, be sure to create a backup of the MikoPBX settings. Additionally, it is recommended to create a virtual machine snapshot using the hypervisor's tools.
Preparation
Make sure you have access to the web interface and the virtual machine console. Create a backup of the MikoPBX settings and call recordings.
Create a virtual machine snapshot. If the hypervisor allows, take it with the virtual machine powered off.
Make sure at least 400 MB is free on the system disk.
Schedule a maintenance window: during the update, MikoPBX will reboot, and current calls will be dropped.
Do not power off the virtual machine and do not perform a forced reset while the update is being written.
Updating through the web interface
Updating to a version from the list
Open the MikoPBX web interface.
Go to Maintenance → PBX update.

In the "Online updates available" table, find the version you need. Review the list of changes and click the update button next to the selected version.

Wait for the image to download. Do not close the page until the confirmation dialog appears. Enter the phrase "Yes, I have a backup". Click Update.

MikoPBX will prepare the update and reboot the virtual machine automatically.
Updating with a local IMG file
This method is suitable if the required version is not in the list of online updates or the file has already been downloaded in advance.
Download the
.imgfile of the required version from the MikoPBX releases page.

In the web interface, open Maintenance → PBX update.

In the file selection field, specify the downloaded
.img.

Click Apply update.

Enter the phrase "Yes, I have a backup". Confirm the update and wait for the reboot.

Updating from an ISO image
Use this option if the PBX does not boot normally, the web interface is unavailable, or you need to perform the update from Recovery mode.
Download the ISO image of the required version from the MikoPBX releases page.

Power off the virtual machine. In the hypervisor settings, connect the ISO to the virtual CD/DVD drive and set booting from the virtual CD/DVD before the system disk.

Start the virtual machine and open its console.
Wait for the message about booting in recovery mode — System booted in recovery mode (Live CD).

Press any key to open the console menu. Then open "[4] Install or recover".

Select "Update to version..."
Do not select the Install option. It starts a new installation and warns that data on the selected disk will be erased. To update while keeping the settings, use the Update to version... option.

After the operation is complete:
Power off the virtual machine if the ISO was not disconnected automatically.
Disconnect the ISO from the virtual drive.
Restore booting from the system disk as the first boot device.
Start the virtual machine.

Last updated
Was this helpful?

