Is there something hapening with the VirtualBox plugin? It's breaking the updates on my box.
Yesterday I uninstalled it and tried to reinstall but it froze updating packages. From that ahead, I cannot install or update plugins, it always freezes.
Problems with Virtualbox plugin?
-
- OMV 1.0
- gelöst
- Sergio
-
-
The virtualbox plugin has been working fine for me. Did you just update it? What is the output of: apt-get -f install
-
Zitat
root@DeathShadow:~# apt-get -f install
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
0 actualizados, 0 se instalarán, 0 para eliminar y 8 no actualizados.Seems that even when I don't have VirtualBox installed, the packages still are there. I'll try with the solution given to Steel.
-
This is only problem I see.... Stupid shit....
-
-
What kernel are you on Sergio?? I would go to 3.16 via the button in OMV Extras. Then on the vbox plugin there is a button to compile new driver. You need to do that and then try to do all upgrades.
-
This is only problem I see.... Stupid shit....
While I didn't do it, I guess having one less click is a bad idea?? You can click on the link in the first tab instead of clicking on the Machines tab and then clicking on the button.
Here is a little cheese for your whine... I put it back in 1.0.13 and added a button on the Settings tab toolbar too...
-
This is the kinda shit that is killing me. I used that button all the time and it was in every version of the plugin.
He did to MySQL as well. And the button looked much better then it does now with the ptype/fieldinfo.
These are examples of where I feel code reduction has gone awry.PS- I would put back but why when it will just be reversed 5 times to infinity, like with cup overrides.
-
I use the Virtualbox and MySQL plugins all the time and I never even noticed the button was gone. I use the iframe tab. No button was needed.
The button removal was not to reduce code. It was just a style change that happened to use less code (not the goal).
Added it back to MySQL as well. Put it in the toolbar. The usability is much better and looks better there. I would've put it there a long time ago but I could never get it to work until now. It won't be reversed...
-
When I am doing a lot of vm work I usually start a vm in the machines TAB and then click on that button to bring up the full phpvirtualbox. I x out of the OMV web gui. Then I bounce back and forth between RDP and Chrome (phpvpirtualbox and other webpages related to the vm).
-
All cleaned.
Then I successfully re-installed it.
Then I go and click the recompile button.
Go to updates, refresh and install updates for extras and plex.
Then go back to VB, enable selected a folder, save, save and:ZitatFailed to execute command 'omv-mkconf virtualbox 2>&1': VBoxManage: error: Failed to initialize COM because the global settings directory '/home/vbox/.config/VirtualBox' is not accessible!
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'omv-mkconf virtualbox 2>&1': VBoxManage: error: Failed to initialize COM because the global settings directory '/home/vbox/.config/VirtualBox' is not accessible!' in /usr/share/openmediavault/engined/module/virtualbox.inc:89
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleVirtualBox->applyConfig()
#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#8 /usr/sbin/omv-engined(501): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#9 {main} -
While booting:
ZitatStarting Virtualbox Web service.... fail!
Just after gui logging:
ZitatCould not connect to host (http://127.0.0.1:18083/)
Error #64:
exception 'Exception' with message 'Could not connect to host (http://127.0.0.1:18083/)' in /usr/share/phpvirtualbox/lib/vboxconnector.php:210
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/virtualbox.inc(176): vboxconnector->connect()
#1 [internal function]: OMVRpcServiceVirtualBox->getMachines(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getMachines', Array, Array)
#4 /usr/sbin/omv-engined(501): OMVRpc::exec('VirtualBox', 'getMachines', Array, Array, 1)
#5 {main} -
I don't have that directory on my server. Not sure why or what is looking for it.
When you removed the plugin and virtualbox, did you delete /etc/default/virtualbox and /etc/default/openmediavault-virtualbox?
-
Yes, it seems that I executed the following lines:
Zitat479 apt-get purge virtualbox-4.3 openmediavault-virtualbox
480 rm /etc/default/openmediavault-virtualbox /etc/default/virtualbox
481 rm /etc/default/openmediavault-virtualbox
482 userdel vbox
483 groupdel vboxusers
484 clear
485 apt-get -f install
486 apt-get -f install
487 shutdown -r nowI remember it complained about not being created. I thought the plugin removal also deleted'm
-
Could be a conflict with the user used for VBoxManage and the GUI or VBox service??
-
Same user is used. I've never seen that error and can't recreate it.
-
Can I send you something?
This folder doesn't exist. -
Sure you can send me something.
-
I finally solved it.
The culprit where the remains of an early installation:Zitat....
Purgando ficheros de configuración de openmediavault-virtualbox ...
Desinstalando phpvirtualbox ...
VBoxManage: error: Failed to initialize COM because the global settings directory '/home/vbox/.config/VirtualBox' is not accessible!
Purgando ficheros de configuración de phpvirtualbox ...
Desinstalando virtualbox-extpack-installer ...
Desinstalando virtualbox-4.3 ...Zitatroot@DeathShadow:~# ls /home
extplorer mediabrowser omv vbox
root@DeathShadow:~# rm -R /home/vboxAfter removing that directory, VBox installed correctly and all it's 100% functional.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!