BartekSz95 / phpvirtualbox

A web interface to manage and access Virtualbox machines.
Other
54 stars 14 forks source link

Refresh the VM list when vboxwebservice is running #13

Open MariusAavram opened 6 months ago

MariusAavram commented 6 months ago

Hello,

I have a setup with several servers managed by vboxwebservice (and phpvirtualbox as frontend).

All VMs on these servers are created on the same NFS share.

All the servers, have the same VM list as the others (in the same cluster).

The problem is, if I create a VM on the one of the cluster nodes, the other cluster nodes does not update their VM list until I restart vboxweb-service on the other cluster nodes.

There is a way to refresh the VM list without restarting vboxwebservice, in this setup? I have searched through the virtualbox manual and does not seem to be an answer to this.

Virtualbox 7.0-10

Thank you!

BartekSz95 commented 3 months ago

I think, this problem is with vboxweb-service, not with phpvirtualbox. You need to check, if list is exactly the same on vboxweb-service and phpvirtualbox before service's restart.